Switch from submodule to static checked in theme
This commit is contained in:
.drone.yml
themes/hugo-theme-notrack
.gitignoreLICENSE.mdREADME.mdtheme.toml
archetypes
assets
data
notrack
images
layouts
404.html
_default
home.htmlpartials
blog-entry-summary.htmlblog-taxonomy-info.htmlfooter.htmlhead.htmlheader.htmlpagination.htmlpost-category-link.htmlpost-tag-link.html
shortcodes
contact-box.htmlcontainer.htmlgallery-category.htmlgallery-modal.htmlgallery-photo.htmlgallery-script.htmlimage.htmlrawhtml.htmlresume-category.htmlresume-entry.htmlresume-section.htmlsocial.htmlvideo.html
taxonomy
static
css
fonts
FreeMono.woffFreeMonoBold.woffFreeMonoBoldOblique.woffFreeMonoOblique.woffFreeSans-small.woffFreeSans.woffFreeSansBold-small.woffFreeSansBold.woffFreeSansBoldOblique.woffFreeSansOblique.woffFreeSerif-small.woffFreeSerif.woffFreeSerifBold-small.woffFreeSerifBold.woffFreeSerifBoldItalic-small.woffFreeSerifBoldItalic.woffFreeSerifItalic-small.woffFreeSerifItalic.wofffa-brands-400.woff2fa-solid-900.woff2mononoki-Bold.woff2mononoki-BoldItalic.woff2mononoki-Italic.woff2mononoki-Regular.woff2
js
24
themes/hugo-theme-notrack/layouts/_default/single.html
Normal file
24
themes/hugo-theme-notrack/layouts/_default/single.html
Normal file
@ -0,0 +1,24 @@
|
||||
{{ define "main" }}
|
||||
<main>
|
||||
<article>
|
||||
{{ if in site.Params.mainSections .Page.Section }}
|
||||
<h1 class="page-title blog">{{ .Title }}</h1>
|
||||
{{ else }}
|
||||
<h1 class="page-title">{{ .Title }}</h1>
|
||||
{{ end }}
|
||||
|
||||
{{- /* Show post information if it's a post, otherwise just the content */ -}}
|
||||
{{ if in site.Params.mainSections .Page.Section }}
|
||||
<p class="blog-post-info">Posted: <time>{{ .Date.Format "2006-01-02" }}</time>
|
||||
{{ partial "blog-taxonomy-info" . }}</p>
|
||||
|
||||
<div class="blog-post-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{ else }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
</article>
|
||||
</main>
|
||||
{{ end }}
|
Reference in New Issue
Block a user