Bring files from personal blog

This commit is contained in:
C. Lente 2023-02-01 15:06:05 -03:00
parent 76ca2f889f
commit 3ec9550325
No known key found for this signature in database
GPG key ID: B0B503C26E05781B
21 changed files with 321 additions and 333 deletions

View file

@ -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 }}

View file

@ -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>

View file

@ -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 }}

View file

@ -126,6 +126,10 @@
color: #8b6fcb;
}
h3.blog-filter {
margin-bottom: 0;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #333;