diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6de1eee..5f41ace 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -6,7 +6,7 @@ {{ range .Pages }}

- {{ .Title }} {{ if .GetParam "draft" }}DRAFT{{ end }} + {{ .Title }} {{ if .Param "draft" }}DRAFT{{ end }}

diff --git a/layouts/index.html b/layouts/index.html index 4be8db8..f3bb4ce 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,9 @@ {{ partial "header.html" . }} - {{ range first 10 .Data.Pages }} - {{ if eq .Type "post" }} - {{ .Render "summary" }} - {{ end }} + {{ $pages := .Pages }} + {{ if .IsHome }} + {{ $pages = .Site.RegularPages }} + {{ end }} + {{ range first 10 $pages }} + {{ .Render "summary" }} {{ end }} {{ partial "footer.html" . }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7b065b8..4312b90 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -6,9 +6,9 @@ {{ .Title }} · {{ .Site.Title }} - {{ if .RSSLink }} - - {{ end }} + {{ range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} {{ partial "head.html" . }} diff --git a/static/images/email.svg b/static/images/email.svg deleted file mode 120000 index 2f451a2..0000000 --- a/static/images/email.svg +++ /dev/null @@ -1 +0,0 @@ -../../modules/evil-icons/assets/icons/ei-envelope.svg \ No newline at end of file diff --git a/static/images/email.svg b/static/images/email.svg new file mode 100644 index 0000000..b637246 --- /dev/null +++ b/static/images/email.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/images/facebook.svg b/static/images/facebook.svg deleted file mode 120000 index a641c2d..0000000 --- a/static/images/facebook.svg +++ /dev/null @@ -1 +0,0 @@ -../../modules/evil-icons/assets/icons/ei-sc-facebook.svg \ No newline at end of file diff --git a/static/images/facebook.svg b/static/images/facebook.svg new file mode 100644 index 0000000..f4871dd --- /dev/null +++ b/static/images/facebook.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/images/github.svg b/static/images/github.svg deleted file mode 120000 index 4b9936d..0000000 --- a/static/images/github.svg +++ /dev/null @@ -1 +0,0 @@ -../../modules/evil-icons/assets/icons/ei-sc-github.svg \ No newline at end of file diff --git a/static/images/github.svg b/static/images/github.svg new file mode 100644 index 0000000..570d7d8 --- /dev/null +++ b/static/images/github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/images/linkedin.svg b/static/images/linkedin.svg deleted file mode 120000 index 85e981c..0000000 --- a/static/images/linkedin.svg +++ /dev/null @@ -1 +0,0 @@ -../../modules/evil-icons/assets/icons/ei-sc-linkedin.svg \ No newline at end of file diff --git a/static/images/linkedin.svg b/static/images/linkedin.svg new file mode 100644 index 0000000..08e4a14 --- /dev/null +++ b/static/images/linkedin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/images/twitter.svg b/static/images/twitter.svg deleted file mode 120000 index 9fc3a02..0000000 --- a/static/images/twitter.svg +++ /dev/null @@ -1 +0,0 @@ -../../modules/evil-icons/assets/icons/ei-sc-twitter.svg \ No newline at end of file diff --git a/static/images/twitter.svg b/static/images/twitter.svg new file mode 100644 index 0000000..e2c0696 --- /dev/null +++ b/static/images/twitter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/images/youtube.svg b/static/images/youtube.svg deleted file mode 120000 index 1a89938..0000000 --- a/static/images/youtube.svg +++ /dev/null @@ -1 +0,0 @@ -../../modules/evil-icons/assets/icons/ei-sc-youtube.svg \ No newline at end of file diff --git a/static/images/youtube.svg b/static/images/youtube.svg new file mode 100644 index 0000000..8736908 --- /dev/null +++ b/static/images/youtube.svg @@ -0,0 +1 @@ + \ No newline at end of file