From aa449203a4da02b9ff9b92f2a0e44ba9b62a3218 Mon Sep 17 00:00:00 2001 From: Thomas Schwery Date: Tue, 21 Jan 2020 20:46:25 +0100 Subject: [PATCH 1/2] Minor improvements to the page and other layouts --- articles/about.md | 2 +- config.toml | 2 ++ themes/hugo-tschwery/layouts/_default/single.html | 7 ++++--- themes/hugo-tschwery/layouts/other/single.html | 14 ++++++++++++++ 4 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 themes/hugo-tschwery/layouts/other/single.html diff --git a/articles/about.md b/articles/about.md index a8f355e..755cb8a 100644 --- a/articles/about.md +++ b/articles/about.md @@ -1,7 +1,7 @@ --- title: About me hidefromhome: true -type: page +type: other --- I am Thomas, a software engineer. I love new challenges and learning diff --git a/config.toml b/config.toml index 7abe650..1a60df8 100644 --- a/config.toml +++ b/config.toml @@ -15,6 +15,8 @@ copyright = "Thomas Schwery, No rights reserved (CC0)." pygmentsCodeFences = true pygmentsCodeFencesGuessSyntax = true +disableKinds = ["taxonomy","taxonomyTerm"] + [params] logo = "/images/logo.png" subtitle = "A Glog ... Plog ... Blog ..." diff --git a/themes/hugo-tschwery/layouts/_default/single.html b/themes/hugo-tschwery/layouts/_default/single.html index 3ee24e5..4fa60a0 100644 --- a/themes/hugo-tschwery/layouts/_default/single.html +++ b/themes/hugo-tschwery/layouts/_default/single.html @@ -3,9 +3,10 @@

{{ .Title }}

- {{ if ne .Type "page"}} - {{ .Date }} - {{ end }} +
{{ .Content }}
diff --git a/themes/hugo-tschwery/layouts/other/single.html b/themes/hugo-tschwery/layouts/other/single.html new file mode 100644 index 0000000..1b0c63e --- /dev/null +++ b/themes/hugo-tschwery/layouts/other/single.html @@ -0,0 +1,14 @@ +{{ partial "header.html" . }} + +
+
+

{{ .Title }}

+ +
+ {{ .Content }} +
+
+
+ +{{ partial "footer.html" . }} From 752eb901ffd448d9519529ea50002fa955e6a04a Mon Sep 17 00:00:00 2001 From: Thomas Schwery Date: Tue, 21 Jan 2020 21:50:29 +0100 Subject: [PATCH 2/2] Add a simple favicon --- static/favicon.ico | Bin 0 -> 1150 bytes .../hugo-tschwery/layouts/partials/header.html | 3 +++ 2 files changed, 3 insertions(+) create mode 100644 static/favicon.ico diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..60b2e0c94ef4575f75db1724e6ec673c2b6d1727 GIT binary patch literal 1150 zcmcJPYe-XJ7{^~jF$ijxb9Qs;ylhSrjVV(o1fx(vAtEXy@Pn2yMwbr}iKwxm#j?`8 z)hOK7f;p9n3Mn;Wl_eNbAFOZLMJ|~Hw1G0d`?R0XQ@xb z2fReiQ+5fdT#DaOMJREqv;;1<3l66P%`OL=E+=X()gmr2fo4i5&n+Sji-B0JC3M)N ziiR;G6GOwpSozG&&B0Q61|rId!}UZwk$~|0CPW;#ipT;dbVY6$kGS!m|J}-V!4Hm% zV&~~6h%$F0+WZhvrf!@(djTc3I+Rv7qP4RJ_n*H)b4x2GCdSvC(K|2%tNj)#8oVg0 zZ-Kk0yTgjU$8Br&Pfh*A9ZxNMoo%?+)(Crf27I?|xLlf! z;kW%l&+EPp*ekN|`NP1f8Iu!V;i=h=E^j&7n~G4F$xysw9S&`0aM%hlJ2Q>xsYzU` z%7^=6F=l6Hmd)_py@I2;Au#6z!IT|@tfWw6Cx;>@IRtyQO3>@;5b|$cK80y_5?=Il zE%uLm9E5qV0eOaCyR4r-DMwkkAVeH$e(9>|P0>=*S!}#|x!Pi$? zk*1R(Esi6kFw$Nd!9y3xBW|9=SS2jwCGdJ~;JmF8>05NDvXsHzREKS;o1v#%yhaYa zMkWv$#zR0&D!`Espds&PnGcsivw&KLFcr59wTj0o=nkRg*A*xf92CkWl(hdl{9m3)3+p + + + {{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}