footer: add link to the last commit

* Adds a link, if .gitInfo is set, to the last commit that modified the
  current page. The git repository URL is still hardcoded.
* Upgrades auto-changelog.
* Updates the CHANGELOG.md file.

Co-Authored-by: iGor milhit <igor@milhit.ch>
merge-requests/4/head
iGor milhit 2021-01-31 11:22:34 +01:00
parent 36a334cab9
commit 0190c233e9
Signed by: igor
GPG Key ID: 692D97C3D0228A99
3 changed files with 29 additions and 21 deletions

View File

@ -16,7 +16,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
### Commits ### Commits
- head: add a favicon [`e2b3d52`](https://framagit.org/iGormilhit/portfoliGor/commit/e2b3d52e7eb465cedf80077067f3bdaf3691cf4b) - footer: add link to the last commit [`5621975`](https://framagit.org/iGormilhit/portfoliGor/commit/5621975a29032440d3ffd7dc6e2f7ce15b70e747)
- list: fix date variable on the lists and sections [`36a334c`](https://framagit.org/iGormilhit/portfoliGor/commit/36a334cab9d4e2bf746214571287d35a29bdf6eb)
- shortcodes: adds an audio player with album cover [`e1cf918`](https://framagit.org/iGormilhit/portfoliGor/commit/e1cf9185f3f7c3cba4e97c6b2371fb9a465017da)
- head: add a favicon [`e56fddc`](https://framagit.org/iGormilhit/portfoliGor/commit/e56fddc6e0c15bb6839c9cfc6277df5eb8f46d03)
- layout: improve post info in single or list pages [`8177560`](https://framagit.org/iGormilhit/portfoliGor/commit/817756034b5c3338ea47a2108780ba0b7f47e383)
## [0.1.1](https://framagit.org/iGormilhit/portfoliGor/compare/0.1.0...0.1.1) - 2020-06-01 ## [0.1.1](https://framagit.org/iGormilhit/portfoliGor/compare/0.1.0...0.1.1) - 2020-06-01
@ -30,7 +34,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- documentation: add a changelog and auto-changelog [`31b27df`](https://framagit.org/iGormilhit/portfoliGor/commit/31b27df95ffcab2b5857fa63346e6a8a6998b5d1) - documentation: add a changelog and auto-changelog [`31b27df`](https://framagit.org/iGormilhit/portfoliGor/commit/31b27df95ffcab2b5857fa63346e6a8a6998b5d1)
- lists: sort list by reverse publication date [`920fe4d`](https://framagit.org/iGormilhit/portfoliGor/commit/920fe4d1566b9755b2551854a6042beec8f8905a) - lists: sort list by reverse publication date [`920fe4d`](https://framagit.org/iGormilhit/portfoliGor/commit/920fe4d1566b9755b2551854a6042beec8f8905a)
## 0.1.0 - 2020-05-22 ## 0.1.0 - 2020-05-23
### Fixed ### Fixed

View File

@ -1,6 +1,17 @@
<footer class="main-footer"> <footer class="main-footer">
<ul class="container"> <ul class="container">
<li><a href="https://framagit.org/iGormilhit/igor.milhit">Sources</a></li> <li><a href="https://framagit.org/iGormilhit/igor.milhit">Sources</a></li>
{{ with .GitInfo }}
{{ $git := . }}
<li>
<code>
<a href="https://framagit.org/iGormilhit/igor.milhit/-/commit/{{- $git.Hash -}}"
title="Dernier commit modifiant cette page">
{{ $git.AbbreviatedHash }}
</a>
</code>
</li>
{{ end }}
<li><a href="http://creativecommons.org/licenses/by/4.0/"> <li><a href="http://creativecommons.org/licenses/by/4.0/">
<span class="smallcaps">cc-by</span> <span class="smallcaps">cc-by</span>
</a> </a>

View File

@ -3,9 +3,9 @@
auto-changelog@^2.0.0: auto-changelog@^2.0.0:
version "2.0.0" version "2.2.1"
resolved "https://registry.yarnpkg.com/auto-changelog/-/auto-changelog-2.0.0.tgz#bfae79668394e3fd3be90cb59c1abcdcf750f458" resolved "https://registry.yarnpkg.com/auto-changelog/-/auto-changelog-2.2.1.tgz#a031fbf1dfe140dda2ec8c77a524031478a0e933"
integrity sha512-A61Oc4A/5L5OlMs+AEQNgy8/sOn5Eu0I2Sw4+qbwk40y6kh+2wmptoY4b30FHlduPh3ghybB94eIVFKkAZtjzg== integrity sha512-XlykJfZrXlWUAADBqGoN1elmntrRcx7oEymyYB3NRPEZxv0TfYHfivmwzejUMnwAdXKCgbQPo7GV5ULs3jwpfw==
dependencies: dependencies:
commander "^5.0.0" commander "^5.0.0"
handlebars "^4.7.3" handlebars "^4.7.3"
@ -19,11 +19,6 @@ commander@^5.0.0:
resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae"
integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg== integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==
commander@~2.20.3:
version "2.20.3"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
handlebars@^4.7.3: handlebars@^4.7.3:
version "4.7.6" version "4.7.6"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.6.tgz#d4c05c1baf90e9945f77aa68a7a219aa4a7df74e" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.6.tgz#d4c05c1baf90e9945f77aa68a7a219aa4a7df74e"
@ -47,14 +42,14 @@ minimist@^1.2.5:
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
neo-async@^2.6.0: neo-async@^2.6.0:
version "2.6.1" version "2.6.2"
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw== integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==
node-fetch@^2.6.0: node-fetch@^2.6.0:
version "2.6.0" version "2.6.1"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA== integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==
parse-github-url@^1.0.2: parse-github-url@^1.0.2:
version "1.0.2" version "1.0.2"
@ -72,11 +67,9 @@ source-map@^0.6.1:
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
uglify-js@^3.1.4: uglify-js@^3.1.4:
version "3.9.4" version "3.12.5"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.9.4.tgz#867402377e043c1fc7b102253a22b64e5862401b" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.12.5.tgz#83241496087c640efe9dfc934832e71725aba008"
integrity sha512-8RZBJq5smLOa7KslsNsVcSH+KOXf1uDU8yqLeNuVKwmT0T3FA0ZoXlinQfRad7SDcbZZRZE4ov+2v71EnxNyCA== integrity sha512-SgpgScL4T7Hj/w/GexjnBHi3Ien9WS1Rpfg5y91WXMj9SY997ZCQU76mH4TpLwwfmMvoOU8wiaRkIf6NaH3mtg==
dependencies:
commander "~2.20.3"
wordwrap@^1.0.0: wordwrap@^1.0.0:
version "1.0.0" version "1.0.0"