diff --git a/themes/hugo-theme-relearn/layouts/_default/release-note.html b/themes/hugo-theme-relearn/layouts/_default/release-note.html index 484eb48a94fb8e04b266510cd550fa9480e5f53b..7c58c829817b5017d6f9d4c423dfda23ae6b16ba 100644 --- a/themes/hugo-theme-relearn/layouts/_default/release-note.html +++ b/themes/hugo-theme-relearn/layouts/_default/release-note.html @@ -9,4 +9,7 @@ {{- end }} {{- .Content }} </article> + +<p>Retrouvez toutes les notes de version <a href="../release-notes.html">à cette page</a>.</p> + {{- partial "footer.html" . }} diff --git a/themes/hugo-theme-relearn/layouts/home/index.html b/themes/hugo-theme-relearn/layouts/home/index.html index 26dae883f91324007c8087a45e54e6de116eaadb..e71bebadd257f2481023387a116ef0e9df265e28 100644 --- a/themes/hugo-theme-relearn/layouts/home/index.html +++ b/themes/hugo-theme-relearn/layouts/home/index.html @@ -76,9 +76,9 @@ {{- $shortcut := . }} {{- with $page.Site.GetPage (printf "%s" $shortcut.URL ) }} {{- $to := . }} - <li>{{ $shortcut.Pre }}<a class="padding" href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" $to) }}">{{ safeHTML $shortcut.Name }}</a>{{ $shortcut.Post }}</li> + <li>{{ $shortcut.Pre }}<a class="padding" href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" $to) }}">{{ safeHTML $shortcut.Name }}</a>{{ $shortcut.Post }}</li> {{- else }} - <li>{{ $shortcut.Pre }}<a class="padding" href="{{ $shortcut.URL | relLangURL }}">{{ safeHTML $shortcut.Name }}</a>{{ $shortcut.Post }}</li> + <li>{{ $shortcut.Pre }}<a class="padding" href="{{ $shortcut.URL | relLangURL }}">{{ safeHTML $shortcut.Name }}</a>{{ $shortcut.Post }}</li> {{- end }} {{- end }} {{- end }} @@ -122,6 +122,7 @@ </a> {{- end }} {{- end }} + <div><a href="actualites.html">Toutes les actualités</a></div> </div> <footer> <ul> diff --git a/themes/hugo-theme-relearn/layouts/shortcodes/issue.html b/themes/hugo-theme-relearn/layouts/shortcodes/issue.html index 3293ec3d5852e8dabc3e624c74d62651836606b4..87a88768586fd927930ff11b1b9be5ac2f9fb3b0 100644 --- a/themes/hugo-theme-relearn/layouts/shortcodes/issue.html +++ b/themes/hugo-theme-relearn/layouts/shortcodes/issue.html @@ -1 +1 @@ -<a class="issue" href="{{ .Site.Params.issueUrl }}{{.Get 0}}/-/issues/{{.Get 1}}" target="_blank">#{{.Get 1}}</a> +<a class="issue" href="{{ .Site.Params.issueUrl }}{{.Get 0}}/-/issues/{{.Get 1}}" rel="nofollow" target="_blank">#{{.Get 1}}</a> diff --git a/themes/hugo-theme-relearn/layouts/shortcodes/merge-request.html b/themes/hugo-theme-relearn/layouts/shortcodes/merge-request.html index 63c7b6b72d1f59aa1abc876e83ecf8bbdc904bec..2908619f53c02c38eba1d5ed6d00f3719c89a37b 100644 --- a/themes/hugo-theme-relearn/layouts/shortcodes/merge-request.html +++ b/themes/hugo-theme-relearn/layouts/shortcodes/merge-request.html @@ -1 +1 @@ -<a class="issue" href="{{ .Site.Params.issueUrl }}{{.Get 0}}/-/merge_requests/{{.Get 1}}" target="_blank">!{{.Get 1}}</a> +<a class="issue" href="{{ .Site.Params.issueUrl }}{{.Get 0}}/-/merge_requests/{{.Get 1}}" rel="nofollow" target="_blank">!{{.Get 1}}</a> diff --git a/themes/hugo-theme-relearn/static/css/home.css b/themes/hugo-theme-relearn/static/css/home.css index abad6d91cd13c3e5d8b05f7fe5f9c7e1b8c30eba..2929c0476597129a60181288a6b9702aca8e8268 100644 --- a/themes/hugo-theme-relearn/static/css/home.css +++ b/themes/hugo-theme-relearn/static/css/home.css @@ -17,6 +17,7 @@ footer { padding: 1em; } +div.actualites > div, h2.actualites { margin-left: 1em; } @@ -167,6 +168,9 @@ div.actualites { margin-top: 0.5em; } +.actualite > .link { + float: right; +} .actualite > .media { color: var(--NEWS-MEDIA-color); font-weight: bold;