From 726ca45683974e991c3c2d172039716be8cb0d4c Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Sun, 11 Aug 2024 10:00:56 -0500 Subject: changes to copyright and style. open links in new tab if theyre to another site --- layouts/_default/_markup/render-link.html | 2 +- layouts/_default/baseof.html | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'layouts/_default') diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index f04b2e3..69a1c1a 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1 +1 @@ -{{ .Text | safeHTML }} +{{ .Text | safeHTML }} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e5b0ed0..d91f60f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,6 +4,8 @@ {{ $title := print .Title " - " .Site.Title }} {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} {{ $title | title }} + + {{- block "head" . }}{{- end }} @@ -13,7 +15,7 @@ {{ .Site.Title }} {{ .Title }} @@ -26,7 +28,10 @@
- © Tim Keller 2024 + {{ if .Site.Params.copyright.include }} + © {{ time.Now.Year }} {{ .Site.Params.copyright.name }} – {{ .Site.Params.copyright.type }} + {{ end }} + {{ partial "theme-copyright.html" . }} -- cgit v1.2.3