Themes: various changes

Changes:
 - Move header to its own template
 - Add neat CC icons
beep
Jae Lo Presti 2 months ago
parent e56dcded1a
commit e85e2d0c55
Signed by: jae
SSH Key Fingerprint: SHA256:hmKix/+XG+9GEGHgDdiqXfmB2O7BU4CPVOoQoIYIQ2Y
  1. 11
      themes/maintheme/layouts/_default/baseof.html
  2. 11
      themes/maintheme/layouts/_default/list.html
  3. 11
      themes/maintheme/layouts/_default/single.html
  4. 11
      themes/maintheme/layouts/blog/list.html
  5. 11
      themes/maintheme/layouts/index.html
  6. 10
      themes/maintheme/layouts/partials/header.html
  7. 2
      themes/maintheme/layouts/partials/navigation.html

@ -23,16 +23,7 @@
<body id="body">
<div class="page">
<div class="header">
<a href="/">
<h1>
<span class="title">{{ .Site.Title }}</span><br/>
<span class="subtitle">Random Beeps'n Boops</span>
</h1>
</a>
<!-- TEMPORARY -->
<img src="/logo.svg" alt="Logo" />
</div>
{{ partial "header.html" . }}
<div class="cpage">
<div class="mainPage">
{{ .Content }}

@ -24,16 +24,7 @@
<body id="body">
<div class="page">
<div class="header">
<a href="/">
<h1>
<span class="title">{{ .Site.Title }}</span><br/>
<span class="subtitle">Random Beeps'n Boops</span>
</h1>
</a>
<!-- TEMPORARY -->
<img src="/logo.svg" alt="Logo" />
</div>
{{ partial "header.html" . }}
<div class="cpage">
<div class="mainPage">
{{ .Content }}

@ -25,16 +25,7 @@
<body id="body">
<div class="page">
<div class="header">
<a href="/">
<h1>
<span class="title">{{ .Site.Title }}</span><br/>
<span class="subtitle">Random Beeps'n Boops</span>
</h1>
</a>
<!-- TEMPORARY -->
<img src="/logo.svg" alt="Logo" />
</div>
{{ partial "header.html" . }}
<div class="cpage">
<div class="mainPage">
<small>Estimated reading time: {{ math.Round (div (countwords .Content) 220.0) }} minute(s)</small>

@ -24,16 +24,7 @@
<body id="body">
<div class="page">
<div class="header">
<a href="/">
<h1>
<span class="title">{{ .Site.Title }}</span><br/>
<span class="subtitle">Random Beeps'n Boops</span>
</h1>
</a>
<!-- TEMPORARY -->
<img src="/logo.svg" alt="Logo" />
</div>
{{ partial "header.html" . }}
<div class="cpage">
<div class="mainPage">
{{ .Content }}

@ -24,16 +24,7 @@
<body id="body">
<div class="page">
<div class="header">
<a href="/">
<h1>
<span class="title">{{ .Site.Title }}</span><br/>
<span class="subtitle">Random Beeps'n Boops</span>
</h1>
</a>
<!-- TEMPORARY -->
<img src="/logo.svg" alt="Logo" />
</div>
{{ partial "header.html" . }}
<div class="cpage">
<div class="mainPage">
{{ .Content }}

@ -0,0 +1,10 @@
<div class="header">
<a href="/">
<h1>
<span class="title">{{ .Site.Title }}</span><br/>
<span class="subtitle">Random Beeps'n Boops</span>
</h1>
</a>
<!-- TEMPORARY -->
<img src="/logo.svg" alt="Logo" />
</div>

@ -29,7 +29,7 @@
<img class="bn" src="/img/gif/bestviewed16bit.gif" alt="Best viewed 1024x768 16Bits color">
<img class="bn" src="/img/gif/bunbrowser.gif" alt="Picture of a bunny with written 'bunny browser'">
<br/>
<p>CC-BY SA 4.0 Jae Lo Presti; Robot on the internet since 2012; This website is <a href="https://git.jae.fi/jae/staticweb">Open-Source</a> and under the MIT license</p>
<p>CC-BY SA 4.0 Jae Lo Presti 🅯🄎; Robot on the internet since 2012; This website is <a href="https://git.jae.fi/jae/staticweb">Open-Source</a> and under the MIT license.</p>
<hr>
<small id="dotsies">Dotsies?</small>
<script type="text/javascript">