Bring files from personal blog
This commit is contained in:
parent
76ca2f889f
commit
3ec9550325
21 changed files with 321 additions and 333 deletions
|
@ -1 +1,5 @@
|
|||
{{ if ne .Site.Params.hideMadeWithLine true }}Made with <a href="https://github.com/janraasch/hugo-bearblog/">Hugo ʕ•ᴥ•ʔ Bear</a>{{ end }}
|
||||
{{ if ne .Site.Params.hideMadeWithLine true }}
|
||||
<small>
|
||||
{{ .Site.Copyright }} | <a href="{{ i18n "stone-link" }}">{{ i18n "stone" }}</a>
|
||||
</small>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<a href="{{ "/" | relURL }}" class="title">
|
||||
<a href="{{ i18n "home" | relURL }}" class="title">
|
||||
<h2>{{ .Site.Title }}</h2>
|
||||
</a>
|
||||
<nav>{{- partial "nav.html" . -}}</nav>
|
||||
|
|
|
@ -1,7 +1,15 @@
|
|||
<a href="{{ "/" | relURL }}">Home</a>
|
||||
{{ range .Site.Menus.main }}
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
{{ with .Site.GetPage "/blog" }}
|
||||
<a href="{{ "/blog" | relURL }}">Blog</a>
|
||||
<a href={{ i18n "home" | relURL }}>Home</a>
|
||||
<a href={{ i18n "posts" }}>Blog</a>
|
||||
<a href="mailto:c@lente.dev?subject={{ i18n "reply" }}'{{ .Page.Title | default .Site.Title }}'">Email</a>
|
||||
<a href="/index.xml">RSS</a>
|
||||
|
||||
{{ $pageLang := .Page.Lang }}
|
||||
{{ if .IsTranslated }}
|
||||
{{ range .Translations }}
|
||||
{{ if ne $pageLang .Lang }}
|
||||
<a href="{{ .Permalink }}">{{ i18n "other-lang" }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<a class="disabled" href="">{{ i18n "other-lang" }}</a>
|
||||
{{ end }}
|
||||
|
|
|
@ -126,6 +126,10 @@
|
|||
color: #8b6fcb;
|
||||
}
|
||||
|
||||
h3.blog-filter {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background-color: #333;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue