mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-05-11 14:32:57 -05:00
Compare commits
6 Commits
2ca8d0bde4
...
73568b2c43
Author | SHA1 | Date | |
---|---|---|---|
73568b2c43 | |||
45c7ea7484 | |||
a59a87374b | |||
88adfbdf89 | |||
0f717e81c0 | |||
ede5958a46 |
@ -8,7 +8,7 @@ comments: true
|
|||||||
draft: true
|
draft: true
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- {{ with .Site.Author.name }}{{ . }}{{ else }}John Doe{{ end }}
|
- {{ with .Site.Params.author.name }}{{ . }}{{ else }}John Doe{{ end }}
|
||||||
|
|
||||||
categories:
|
categories:
|
||||||
- archetype-stuff
|
- archetype-stuff
|
||||||
|
@ -6,7 +6,7 @@ toc: true
|
|||||||
comments: false
|
comments: false
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- {{ with .Site.Author.name }}{{ . }}{{ else }}John Doe{{ end }}
|
- {{ with .Site.params.author.name }}{{ . }}{{ else }}John Doe{{ end }}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -969,6 +969,7 @@ aside.quote {
|
|||||||
.main-container {
|
.main-container {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin: 8px 0;
|
margin: 8px 0;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.breadcrumb {
|
.breadcrumb {
|
||||||
|
@ -10,13 +10,16 @@ enableGitInfo: true
|
|||||||
taxonomies:
|
taxonomies:
|
||||||
_merge: deep
|
_merge: deep
|
||||||
|
|
||||||
author:
|
|
||||||
name: bbaovanc
|
|
||||||
|
|
||||||
markup: # this just keeps the bobatheme markup styling
|
markup: # this just keeps the bobatheme markup styling
|
||||||
_merge: deep
|
_merge: deep
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
_merge: deep
|
||||||
|
|
||||||
params:
|
params:
|
||||||
|
author:
|
||||||
|
name: bbaovanc
|
||||||
|
|
||||||
# these are for the OpenGraph/Twitter embeds in Hugo
|
# these are for the OpenGraph/Twitter embeds in Hugo
|
||||||
description: Example website for bobatheme
|
description: Example website for bobatheme
|
||||||
|
|
||||||
|
@ -12,6 +12,11 @@ taxonomies:
|
|||||||
author: authors
|
author: authors
|
||||||
series: series
|
series: series
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
page:
|
||||||
|
- html
|
||||||
|
- markdown
|
||||||
|
|
||||||
privacy:
|
privacy:
|
||||||
googleAnalytics:
|
googleAnalytics:
|
||||||
disable: true
|
disable: true
|
9
layouts/_default/single.markdown.md
Normal file
9
layouts/_default/single.markdown.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{{ with .File -}}
|
||||||
|
{{ with (.Path | readFile) -}}
|
||||||
|
{{ . -}}
|
||||||
|
{{ else -}}
|
||||||
|
{{ errorf "file not found: %s" .Path -}}
|
||||||
|
{{ end -}}
|
||||||
|
{{ else -}}
|
||||||
|
{{ errorf "no file available for markdown template?" -}}
|
||||||
|
{{ end -}}
|
@ -6,9 +6,9 @@
|
|||||||
{{ $authors := slice }}
|
{{ $authors := slice }}
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
{{ $url := (printf "authors/%s" (. | anchorize)) | absLangURL }}
|
{{ $url := (printf "authors/%s" (. | anchorize)) | absLangURL }}
|
||||||
{{ $authors = $authors | append (printf `<a href="%s">%s</a>` $url . | safeHTML) }}
|
{{ $authors = $authors | append (printf `<a href="%s">%s</a>` $url .) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ delimit $authors ", " }}
|
{{ delimit $authors ", " | safeHTML }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ delimit . ", " }}
|
{{ delimit . ", " }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
|
|
||||||
<div class="page-metadata-section categories" aria-label="{{ i18n "aria_post_meta_categories" }}">
|
<div class="page-metadata-section categories" aria-label="{{ i18n "aria_post_meta_categories" }}">
|
||||||
{{ partial "icon.html" "folder" }}
|
{{ partial "icon.html" "folder" }}
|
||||||
{{ delimit $categories ", " }}
|
{{ delimit $categories ", " | safeHTML }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
|
|
||||||
<div class="page-metadata-section series" aria-label="{{ i18n "aria_post_meta_series" }}">
|
<div class="page-metadata-section series" aria-label="{{ i18n "aria_post_meta_series" }}">
|
||||||
{{ partial "icon.html" "files" }}
|
{{ partial "icon.html" "files" }}
|
||||||
{{ delimit $series ", " }}
|
{{ delimit $series ", " | safeHTML }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
|
|
||||||
<div class="page-metadata-section tags" aria-label="{{ i18n "aria_post_meta_tags" }}">
|
<div class="page-metadata-section tags" aria-label="{{ i18n "aria_post_meta_tags" }}">
|
||||||
{{ partial "icon.html" "tag" }}
|
{{ partial "icon.html" "tag" }}
|
||||||
{{ delimit $tags ", " }}
|
{{ delimit $tags ", " | safeHTML }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -12,6 +12,6 @@
|
|||||||
This post is part of a series:
|
This post is part of a series:
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ delimit $series ", " }}
|
{{ delimit $series ", " | safeHTML }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user