diff options
-rw-r--r-- | config.toml | 5 | ||||
-rw-r--r-- | layouts/partials/sub-footer.html | 2 | ||||
-rw-r--r-- | static/pics/gitlab.png | bin | 0 -> 420 bytes | |||
-rwxr-xr-x | themes/hugo-whisper-theme/assets/scss/style.scss | 9 | ||||
-rw-r--r-- | themes/hugo-whisper-theme/layouts/partials/sub-footer.html | 2 |
5 files changed, 16 insertions, 2 deletions
diff --git a/config.toml b/config.toml index cdc4f01..5ca143a 100644 --- a/config.toml +++ b/config.toml @@ -42,6 +42,11 @@ summaryLength = 30 url = "/donate/" weight = 5 +[[menu.main]] + name = "Gitlab" + url = "https://gitlab.com/rogs/yams" + weight = 100 + [params] homepage_button_link = '/install' diff --git a/layouts/partials/sub-footer.html b/layouts/partials/sub-footer.html index 8d2d53c..6c9ec13 100644 --- a/layouts/partials/sub-footer.html +++ b/layouts/partials/sub-footer.html @@ -4,7 +4,7 @@ <div class="col-12"> <div class="sub-footer-inner"> <ul> - <li class="zerostatic"><a href="https://yams.media">yams.media</a></li> + <li class="zerostatic"><a href="https://yams.media">yams.media</a> | <a href="https://gitlab.com/rogs/yams">gitlab.com/rogs/yams</a></li> </ul> </div> </div> diff --git a/static/pics/gitlab.png b/static/pics/gitlab.png Binary files differnew file mode 100644 index 0000000..73b323c --- /dev/null +++ b/static/pics/gitlab.png diff --git a/themes/hugo-whisper-theme/assets/scss/style.scss b/themes/hugo-whisper-theme/assets/scss/style.scss index ee54235..f4de255 100755 --- a/themes/hugo-whisper-theme/assets/scss/style.scss +++ b/themes/hugo-whisper-theme/assets/scss/style.scss @@ -71,3 +71,12 @@ body { // } // } // } + +.menu-item-gitlab span { + color: #fc6d27; +} + +.menu-item-gitlab span:before { + content: url("/pics/gitlab.png") ; + margin-right: 5px; +} diff --git a/themes/hugo-whisper-theme/layouts/partials/sub-footer.html b/themes/hugo-whisper-theme/layouts/partials/sub-footer.html index bc46f91..99cf2d0 100644 --- a/themes/hugo-whisper-theme/layouts/partials/sub-footer.html +++ b/themes/hugo-whisper-theme/layouts/partials/sub-footer.html @@ -10,4 +10,4 @@ </div> </div> </div> -</div>
\ No newline at end of file +</div> |