summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-13 14:44:00 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-13 14:44:00 -0300
commitd3fa8290477d8e59401ef2c99ee2e68289ca4980 (patch)
tree22d26ddfa27a7121c417d907295c76fdb5336d28
parentdc7880b0abf8a7c0ba044296867e9c3d07e7a260 (diff)
Added gitlab to Menu
-rw-r--r--config.toml5
-rw-r--r--layouts/partials/sub-footer.html2
-rw-r--r--static/pics/gitlab.pngbin0 -> 420 bytes
-rwxr-xr-xthemes/hugo-whisper-theme/assets/scss/style.scss9
-rw-r--r--themes/hugo-whisper-theme/layouts/partials/sub-footer.html2
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
new file mode 100644
index 0000000..73b323c
--- /dev/null
+++ b/static/pics/gitlab.png
Binary files differ
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>