From: Alekos Filini Date: Sat, 5 Jun 2021 19:21:26 +0000 (+0200) Subject: Add baseURL back, fix templates to use relative URLs X-Git-Url: http://internal-gitweb-vhost/?a=commitdiff_plain;h=8759247e32bcc28c7e4cd7fbd35d33ec1ea5518e;p=afilini.com Add baseURL back, fix templates to use relative URLs --- diff --git a/config.toml b/config.toml index 5ad7365..83e4716 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = "" +baseURL = "https://afilini.com" # The name of this wonderful theme ;-). theme = 'hugo-bearblog' diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..c381481 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,38 @@ +{{ define "main" }} + + {{ if .Data.Singular }} +

Filtering for "{{ .Title }}"

+ + Remove filter + + {{ end }} + + {{ if .Data.Singular }} + {{else}} + +
+ {{ range .Site.Taxonomies.tags }} + #{{ .Page.Title }}  + {{ end }} +
+
+ {{ end }} +
+{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..fa5e909 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,20 @@ +{{ define "main" }} +{{ if eq .Type "blog" }}{{ if not .Params.menu }} +

{{ .Title }}

+

+ + + +

+{{ end }}{{ end }} + + {{ .Content }} + +

+ {{ range (.GetTerms "tags") }} + #{{ .LinkTitle }} + {{ end }} +

+{{ end }}