From f0cd329901009d3b69f7e4b7815f3023427a2543 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Mon, 27 Sep 2021 14:16:52 -0500 Subject: [PATCH] Update the internals of the styling a little Fixes #4 --- layouts/_default/baseof.html | 2 +- layouts/_default/list.html | 5 +++-- layouts/_default/single.html | 23 +++++++++++++++++++---- layouts/partials/navbar.html | 4 ++-- static/css/bobatheme.css | 12 ++++++------ 5 files changed, 31 insertions(+), 15 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index d9032bb..f5743bd 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,7 +6,7 @@ {{- partial "header.html" . -}} {{ partial "navbar.html" . }} -
+
{{ if and (ne .Params.Toc false) .IsPage }}

Table of Contents

diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6ef258c..ddd2755 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -27,11 +27,12 @@ {{ else }} Site-wide tags: -
+ +
{{ range .Site.Taxonomies.tags }} #{{ .Page.Title }}  {{ end }} -
+
{{ end }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 659dd0f..b2ad7e1 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,12 +1,27 @@ {{ define "main" }}

{{ .Title | markdownify }}

+ {{ if .Date }} -