mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-05-11 14:32:57 -05:00
Compare commits
No commits in common. "ddb57e01201e75f5f6190a5fe24e33fcafcc9e2d" and "e84f334591380a4603989f11e682f4c77e0d1532" have entirely different histories.
ddb57e0120
...
e84f334591
@ -15,12 +15,6 @@ taxonomies:
|
||||
markup: # this just keeps the bobatheme markup styling
|
||||
_merge: deep
|
||||
|
||||
outputs:
|
||||
_merge: deep
|
||||
|
||||
outputFormats:
|
||||
_merge: deep
|
||||
|
||||
params:
|
||||
author:
|
||||
name: bbaovanc
|
||||
|
@ -12,15 +12,6 @@ taxonomies:
|
||||
author: authors
|
||||
series: series
|
||||
|
||||
outputs:
|
||||
page:
|
||||
- html
|
||||
- markdown
|
||||
|
||||
outputFormats:
|
||||
markdown:
|
||||
ugly: true
|
||||
|
||||
privacy:
|
||||
googleAnalytics:
|
||||
disable: true
|
||||
|
@ -30,9 +30,6 @@ readingtime:
|
||||
edit_history:
|
||||
other: "Edit history"
|
||||
|
||||
view_markdown:
|
||||
other: "View raw"
|
||||
|
||||
|
||||
# Post count
|
||||
no_posts:
|
||||
@ -70,9 +67,6 @@ aria_rss_link:
|
||||
aria_post_meta_edit_history:
|
||||
other: "link to page edit history"
|
||||
|
||||
aria_post_meta_view_markdown:
|
||||
other: "link to view raw markdown code of page"
|
||||
|
||||
aria_post_meta_categories:
|
||||
other: "categories"
|
||||
|
||||
|
@ -1,9 +0,0 @@
|
||||
{{ with .File -}}
|
||||
{{ with (.Path | readFile) -}}
|
||||
{{ . -}}
|
||||
{{ else -}}
|
||||
{{ errorf "file not found: %s" .Path -}}
|
||||
{{ end -}}
|
||||
{{ else -}}
|
||||
{{ errorf "no file available for markdown template?" -}}
|
||||
{{ end -}}
|
@ -1,8 +0,0 @@
|
||||
{{ with .OutputFormats.Get "markdown" }}
|
||||
<span class="page-metadata-item post-meta-view-markdown" aria-label="{{ i18n "aria_post_meta_view_markdown" }}">
|
||||
{{ partial "icon.html" "code" }}
|
||||
<a href="{{ .Permalink }}" target="_blank">
|
||||
{{- i18n "view_markdown" -}}
|
||||
</a>
|
||||
</span>
|
||||
{{ end }}
|
@ -20,10 +20,7 @@
|
||||
{{ partial "page-metadata/item/authors.html" . }}
|
||||
{{ partial "page-metadata/item/readingtime.html" . }}
|
||||
{{ partial "page-metadata/item/edithistory.html" . }}
|
||||
{{ partial "page-metadata/item/viewraw.html" . }}
|
||||
|
||||
{{ partial "page-metadata/item/categories.html" . }}
|
||||
|
||||
{{ partial "page-metadata/item/tags.html" . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user