Anotha lil dump

Think I'm finally finished fiddling with the devops stuff and ready to
finally focus on the content! 😁
This commit is contained in:
2022-04-07 23:52:00 +00:00
parent e9a93b064e
commit d21051adde
29 changed files with 1654 additions and 113 deletions

View File

@@ -1,4 +1,4 @@
<ol class="nav navbar-nav">
<ol class='nav navbar-nav'>
{{ template "breadcrumbnav" (dict "p1" . "p2" .) }}
</ol>
{{ define "breadcrumbnav" }}
@@ -7,7 +7,7 @@
{{ else if not .p1.IsHome }}
{{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }}
{{ end }}
<li{{ if eq .p1 .p2 }} class="active"{{ end }}>
<a href="{{ .p1.RelPermalink }}">{{ .p1.Title }}</a>
<li{{ if eq .p1 .p2 }} class='active'{{ end }}>
<a href='{{ .p1.RelPermalink }}'>{{ .p1.Title }}</a>
</li>
{{ end }}

View File

@@ -1,13 +1,11 @@
<center>
<div class='footer-content'>
<p>{{ now.Format "2006" }} &copy; Sivert V. Sæther</p>
</div>
<div class='footer-social'>
<!--
<a href="#" class="icons"><img src="/facebook-icon.svg"></a>
<a href="#" class="icons"><img src="/linkedin-icon.svg"></a>
<a href="#" class="icons"><img src="/twitter-icon.svg"></a>
<a href="#" class="icons"><img src="/youtube-icon.svg"></a>
-->
<p>2020 - {{ now.Format "2006" }} &copy;{{ with .Site.Author }} {{ .name }}{{ end }}</p>
</div>
<!-- <div class='footer-social'>
<a href='#' class='icons'><img src='/facebook-icon.svg'></a>
<a href='#' class='icons'><img src='/linkedin-icon.svg'></a>
<a href='#' class='icons'><img src='/twitter-icon.svg'></a>
<a href='#' class='icons'><img src='/youtube-icon.svg'></a>
</div> -->
</center>

View File

@@ -1,8 +1,8 @@
<nav id="navbar">
<ul class="top-nav">
<li class=""><a href="/{{ .Language.Lang }}">{{ site.Title }}</a></li>
<nav id='navbar'>
<ul class='top-nav'>
<li><a href='/{{ .Language.Lang }}'>{{ site.Title }}</a></li>
{{ partial "i18n/nav.html" . }}
<div class="link-group">
<div class='link-group'>
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
{{ if .HasChildren }}
@@ -25,8 +25,8 @@
</li>
{{ end }}
{{ end }}
<!-- <li class="top-nav__link"><a href="#">
<img class="icons" src="/search-icon.svg">
<!-- <li class='top-nav'><a href='#'>
<img class='icons' src='/search-icon.svg'>
</a>
</li> -->
</div>

View File

@@ -1,8 +1,9 @@
<aside id='meta'>
<header>
<h4>{{ .Title }}</h4>
<h4>{{ or (.Param "tit") .Title }}</h4>
{{ i18n "wordCount" .WordCount }}.
{{ i18n "readingTime" .ReadingTime }}.
</header>
{{ .TableOfContents }}
{{ partial "i18n/list.html" . }}
</aside>