adding bootstrap, removing placeholder, overriding
This commit is contained in:
parent
db2ab059ad
commit
229298a09d
@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
title: "My First Post"
|
|
||||||
date: 2022-08-18T11:40:40+01:00
|
|
||||||
draft: false
|
|
||||||
---
|
|
||||||
|
|
||||||
Title
|
|
||||||
===========
|
|
||||||
|
|
||||||
## Subtitle
|
|
||||||
|
|
||||||
Hello World
|
|
17
layouts/partials/footer.html
Normal file
17
layouts/partials/footer.html
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<footer class="footer">
|
||||||
|
<section class="container">
|
||||||
|
©
|
||||||
|
{{ if (and .Site.Params.since (lt .Site.Params.since now.Year)) }}
|
||||||
|
{{ .Site.Params.since }} -
|
||||||
|
{{ end }}
|
||||||
|
{{ now.Year }}
|
||||||
|
{{ with .Site.Params.author }} {{ . }} {{ end }}
|
||||||
|
{{ if (and .Site.Params.license) }}
|
||||||
|
{{ i18n "licensed_under" }} {{ .Site.Params.license | safeHTML }}
|
||||||
|
·
|
||||||
|
{{ end }}
|
||||||
|
{{ if (and .Site.Params.commit .GitInfo) }}
|
||||||
|
[<a href="{{ .Site.Params.commit }}/{{ .GitInfo.Hash }}">{{ .GitInfo.AbbreviatedHash }}</a>]
|
||||||
|
{{ end }}
|
||||||
|
</section>
|
||||||
|
</footer>
|
21
layouts/partials/head.html
Normal file
21
layouts/partials/head.html
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{{ partial "head/meta-tags.html" . }}
|
||||||
|
|
||||||
|
{{ if .Permalink }}
|
||||||
|
<link rel="canonical" href="{{ .Permalink }}">
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ partialCached "head/theme-styles.html" . }}
|
||||||
|
|
||||||
|
{{ partialCached "head/color-scheme.html" . }}
|
||||||
|
|
||||||
|
{{ partialCached "head/custom-styles.html" . }}
|
||||||
|
|
||||||
|
{{ partialCached "head/custom-icons.html" . }}
|
||||||
|
|
||||||
|
{{ partial "head/alternative-output-formats.html" . }}
|
||||||
|
|
||||||
|
{{ partialCached "head/hugo-generator.html" . }}
|
||||||
|
|
||||||
|
{{ partial "head/extensions.html" . }}
|
||||||
|
|
||||||
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
|
Loading…
Reference in New Issue
Block a user