testing lastmod and gitinfo
This commit is contained in:
parent
16f7784330
commit
b235333f73
@ -1,6 +1,8 @@
|
|||||||
---
|
---
|
||||||
title: "{{ replace .Name "-" " " | title }}"
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
|
lastmod: {{ now }}
|
||||||
draft: true
|
draft: true
|
||||||
|
tags: []
|
||||||
|
topics: []
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ paginate = 10
|
|||||||
PygmentsCodeFences = true
|
PygmentsCodeFences = true
|
||||||
PygmentsStyle = "tango"
|
PygmentsStyle = "tango"
|
||||||
enableInlineShortcodes = true
|
enableInlineShortcodes = true
|
||||||
|
enableGitInfo = true
|
||||||
|
|
||||||
[indexes]
|
[indexes]
|
||||||
tag = "tags"
|
tag = "tags"
|
||||||
@ -29,6 +30,12 @@ enableInlineShortcodes = true
|
|||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
unsafe= true
|
unsafe= true
|
||||||
|
|
||||||
|
[frontmatter]
|
||||||
|
date = ["date", "publishDate", "lastmod"]
|
||||||
|
lastmod = ["lastmod", ":git", "date", "publishDate"]
|
||||||
|
publishDate = ["publishDate", "date"]
|
||||||
|
expiryDate = ["expiryDate"]
|
||||||
|
|
||||||
[menu]
|
[menu]
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Home"
|
name = "Home"
|
||||||
|
@ -110,4 +110,3 @@ Request/Response headers:
|
|||||||
|
|
||||||
That's it. I hope this has been helpful. Incidentally, if you want to experiment with the code yourself, the repo is available **{{< newtab title="right here." url="https://gitea.gmgauthier.com/gmgauthier/soapmock" >}}** Enjoy!
|
That's it. I hope this has been helpful. Incidentally, if you want to experiment with the code yourself, the repo is available **{{< newtab title="right here." url="https://gitea.gmgauthier.com/gmgauthier/soapmock" >}}** Enjoy!
|
||||||
|
|
||||||
Last Change: {{< time.inline >}}{{ now }}{{< /time.inline >}}
|
|
||||||
|
11
content/post/something-different-for-a-change3.md
Normal file
11
content/post/something-different-for-a-change3.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: "Something Different for a Change3"
|
||||||
|
date: 2021-04-11T21:48:01+01:00
|
||||||
|
lastmod: 2021-04-11 21:48:01.362115 +0100 BST m=+0.047984696
|
||||||
|
draft: true
|
||||||
|
tags: []
|
||||||
|
topics: []
|
||||||
|
---
|
||||||
|
|
||||||
|
{{ .Lastmod }}
|
||||||
|
{{ .GitInfo.AuthorDate }}
|
@ -61,5 +61,3 @@ var y = 6;
|
|||||||
var z = x + y;
|
var z = x + y;
|
||||||
document.getElementById("demo").innerHTML = "The value of z is: " + z;
|
document.getElementById("demo").innerHTML = "The value of z is: " + z;
|
||||||
```
|
```
|
||||||
|
|
||||||
Latest Build Time: {{< time.inline >}}{{ now }}{{< /time.inline >}}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user