mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-06 08:43:40 +00:00
Hide date for about.md
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
<article>
|
||||
<div class="title">
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
{{ if not .Params.hide_date }}
|
||||
<div class="meta">Posted on {{ dateFormat "Jan 2, 2006" .Date }}{{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ if isset .Params "tldr" }}
|
||||
<div class="tldr">
|
||||
|
@@ -1,20 +1,20 @@
|
||||
<footer>
|
||||
<div style="display:flex">
|
||||
<div style="display: flex">
|
||||
{{- range $index, $key := .Site.Params.Social -}}
|
||||
<a class="soc" href="{{ $key.url }}" rel="me" title="{{ $key.name }}"><i data-feather="{{ $key.icon }}"></i></a>
|
||||
<a class="soc" href="{{ $key.url }}" rel="me" title="{{ $key.name }}"
|
||||
><i data-feather="{{ $key.icon }}"></i
|
||||
></a>
|
||||
<a class="border"></a>
|
||||
{{- end -}}
|
||||
</div>
|
||||
<div class="footer-info">
|
||||
{{ dateFormat "2006" now }} {{ with .Site.Copyright }} {{ . }} {{ end }}
|
||||
{{ dateFormat "2006" now }} {{ with .Site.Copyright }} {{ . }} {{ end }}
|
||||
</div>
|
||||
</footer>
|
||||
{{ if not .Site.IsServer }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{ end }}
|
||||
{{ if not .Site.IsServer }} {{ template "_internal/google_analytics.html" . }}
|
||||
{{ end }} {{- if (isset .Site.Params "social") -}}
|
||||
|
||||
{{- if (isset .Site.Params "social") -}}
|
||||
<script>
|
||||
feather.replace()
|
||||
feather.replace();
|
||||
</script>
|
||||
{{- end -}}
|
||||
|
@@ -5,17 +5,13 @@
|
||||
<nav>
|
||||
{{ range .Site.Menus.main }}
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{ end }} {{ if eq .Site.Params.mode "toggle" -}} |
|
||||
<span id="dark-mode-toggle" onclick="toggleTheme()"></span>
|
||||
<script src="{{ .Site.BaseURL }}js/themetoggle.js"></script>
|
||||
{{ end }}
|
||||
{{ end }} {{ if eq .Site.Params.mode "toggle" -}}
|
||||
</nav>
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="https://storage.ko-fi.com/cdn/widget/Widget_2.js"
|
||||
></script>
|
||||
<script type="text/javascript">
|
||||
kofiwidget2.init("Buy me a coffee", "#a15bc2", "F1F2S4LWI");
|
||||
kofiwidget2.draw();
|
||||
</script>
|
||||
<span id="dark-mode-toggle" onclick="toggleTheme()"></span>
|
||||
<script src="{{ .Site.BaseURL }}js/themetoggle.js"></script>
|
||||
{{ end }}
|
||||
</header>
|
||||
|
Reference in New Issue
Block a user