Compare commits
2 Commits
9498944f53
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd5da12b96 | ||
|
|
5b437caa4e |
@@ -4,10 +4,6 @@
|
||||
"title": "Vojtěch Káně",
|
||||
"theme": "hermit",
|
||||
|
||||
"author": {
|
||||
"name": "Vojtěch Káně"
|
||||
},
|
||||
|
||||
"markup": {
|
||||
"goldmark": {
|
||||
"renderer": {
|
||||
@@ -38,7 +34,10 @@
|
||||
"name": "email",
|
||||
"url": "mailto:vojtech@vkane.cz"
|
||||
}
|
||||
]
|
||||
],
|
||||
"author": {
|
||||
"name": "Vojtěch Káně"
|
||||
}
|
||||
},
|
||||
|
||||
"enableRobotsTXT": true
|
||||
|
||||
@@ -3,10 +3,10 @@ menu: main
|
||||
title: Blogroll
|
||||
weight: 5
|
||||
outputs: [ "HTML" ]
|
||||
_build:
|
||||
build:
|
||||
render: true
|
||||
cascade:
|
||||
_build:
|
||||
build:
|
||||
render: false
|
||||
list: true
|
||||
---
|
||||
|
||||
@@ -5,3 +5,5 @@ weight: 3
|
||||
---
|
||||
|
||||
No matter whether it is a blog post comment, a question, or possibly a job offer :), I am looking forward to hearing from you. Just write me an email at [vojta001@vkane.cz](mailto:vojta001@vkane.cz), or contact me on Matrix [@vojta001:vkane.cz](https://matrix.to/#/@vojta001:vkane.cz).
|
||||
|
||||
If you're into social networks, you can also follow me on the Fediverse (the protocol behind not only [Mastodon](https://joinmastodon.org)) as [@vojta001@vkane.cz](https://gts.vkane.cz/@vojta001).
|
||||
|
||||
@@ -3,10 +3,10 @@ menu: main
|
||||
title: Donating challenge
|
||||
weight: 4
|
||||
outputs: [ "HTML" ]
|
||||
_build:
|
||||
build:
|
||||
render: true
|
||||
cascade:
|
||||
_build:
|
||||
build:
|
||||
render: false
|
||||
list: true
|
||||
---
|
||||
|
||||
@@ -3,10 +3,10 @@ menu: main
|
||||
title: My work
|
||||
weight: 3
|
||||
outputs: [ "HTML" ]
|
||||
_build:
|
||||
build:
|
||||
render: true
|
||||
cascade:
|
||||
_build:
|
||||
build:
|
||||
render: false
|
||||
list: true
|
||||
---
|
||||
|
||||
6
flake.lock
generated
6
flake.lock
generated
@@ -2,11 +2,11 @@
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1662096612,
|
||||
"narHash": "sha256-R+Q8l5JuyJryRPdiIaYpO5O3A55rT+/pItBrKcy7LM4=",
|
||||
"lastModified": 1769598131,
|
||||
"narHash": "sha256-e7VO/kGLgRMbWtpBqdWl0uFg8Y2XWFMdz0uUJvlML8o=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "21de2b973f9fee595a7a1ac4693efff791245c34",
|
||||
"rev": "fa83fd837f3098e3e678e6cf017b2b36102c7211",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -87,12 +87,6 @@ In Hugo, layouts can live in either the project’s (root) or the themes’ layo
|
||||
##### Customize social icons
|
||||
You can modify or add any svg icons in site's `layouts/partials/svg.html`.
|
||||
|
||||
##### Customize comment system
|
||||
We only have built-in support for Disqus at the moment, if that doesn't fit your needs, you can just add html to site's `layouts/partials/comments.html`.
|
||||
|
||||
##### Add custom analytics
|
||||
If you prefer to use different analytics system other than google analytics, then add them inside `layouts/partials/analytics.html`.
|
||||
|
||||
#### Customize CSS
|
||||
|
||||
If you'd like to customize theme color or fonts, you can simply override `assets/scss/_predefined.scss`, by simply copy it to site's root (keep the same relative path) then edit those variables. But keep in mind, you'll need **Hugo extended version** which has the ability to rebuild SCSS. You don't have to use extended version in production but in this case it's necessary to make sure the `resources` folder is committed and "up to date" (by running `hugo` or `hugo server` locally using the extended version). But anyway, always use the extended version if you can.
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
comments: false
|
||||
images:
|
||||
---
|
||||
|
||||
|
||||
@@ -10,8 +10,6 @@ pygmentsUseClasses = true
|
||||
rssLimit = 10 # Maximum number of items in the RSS feed.
|
||||
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template.
|
||||
enableEmoji = true # Shorthand emojis in content files - https://gohugo.io/functions/emojify/
|
||||
# googleAnalytics = "UA-123-45"
|
||||
# disqusShortname = "yourdiscussshortname"
|
||||
|
||||
[author]
|
||||
name = "John Doe"
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
<script src="{{ $script.Permalink }}" {{ printf "integrity=%q" $script.Data.Integrity | safeHTMLAttr }} crossorigin="anonymous"></script>
|
||||
{{ end }}
|
||||
|
||||
{{- partial "analytics.html" . }}
|
||||
{{- if templates.Exists "partials/extra-foot.html" -}}
|
||||
{{ partial "extra-foot.html" . }}
|
||||
{{- end }}
|
||||
|
||||
@@ -21,11 +21,6 @@
|
||||
<div class="content">
|
||||
{{ .Content | replaceRE "(<h[1-6] id=\"([^\"]+)\".+)(</h[1-6]+>)" `${1}<a href="#${2}" class="anchor" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 7h3a5 5 0 0 1 5 5 5 5 0 0 1-5 5h-3m-6 0H6a5 5 0 0 1-5-5 5 5 0 0 1 5-5h3"></path><line x1="8" y1="12" x2="16" y2="12"></line></svg></a>${3}` | safeHTML }}
|
||||
</div>
|
||||
{{- if .Params.comments }}
|
||||
<div id="comments" class="thin">
|
||||
{{ partial "comments.html" . }}
|
||||
</div>
|
||||
{{- end }}
|
||||
</main>
|
||||
{{ end }}
|
||||
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
</div>
|
||||
<div id="home-footer">
|
||||
<p>
|
||||
© {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>{{ .Site.Params.footerCopyright | safeHTML }}
|
||||
{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }} · <a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a>{{ end }}
|
||||
© {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Params.Author.name }}</a>{{ .Site.Params.footerCopyright | safeHTML }}
|
||||
· <a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
@@ -1,3 +0,0 @@
|
||||
{{- if .Site.DisqusShortname }}
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{- end }}
|
||||
@@ -1,7 +1,7 @@
|
||||
<footer id="site-footer" class="section-inner thin animated fadeIn faster">
|
||||
<p>© {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>{{ .Site.Params.footerCopyright | safeHTML }}</p>
|
||||
<p>© {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Params.Author.name }}</a>{{ .Site.Params.footerCopyright | safeHTML }}</p>
|
||||
<p>
|
||||
Made with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> · Theme <a href="https://github.com/Track3/hermit" target="_blank" rel="noopener">Hermit</a>
|
||||
{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }} · <a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a>{{ end }}
|
||||
· <a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-rss"><path d="M4 11a9 9 0 0 1 9 9"></path><path d="M4 4a16 16 0 0 1 16 16"></path><circle cx="5" cy="19" r="1"></circle></svg></a>
|
||||
</p>
|
||||
</footer>
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
||||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
||||
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||
<language>{{.}}</language>{{end}}{{ with .Site.Params.Author.email }}
|
||||
<managingEditor>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Params.Author.email }}
|
||||
<webMaster>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</webMaster>{{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 }}
|
||||
{{ with .OutputFormats.Get "RSS" -}}
|
||||
@@ -17,7 +17,7 @@
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
{{ with .Site.Params.Author.email }}<author>{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>{{ .Summary | html }}</description>
|
||||
<content type="html">{{ printf `<![CDATA[%s]]>` .Content | safeHTML }}</content>
|
||||
|
||||
@@ -66,9 +66,6 @@
|
||||
</a>
|
||||
{{- end }}
|
||||
</div>
|
||||
<div id="comments" class="thin">
|
||||
{{- partial "comments.html" . -}}
|
||||
</div>
|
||||
</main>
|
||||
{{ end }}
|
||||
|
||||
|
||||
@@ -8,8 +8,6 @@ features = [
|
||||
"single column",
|
||||
"featured image",
|
||||
"social icons",
|
||||
"google analytics",
|
||||
"disqus"
|
||||
]
|
||||
min_version = 0.43
|
||||
|
||||
|
||||
Reference in New Issue
Block a user