Loading config.yaml +7 −0 Original line number Diff line number Diff line Loading @@ -31,3 +31,10 @@ outputs: section: - "html" - "Calendar" security: funcs: getenv: - "^HUGO_" - "^CI$" - "^CI_COMMIT_SHORT_SHA$" layouts/partials/menu.html +13 −0 Original line number Diff line number Diff line Loading @@ -249,6 +249,19 @@ full-page search still work the same way. */}} </ul> </div> {{ end }} <div id="build-info" style="text-align: center; margin: 20px 0; font-size: 0.8em; color: #586e75" > {{ with getenv "CI_COMMIT_SHORT_SHA" }} <a href="{{ $.Site.Params.gitlab_path }}/commit/{{ . }}" style="color: #586e75" >{{ . }}</a > {{ else }}dev{{ end }} · built {{ now.UTC.Format "2006-01-02 15:04" }} UTC </div> </nav> <script src="/js/fuse.bundle.js" defer></script> Loading Loading
config.yaml +7 −0 Original line number Diff line number Diff line Loading @@ -31,3 +31,10 @@ outputs: section: - "html" - "Calendar" security: funcs: getenv: - "^HUGO_" - "^CI$" - "^CI_COMMIT_SHORT_SHA$"
layouts/partials/menu.html +13 −0 Original line number Diff line number Diff line Loading @@ -249,6 +249,19 @@ full-page search still work the same way. */}} </ul> </div> {{ end }} <div id="build-info" style="text-align: center; margin: 20px 0; font-size: 0.8em; color: #586e75" > {{ with getenv "CI_COMMIT_SHORT_SHA" }} <a href="{{ $.Site.Params.gitlab_path }}/commit/{{ . }}" style="color: #586e75" >{{ . }}</a > {{ else }}dev{{ end }} · built {{ now.UTC.Format "2006-01-02 15:04" }} UTC </div> </nav> <script src="/js/fuse.bundle.js" defer></script> Loading