Ajout des informations Git dans le pied de page.
This commit is contained in:
@@ -17,6 +17,7 @@ frontmatter:
|
|||||||
- :default
|
- :default
|
||||||
|
|
||||||
params:
|
params:
|
||||||
|
gitrepo: https://codeberg.org/xals/alexis.lahouze.org
|
||||||
|
|
||||||
pagination:
|
pagination:
|
||||||
pagerSize: 15
|
pagerSize: 15
|
||||||
|
|||||||
@@ -1,10 +1,15 @@
|
|||||||
{{ with .GitInfo }}
|
{{ with .GitInfo }}
|
||||||
<p>Dernière modification :
|
<p>
|
||||||
<ul>
|
Modifié par
|
||||||
<li>commit {{ .Hash }}</li>
|
<a href="mailto:{{ replace .AuthorEmail "@" "_NOSPAM@" }}">
|
||||||
<li>du {{ .AuthorDate | time.Format ":date_full" }} à {{ .AuthorDate | time.Format ":time_full" }}</li>
|
{{ .AuthorName }}
|
||||||
<li>par {{ .AuthorName }} <{{ replace .AuthorEmail "@" " at " }}></li>
|
</a>
|
||||||
</ul>
|
le {{ .AuthorDate | time.Format ":date_full" }} à {{ .AuthorDate | time.Format ":time_full" }}
|
||||||
|
<br />
|
||||||
|
> commit
|
||||||
|
<a href="{{ site.Param "gitrepo" }}/commit/{{ .Hash }}">
|
||||||
|
{{ .AbbreviatedHash }} - {{ .Subject }}
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<p>Généré par Hugo version {{ hugo.Version }}</p>
|
<p>Généré par Hugo version {{ hugo.Version }}</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user