From 1a20f5e6d70908a2f41f1c6d331361c68024b062 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Tue, 17 May 2016 21:24:37 +0100 Subject: [PATCH] 1) Add style for tables; 2) Add LinkedIn sharing; 3) Refactor footer container. --- layouts/404.html | 2 +- layouts/_default/list.html | 2 +- layouts/_default/single.html | 4 +- layouts/index.html | 5 +- layouts/partials/article_metadata.html | 2 - layouts/partials/footer_container.html | 2 +- layouts/partials/share.html | 44 ++++--- layouts/project/single.html | 3 +- layouts/publication/single.html | 3 +- layouts/section/post.html | 2 +- layouts/section/publication.html | 2 +- static/css/hugo-academic.css | 158 ++++++++++++++++++------- 12 files changed, 155 insertions(+), 74 deletions(-) diff --git a/layouts/404.html b/layouts/404.html index 3cf31f7b..0332ae20 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -19,6 +19,6 @@ {{ end }} - {{ partial "footer_container.html" . }} +{{ partial "footer_container.html" . }} {{ partial "footer.html" . }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 534c9b5c..e67880ae 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -12,6 +12,6 @@ {{ partial "pagination" . }} - {{ partial "footer_container.html" . }} +{{ partial "footer_container.html" . }} {{ partial "footer.html" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 111b551c..7ff1e1a2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -15,6 +15,6 @@ {{ partial "section_pager.html" . }} {{ partial "comments.html" . }} - {{ partial "footer_container.html" . }} - + +{{ partial "footer_container.html" . }} {{ partial "footer.html" . }} diff --git a/layouts/index.html b/layouts/index.html index 28861851..3cd39020 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -95,6 +95,7 @@ {{ .Title }} {{ if .Content }}{{ else }}{{ with .Params.external_link }}{{ end }}{{ end }} + {{ with .Params.summary }}

{{ . }}

{{ end }} {{ end }} @@ -141,8 +142,6 @@ -
- {{ partial "footer_container.html" . }} -
+{{ partial "footer_container.html" . }} {{ partial "footer.html" . }} diff --git a/layouts/partials/article_metadata.html b/layouts/partials/article_metadata.html index d26edaf1..3ca99349 100644 --- a/layouts/partials/article_metadata.html +++ b/layouts/partials/article_metadata.html @@ -19,9 +19,7 @@ {{ end }} {{ if ne $is_list 1 }} -
{{ partial "share.html" . }} -
{{ end }} diff --git a/layouts/partials/footer_container.html b/layouts/partials/footer_container.html index ffca074f..bc772d5d 100644 --- a/layouts/partials/footer_container.html +++ b/layouts/partials/footer_container.html @@ -1,5 +1,5 @@