commit ec2172d563cf28cec850950f77cedd29c7c13549
parent 2e0a3da4d38b8b38c21b0b8f3d42030557b6ad51
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sun, 5 Jan 2020 18:59:47 -0600
Remove dates from nav
Diffstat:
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/README.org b/README.org
@@ -9,18 +9,18 @@ Djem So is a aggressively stripped down version of my [[https://github.com/shimm
What is retained though is support for multilingual page contents. The result is an bare-bone theme that still allows easy customization. In fact, Djem So has even less lines than the XMin theme that started it all.
#+BEGIN_EXAMPLE
- $ find . -path '*/layouts/*' \( -name '*.html' -o -name '*.css' \) | xargs wc -l
+ find . -path '*/layouts/*' \( -name '*.html' -o -name '*.css' \) | xargs wc -l
10 ./layouts/partials/css/color.css
7 ./layouts/partials/css/custom.css
22 ./layouts/partials/css/style.css
1 ./layouts/partials/footer.html
0 ./layouts/partials/head_custom.html
- 16 ./layouts/partials/nav.html
+ 13 ./layouts/partials/nav.html
7 ./layouts/partials/head.html
1 ./layouts/_default/single.html
13 ./layouts/_default/list.html
17 ./layouts/_default/baseof.html
- 94 total
+ 91 total
#+END_EXAMPLE
** Customization
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
@@ -9,8 +9,5 @@
{{- end -}}
{{- range .Translations -}}
| <a href="{{ .Permalink | relURL }}">{{ .Language.LanguageName }}</a>
- {{- end -}}<br/>
- {{- if not .IsNode -}}{{- with .Date -}}
- {{ .Format "2006-01-02" }}
- {{- end -}}{{- end -}}
+ {{- end -}}
</nav>