diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..fb96319 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,66 @@ +{{ partial "head.html" . }} +{{ partial "header.html" . }} + +{{ $baseurl := .Site.BaseURL }} +{{ $categories := .Params.categories }} +{{ $tags := .Params.tags }} + +
+
+
+
+
+

{{ .Title }}

+ + {{ with $categories }} + Posted in + {{ range $categories }} + {{ . }} + {{ end }} + {{ end }} + + {{ with $tags }} + with tags + {{ range $tags }} + {{ . }} + {{ end }} + {{ end }} + + {{ if or $categories $tags }} - {{ end }} + +
+
+ {{ .Content }} +
+
+
+
+ + {{ partial "author.html" .}} + {{ partial "media.html" .}} +
+
+
+ {{with .Prev}} + Older article
+ {{.Title}} + {{else}} +   + {{end}} +
+
+
+
+ {{with .Next}} + Later article
+ {{.Title}} + {{else}} +   + {{end}} +
+
+
+
+ +{{ partial "footer.html" . }} +{{ partial "tail.html" . }} diff --git a/layouts/partials/media.html b/layouts/partials/media.html new file mode 100644 index 0000000..7283487 --- /dev/null +++ b/layouts/partials/media.html @@ -0,0 +1,4 @@ +
+ rss + github +
diff --git a/static/img/GitHub-Mark-32px.png b/static/img/GitHub-Mark-32px.png new file mode 100644 index 0000000..8b25551 Binary files /dev/null and b/static/img/GitHub-Mark-32px.png differ diff --git a/static/img/rss-icon.jpg b/static/img/rss-icon.jpg new file mode 100644 index 0000000..037600b Binary files /dev/null and b/static/img/rss-icon.jpg differ