Merge branch 'main' of ssh://git.hadan-it.com:222/stiebke/hugo-internet-weblog
This commit is contained in:
commit
73b2cf285e
8 changed files with 34 additions and 16 deletions
|
@ -1,2 +1,2 @@
|
|||
Here you can place a short bio about yourself. Place a `bio.html` file in your
|
||||
project directory under `layout/partials`. That will override this message.
|
||||
project directory under `layouts/partials`. That will override this message.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<footer>
|
||||
<div class="footer_text">
|
||||
<div>
|
||||
<h3>Hi, <a href="{{ .Site.Params.Author.aboutpage }}">ich bin {{ .Site.Params.Author.firstname }}</a></h3>
|
||||
<h3>Hi, <a href="{{.Site.BaseURL}}{{ .Site.Params.Author.aboutpage }}">ich bin {{ .Site.Params.Author.firstname }}!</a></h3>
|
||||
<p>
|
||||
{{ partial "bio.html" . }}
|
||||
</p>
|
||||
|
@ -18,7 +18,7 @@
|
|||
{{ if .Site.Params.showcopyright }}
|
||||
<div class="footer_copyright">
|
||||
© {{ now.Format "2006" }} <a href="{{ .Site.Params.Author.aboutpage }}">{{ .Site.Params.Author.firstname }} {{ .Site.Params.Author.lastname }}</a>
|
||||
{{ with .Site.Params.Author.location }} - Made in {{ . }}{{ end }} | <a href="{{ .Site.Params.statuspage }}" target="_blank">{{ .Site.Params.statuspagename }}</a>
|
||||
{{ with .Site.Params.Author.location }} - Made in {{ . }}{{ end }} {{ if .Site.Params.statuspageenabled }}| <a href="{{ .Site.Params.statuspage }}" target="_blank">{{ .Site.Params.statuspagename }}</a>{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</footer>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<header>
|
||||
<nav>
|
||||
<h1><a href="/">@{{ .Site.Params.Author.handle }}</a> {{ .Site.Title }}.</h1>
|
||||
<h1><a href="{{.Site.BaseURL}}">@{{ .Site.Params.Author.handle }}</a> {{ .Site.Title }}.</h1>
|
||||
<div class="menu">
|
||||
{{ if isset .Site.Params "rsssections" }}
|
||||
{{ $.Scratch.Add "sections" .Site.Params.rsssections }}
|
||||
|
@ -13,7 +13,7 @@
|
|||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.Author.aboutpage }}<li><a href="{{ . }}">Über</a></li>{{ end }}
|
||||
<li><a href="{{.Site.BaseURL}}{{ with .Site.Params.Author.aboutpage }}{{ . }}{{ end }}">Über</a></li>
|
||||
</ul>
|
||||
{{ else }}
|
||||
<ul>
|
||||
|
@ -22,7 +22,7 @@
|
|||
<a href="{{.URL}}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.Author.aboutpage }}<li><a href="{{ . }}">Über</a></li>{{ end }}
|
||||
<li><a href="{{.Site.BaseURL}}{{ with .Site.Params.Author.aboutpage }}{{ . }}{{ end }}">Über</a></li>
|
||||
</ul>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script type="text/javascript" src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha384-1H217gwSVyLSIfaLxHbE7dRb3v4mYCKbpQvzx0cegeju1MVsGrX5xXxAvs/HgeFs" crossorigin="anonymous"></script>></script>
|
||||
<script type="text/javascript" src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha384-1H217gwSVyLSIfaLxHbE7dRb3v4mYCKbpQvzx0cegeju1MVsGrX5xXxAvs/HgeFs" crossorigin="anonymous"></script></script>
|
||||
<script type="text/javascript" src="{{.Site.BaseURL}}lightbox2-2.11.4/js/lightbox.min.js" charset="utf-8" integrity="sha384-jN3Qe7xtdnQxdyZWXD9gn2Z4oRyiFuU03xQATriSicCq2SKDikN9UEJMCx+9nsJM" crossorigin="anonymous"></script>
|
||||
<script src="{{.Site.BaseURL}}js/weblog.js" charset="utf-8" integrity="sha384-aosjEU4mvKU8ONpJImVqClx3r34rc9fegKgyAKyJ3uizf8YWbLUr4mOw2WWcvO4E" crossorigin="anonymous"></script>
|
||||
{{ partial "custom_javascript.html" . }}
|
||||
|
|
|
@ -20,10 +20,10 @@
|
|||
{{ $.Scratch.Add "title" .Site.Title }}
|
||||
<title>{{ with .Title }}{{ if ne . ($.Scratch.Get "title") }}{{ . }} · {{ end }}{{ end }}@{{ .Site.Params.Author.handle }} {{ .Site.Title }}</title>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ .Site.BaseURL }}apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ .Site.BaseURL }}favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ .Site.BaseURL }}favicon-16x16.png">
|
||||
<link rel="manifest" href="{{ .Site.BaseURL }}site.webmanifest">
|
||||
|
||||
<link rel="stylesheet" href="{{.Site.BaseURL}}css/joshin-color-palette.css" media="screen" charset="utf-8" />
|
||||
<link rel="stylesheet" href="{{.Site.BaseURL}}css/joshin-color-light.css" media="screen" charset="utf-8" />
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>@{{ .Site.Params.Author.handle }} {{ .Site.Title }}{{ with .Title }} - {{ . }}{{ end }}</title>
|
||||
<link>{{ .Site.BaseURL }}{{ .Permalink }}</link>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>All entries {{ with .Title }}in {{.}} {{ end }}on {{ .Site.Title }}</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
{{ with .Site.LanguageCode }}<language>{{.}}</language>{{end}}
|
||||
{{ with .Site.Copyright }}<copyright>{{.}}</copyright>{{end}}
|
||||
{{ if not .Date.IsZero }}<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||
<atom:link href="{{.Permalink}}" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="{{.Permalink}}index.xml" rel="self" type="application/rss+xml" />
|
||||
{{ range .Site.RegularPages }}
|
||||
{{ if ne .Type "page" }}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
<author>{{ with .Site.Params.Author.email }}{{.}} - {{end}}{{ with .Site.Params.Author.firstname }}{{.}}{{ end }} {{ with .Site.Params.Author.lastname }}{{.}}{{end}}</author>
|
||||
<author>{{ with .Site.Params.Author.email }}{{.}} {{end}}{{ with .Site.Params.Author.firstname }}({{.}}{{ end }} {{ with .Site.Params.Author.lastname }}{{.}}){{end}}</author>
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>{{ .Content | html }}</description>
|
||||
</item>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue