diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e4e9f87..29c4603 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -52,7 +52,7 @@
  • Mastodon
  • Forum
  • Chat
  • -
  • Onion Website
  • +
  • Onion Website
  • diff --git a/themes/hugo-bootstrap/layouts/_default/baseof.html b/themes/hugo-bootstrap/layouts/_default/baseof.html index 55eaf8f..dc79352 100644 --- a/themes/hugo-bootstrap/layouts/_default/baseof.html +++ b/themes/hugo-bootstrap/layouts/_default/baseof.html @@ -17,8 +17,10 @@ - {{ if .RSSLink }} - + {{ $site_title := .Site.Title }} + {{ with .OutputFormats.Get "RSS" }} + + {{ end }} {{ partial "head-custom.html" . }} diff --git a/themes/hugo-bootstrap/layouts/partials/announcements.html b/themes/hugo-bootstrap/layouts/partials/announcements.html index 0c71214..b844148 100644 --- a/themes/hugo-bootstrap/layouts/partials/announcements.html +++ b/themes/hugo-bootstrap/layouts/partials/announcements.html @@ -1,12 +1,12 @@ -{{ $events := where .Pages "Section" "events" }} +{{ $events := where .Site.RegularPages "Section" "events" }} {{ $future_events := $events | intersect (where $events "Date" ">=" now) }} -{{ $next_event := first 1 $future_events.ByDate }} +{{ $next_event := $future_events | first 1 }} -{{ $posts := where .Pages "Section" "post" }} +{{ $posts := where .Site.RegularPages "Section" "post" }} {{ $last_post := last 1 $posts.ByDate }}
    + {{ .Name }} {{ else }}