1
0
Fork 0
forked from mCaptcha/website

last edited partial

This commit is contained in:
Aravinth Manivannan 2021-05-27 19:15:04 +05:30
parent 0226cb96bc
commit fd4d238755
Signed by untrusted user: realaravinth
GPG key ID: AD9F0F08E855ED88
7 changed files with 11 additions and 4 deletions

View file

@ -2,11 +2,11 @@ baseurl = "/"
disableAliases = true disableAliases = true
disableHugoGeneratorInject = true disableHugoGeneratorInject = true
enableEmoji = true enableEmoji = true
enableGitInfo = false enableGitInfo = true
enableRobotsTXT = true enableRobotsTXT = true
languageCode = "en-US" languageCode = "en-US"
paginate = 7 paginate = 7
rssLimit = 10 rssLimit = 100
# add redirects/headers # add redirects/headers
[outputs] [outputs]

View file

@ -2,8 +2,8 @@
title: "Donate" title: "Donate"
description: "Donate to mCaptcha" description: "Donate to mCaptcha"
date: 2021-05-27 date: 2021-05-27
lastmod: 2021-05-27
draft: false draft: false
lastEdited: true
--- ---
mCaptcha is a small operation that is self-funded. At the time of mCaptcha is a small operation that is self-funded. At the time of

View file

@ -5,6 +5,7 @@ date: 2021-05-26
lastmod: 2021-05-26 lastmod: 2021-05-26
draft: false draft: false
images: [] images: []
lastEdited: true
--- ---
**TLDR**: We do not use cookies, we do not collect any personal data and **TLDR**: We do not use cookies, we do not collect any personal data and

View file

@ -7,6 +7,7 @@ draft: false
identifiers: "security" identifiers: "security"
layout: "security" layout: "security"
toc: true toc: true
lastEdited: true
--- ---
Security is at the heart of mCaptcha. If you find any discrepancies in Security is at the heart of mCaptcha. If you find any discrepancies in

View file

@ -20,6 +20,9 @@
</nav> </nav>
{{ end }} {{ end }}
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ if .Params.lastEdited -}}
{{ partial "main/last-edited.html" . -}}
{{ end -}}
<p class="lead">{{ .Params.lead | safeHTML }}</p> <p class="lead">{{ .Params.lead | safeHTML }}</p>
{{ partial "main/headline-hash.html" .Content }} {{ partial "main/headline-hash.html" .Content }}
{{ if .Site.Params.editPage -}} {{ if .Site.Params.editPage -}}

View file

@ -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 -}}&nbsp;&hyphen;&nbsp;<strong>{{ .ReadingTime -}}&nbsp;min read</strong></small><p> <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 -}}&nbsp;&hyphen;&nbsp;<strong>{{ .ReadingTime -}}&nbsp;min read</strong></small><p>
{{ partial "main/last-edited.html" . -}}

View file

@ -0,0 +1 @@
<p><small>Last Edited {{ .Lastmod.Format "January 2, 2006" }}</small><p>