forked from mCaptcha/website
last edited partial
This commit is contained in:
parent
0226cb96bc
commit
fd4d238755
7 changed files with 11 additions and 4 deletions
|
@ -2,11 +2,11 @@ baseurl = "/"
|
|||
disableAliases = true
|
||||
disableHugoGeneratorInject = true
|
||||
enableEmoji = true
|
||||
enableGitInfo = false
|
||||
enableGitInfo = true
|
||||
enableRobotsTXT = true
|
||||
languageCode = "en-US"
|
||||
paginate = 7
|
||||
rssLimit = 10
|
||||
rssLimit = 100
|
||||
|
||||
# add redirects/headers
|
||||
[outputs]
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
title: "Donate"
|
||||
description: "Donate to mCaptcha"
|
||||
date: 2021-05-27
|
||||
lastmod: 2021-05-27
|
||||
draft: false
|
||||
lastEdited: true
|
||||
---
|
||||
|
||||
mCaptcha is a small operation that is self-funded. At the time of
|
||||
|
|
|
@ -5,6 +5,7 @@ date: 2021-05-26
|
|||
lastmod: 2021-05-26
|
||||
draft: false
|
||||
images: []
|
||||
lastEdited: true
|
||||
---
|
||||
|
||||
**TLDR**: We do not use cookies, we do not collect any personal data and
|
||||
|
|
|
@ -7,6 +7,7 @@ draft: false
|
|||
identifiers: "security"
|
||||
layout: "security"
|
||||
toc: true
|
||||
lastEdited: true
|
||||
---
|
||||
|
||||
Security is at the heart of mCaptcha. If you find any discrepancies in
|
||||
|
|
|
@ -20,6 +20,9 @@
|
|||
</nav>
|
||||
{{ end }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ if .Params.lastEdited -}}
|
||||
{{ partial "main/last-edited.html" . -}}
|
||||
{{ end -}}
|
||||
<p class="lead">{{ .Params.lead | safeHTML }}</p>
|
||||
{{ partial "main/headline-hash.html" .Content }}
|
||||
{{ if .Site.Params.editPage -}}
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
<p><small>Posted {{ .PublishDate.Format "January 2, 2006" }} by {{ if .Params.contributors -}}{{ range $index, $contributor := .Params.contributors }}{{ if gt $index 0 }} and {{ end }}<a class="stretched-link position-relative" href="{{ "/contributors/" | absURL }}{{ . | urlize }}/">{{ . }}</a>{{ end -}}{{ end -}} ‐ <strong>{{ .ReadingTime -}} min read</strong></small><p>
|
||||
{{ partial "main/last-edited.html" . -}}
|
||||
|
|
1
layouts/partials/main/last-edited.html
Normal file
1
layouts/partials/main/last-edited.html
Normal file
|
@ -0,0 +1 @@
|
|||
<p><small>Last Edited {{ .Lastmod.Format "January 2, 2006" }}</small><p>
|
Loading…
Reference in a new issue