mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 675c1ab0f2 | |||
| aa57505c94 | |||
| b4cce7043f |
@@ -3,7 +3,7 @@
|
|||||||
# https://nunocoracao.github.io/blowfish/docs/getting-started/
|
# https://nunocoracao.github.io/blowfish/docs/getting-started/
|
||||||
|
|
||||||
theme = "blowfish"
|
theme = "blowfish"
|
||||||
baseURL = "https://nunocoracao.github.io/blowfish/"
|
baseURL = "https://nunocoracao.github.io/blowfish"
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
|
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
<div class="min-w-0 min-h-0 max-w-prose">
|
<div class="min-w-0 min-h-0 max-w-prose">
|
||||||
{{ partial "series.html" . }}
|
{{ partial "series.html" . }}
|
||||||
{{ .Content | emojify }}
|
{{ .Content | emojify }}
|
||||||
</br></br></br>
|
</br></br>
|
||||||
{{ partial "series-closed.html" . }}
|
{{ partial "series-closed.html" . }}
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
@@ -168,6 +168,11 @@
|
|||||||
{{ $authorsData := .Site.Data.authors }}
|
{{ $authorsData := .Site.Data.authors }}
|
||||||
{{ $taxonomies := .Site.Taxonomies.authors }}
|
{{ $taxonomies := .Site.Taxonomies.authors }}
|
||||||
{{ $baseURL := .Site.BaseURL }}
|
{{ $baseURL := .Site.BaseURL }}
|
||||||
|
|
||||||
|
{{ if not (strings.HasSuffix $baseURL "/") }}
|
||||||
|
{{ $baseURL = delimit (slice $baseURL "/") "" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ range $author := .Page.Params.authors }}
|
{{ range $author := .Page.Params.authors }}
|
||||||
{{ $authorData := index $authorsData $author }}
|
{{ $authorData := index $authorsData $author }}
|
||||||
{{- if $authorData -}}
|
{{- if $authorData -}}
|
||||||
@@ -175,7 +180,7 @@
|
|||||||
{{ $taxonomyLink := 0 }}
|
{{ $taxonomyLink := 0 }}
|
||||||
{{ range $taxonomyname, $taxonomy := $taxonomies }}
|
{{ range $taxonomyname, $taxonomy := $taxonomies }}
|
||||||
{{ if (eq $taxonomyname $author) }}
|
{{ if (eq $taxonomyname $author) }}
|
||||||
{{ $taxonomyLink = delimit (slice $baseURL "authors/" $author) "" }}
|
{{ $taxonomyLink = delimit (slice $baseURL "/authors/" $author) "" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hugo-blowfish-theme",
|
"name": "hugo-blowfish-theme",
|
||||||
"version": "2.6.0",
|
"version": "2.6.1",
|
||||||
"description": "Blowfish theme for Hugo",
|
"description": "Blowfish theme for Hugo",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinstall": "rimraf assets/vendor",
|
"preinstall": "rimraf assets/vendor",
|
||||||
|
|||||||
Reference in New Issue
Block a user