Move some theme changes to custom hugo-bearblog fork
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

This commit is contained in:
BBaoVanC 2021-06-13 20:17:07 -05:00
parent fe30f8a250
commit ed1f1bc8ca
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
5 changed files with 2 additions and 43 deletions

2
.gitmodules vendored
View File

@ -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

View File

@ -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 = [
"",
]
+++

View File

@ -1,8 +0,0 @@
+++
title = "{{ replace .Name "-" " " | title }}"
menu = "main"
description = """
Lorem ipsum
"""
+++

View File

@ -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