mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-10-14 11:05:16 -05:00
Compare commits
5 Commits
page-list-
...
7368e82cf8
Author | SHA1 | Date | |
---|---|---|---|
7368e82cf8
|
|||
7a65f92f53
|
|||
bb6346bbad
|
|||
f091b366be
|
|||
94bfef19a1
|
@@ -784,7 +784,7 @@ figcaption {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.related-posts > hr,
|
.related-posts > hr,
|
||||||
.related-posts > h1 {
|
.related-posts > h2 {
|
||||||
margin: var(--page-margin);
|
margin: var(--page-margin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -21,11 +21,6 @@ taxonomies:
|
|||||||
outputs:
|
outputs:
|
||||||
page:
|
page:
|
||||||
- html
|
- html
|
||||||
- markdown
|
|
||||||
|
|
||||||
outputFormats:
|
|
||||||
markdown:
|
|
||||||
ugly: true
|
|
||||||
|
|
||||||
privacy:
|
privacy:
|
||||||
googleAnalytics:
|
googleAnalytics:
|
||||||
|
@@ -32,9 +32,6 @@ readingtime:
|
|||||||
edit_history:
|
edit_history:
|
||||||
other: "Edit history"
|
other: "Edit history"
|
||||||
|
|
||||||
view_markdown:
|
|
||||||
other: "View raw"
|
|
||||||
|
|
||||||
|
|
||||||
# Post count
|
# Post count
|
||||||
no_posts:
|
no_posts:
|
||||||
@@ -74,9 +71,6 @@ aria_rss_link:
|
|||||||
aria_post_meta_edit_history:
|
aria_post_meta_edit_history:
|
||||||
other: "link to page 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:
|
aria_post_meta_categories:
|
||||||
other: "categories"
|
other: "categories"
|
||||||
|
|
||||||
|
@@ -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,7 +20,6 @@
|
|||||||
{{ partial "page-metadata/item/authors.html" . }}
|
{{ partial "page-metadata/item/authors.html" . }}
|
||||||
{{ partial "page-metadata/item/readingtime.html" . }}
|
{{ partial "page-metadata/item/readingtime.html" . }}
|
||||||
{{ partial "page-metadata/item/edithistory.html" . }}
|
{{ partial "page-metadata/item/edithistory.html" . }}
|
||||||
{{ partial "page-metadata/item/viewraw.html" . }}
|
|
||||||
{{ partial "page-metadata/item/comments-counter.html" . }}
|
{{ partial "page-metadata/item/comments-counter.html" . }}
|
||||||
|
|
||||||
{{ partial "page-metadata/item/categories.html" . }}
|
{{ partial "page-metadata/item/categories.html" . }}
|
||||||
|
@@ -79,7 +79,7 @@
|
|||||||
{{ with $related }}
|
{{ with $related }}
|
||||||
<div class="related-posts">
|
<div class="related-posts">
|
||||||
<hr>
|
<hr>
|
||||||
<h1>{{ i18n "related_posts" }}</h1>
|
<h2>{{ i18n "related_posts" }}</h2>
|
||||||
{{ partial "page-list.html" . }}
|
{{ partial "page-list.html" . }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@@ -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,6 +1,4 @@
|
|||||||
User-Agent: *
|
User-Agent: *
|
||||||
Sitemap: {{ "sitemap.xml" | absLangURL }}
|
Allow: /
|
||||||
|
|
||||||
{{/* It complains about the raw markdown output having no title tag */ -}}
|
Sitemap: {{ "sitemap.xml" | absLangURL }}
|
||||||
User-Agent: Bingbot
|
|
||||||
Disallow: /blog/*.md$
|
|
||||||
|
Reference in New Issue
Block a user