Draw the rest of the fucking owl
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
3
layouts/_default/_markup/render-heading.html
Normal file
3
layouts/_default/_markup/render-heading.html
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}</h{{ .Level }}>
|
6
layouts/_default/_markup/render-image.html
Normal file
6
layouts/_default/_markup/render-image.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<img
|
||||
src="{{ .Destination | safeURL }}"
|
||||
alt="{{ .Text }}"
|
||||
{{ with .Title }}title="{{ . }}"{{ end }}
|
||||
class="img-responsive"
|
||||
/>
|
9
layouts/_default/_markup/render-link.html
Normal file
9
layouts/_default/_markup/render-link.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<a
|
||||
href="{{ .Destination | safeURL }}"
|
||||
{{ with .Title }}
|
||||
title="{{ . }}"
|
||||
{{ end }}{{ if strings.HasPrefix .Destination "http" }}
|
||||
target="_blank" rel="noopener"
|
||||
{{ end }}
|
||||
>{{ .Text | safeHTML }}</a
|
||||
>
|
55
layouts/_default/baseof.html
Normal file
55
layouts/_default/baseof.html
Normal file
@@ -0,0 +1,55 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
|
||||
<title>
|
||||
{{ .Site.Title }}{{ $url := urls.Parse .Page.Permalink }}{{ $url.Path }}
|
||||
</title>
|
||||
{{ with .Site.Params.description }}
|
||||
<meta name="description" content="{{ . }}" />
|
||||
{{ end }}
|
||||
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="robots" content="all,follow" />
|
||||
<meta name="googlebot" content="index,follow,snippet,archive" />
|
||||
|
||||
<link rel="stylesheet" href="{{ "css/animate.min.css" | absURL }}" />
|
||||
<link rel="stylesheet" href="{{ "css/terminal.min.css" | absURL }}" />
|
||||
<link rel="stylesheet" href="{{ "css/huell.css" | absURL }}" />
|
||||
|
||||
<script src="{{ "js/masonry.min.js" | absURL }}" async></script>
|
||||
|
||||
{{ `
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
` | safeHTML
|
||||
}}
|
||||
|
||||
{{- partial "favicon.html" . -}}
|
||||
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
{{ printf `
|
||||
<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML
|
||||
}}
|
||||
{{ end }}
|
||||
|
||||
{{- partial "opengraph.html" . -}}
|
||||
{{- partial "twitter.html" . -}}
|
||||
</head>
|
||||
|
||||
<body class="terminal">
|
||||
{{- partial "header.html" . -}}
|
||||
|
||||
|
||||
<div class="container {{ .Site.Params.animateStyle }}">
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
10
layouts/_default/list.html
Normal file
10
layouts/_default/list.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
<br />
|
||||
{{ .Content }}
|
||||
|
||||
|
||||
<div class="posts-list">
|
||||
{{ partial "posts.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
4
layouts/_default/single.html
Normal file
4
layouts/_default/single.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
{{ end }}
|
Reference in New Issue
Block a user