From aa32c9e227371e1116e1972bb19ee4ca4b97413e Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Fri, 26 Jun 2020 08:25:22 +0200 Subject: [PATCH] minor fixes; serve jquery and font-awesome from local directory --- layouts/_default/baseof.html | 17 +++++++++++------ layouts/_default/list.html | 2 +- layouts/partials/footer.html | 2 +- layouts/partials/sidebar.html | 2 +- layouts/taxonomy/list.html | 2 +- static/css/font-awesome.min.css | 4 ++++ static/js/jquery.min.js | 2 ++ 7 files changed, 21 insertions(+), 10 deletions(-) create mode 100644 static/css/font-awesome.min.css create mode 100644 static/js/jquery.min.js diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index abb4be8..bfa98c7 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,7 +1,7 @@ - + @@ -13,10 +13,14 @@ {{ $main := resources.Get "sass/main.scss" | toCSS | minify }} - - + + - + {{ block "config" . }} {{ end }} + + + + {{ partial "header.html" . }} @@ -28,8 +32,9 @@ {{ partial "footer.html" . }} - + + - + diff --git a/layouts/_default/list.html b/layouts/_default/list.html index ca50994..65a86e7 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -6,7 +6,7 @@
-

{{ .Title }}

+

{{ .Title }}

{{ .Content }}

diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 7fd51aa..da2d8bc 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -19,7 +19,7 @@
    {{with .Site.Params.github }} + {{ end }} {{with .Site.Params.sourcehut }}