Move some theme changes to custom hugo-bearblog fork
This commit is contained in:
parent
fe30f8a250
commit
ed1f1bc8ca
|
@ -1,4 +1,4 @@
|
|||
[submodule "themes/hugo-bearblog"]
|
||||
path = themes/hugo-bearblog
|
||||
url = https://github.com/janraasch/hugo-bearblog.git
|
||||
url = https://github.com/BBaoVanC/hugo-bearblog.git
|
||||
branch = master
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
+++
|
||||
title = "{{ replace .Name "-" " " | title }}"
|
||||
date = "{{ .Date }}"
|
||||
# Format date like 2006-01-02 (it gives an error if I use .Format)
|
||||
|
||||
description = """
|
||||
Lorem ipsum
|
||||
"""
|
||||
|
||||
tags = [
|
||||
"",
|
||||
]
|
||||
+++
|
|
@ -1,8 +0,0 @@
|
|||
+++
|
||||
title = "{{ replace .Name "-" " " | title }}"
|
||||
menu = "main"
|
||||
|
||||
description = """
|
||||
Lorem ipsum
|
||||
"""
|
||||
+++
|
|
@ -1,20 +0,0 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ if eq .Type "blog" }}{{ if not .Params.menu }}
|
||||
<p>
|
||||
<i>
|
||||
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
|
||||
{{ .Date.Format (default "02 Jan, 2006" .Site.Params.dateFormat) }}
|
||||
</time>
|
||||
</i>
|
||||
</p>
|
||||
{{ end }}{{ end }}
|
||||
<content>
|
||||
{{ .Content }}
|
||||
</content>
|
||||
<p>
|
||||
{{ range (.GetTerms "tags") }}
|
||||
<a href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
|
||||
{{ end }}
|
||||
</p>
|
||||
{{ end }}
|
|
@ -1 +1 @@
|
|||
Subproject commit 6408d03c688d8998476f35ee3beca49fc7b990b1
|
||||
Subproject commit b6e86389d0a27ee1491a5a1929b0c1403bbe2904
|
Reference in New Issue