summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.toml12
-rw-r--r--content/contact/_index.md22
-rw-r--r--layouts/partials/sub-footer.html6
-rw-r--r--static/pics/element-small.pngbin0 -> 318 bytes
-rw-r--r--static/pics/element.pngbin0 -> 1450 bytes
-rw-r--r--static/pics/gitlab-small.png (renamed from static/pics/gitlab.png)bin420 -> 420 bytes
-rwxr-xr-xthemes/hugo-whisper-theme/assets/scss/style.scss7
7 files changed, 44 insertions, 3 deletions
diff --git a/config.toml b/config.toml
index 5ca143a..b3a715a 100644
--- a/config.toml
+++ b/config.toml
@@ -43,6 +43,16 @@ summaryLength = 30
weight = 5
[[menu.main]]
+ name = "Contact"
+ url = "/contact/"
+ weight = 6
+
+[[menu.main]]
+ name = "Matrix"
+ url = "https://matrix.to/#/#yams:chat.rogs.me"
+ weight = 99
+
+[[menu.main]]
name = "Gitlab"
url = "https://gitlab.com/rogs/yams"
weight = 100
@@ -53,7 +63,7 @@ summaryLength = 30
homepage_button_text = 'Install YAMS'
homepage_intro = 'YAMS is a basic but powerful media server, easy to install in a bash script'
homepage_image = '/install-yams.gif'
- mainSections = ['install', 'config', 'faqs', 'donate']
+ mainSections = ['install', 'config', 'faqs', 'donate', 'contact']
## You can enable to add anchor links to header elements
enable_anchor_link = true
diff --git a/content/contact/_index.md b/content/contact/_index.md
new file mode 100644
index 0000000..9b50e0c
--- /dev/null
+++ b/content/contact/_index.md
@@ -0,0 +1,22 @@
+---
+title: "Contact"
+date: 2023-01-13T14:47:17-03:00
+draft: false
+weight: 100
+---
+
+# ![/pics/element.png](/pics/element.png) YAMS has an official Matrix chat! ![/pics/element.png](/pics/element.png)
+
+You can join us here: [https://matrix.to/#/#yams:chat.rogs.me](https://matrix.to/#/#yams:chat.rogs.me).
+
+# You can contact me by:
+
+## Email (preferred)
+[roger at rogs.me] (replace the "at" with @).
+
+- gpg: `curl -sL https://rogs.me/rogs.txt | gpg --import`
+- fingerprint: `ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6`
+
+## My website
+
+[rogs.me](https://rogs.me)
diff --git a/layouts/partials/sub-footer.html b/layouts/partials/sub-footer.html
index 6c9ec13..80b545f 100644
--- a/layouts/partials/sub-footer.html
+++ b/layouts/partials/sub-footer.html
@@ -4,7 +4,11 @@
<div class="col-12">
<div class="sub-footer-inner">
<ul>
- <li class="zerostatic"><a href="https://yams.media">yams.media</a> | <a href="https://gitlab.com/rogs/yams">gitlab.com/rogs/yams</a></li>
+ <li class="zerostatic">
+ <a href="https://yams.media">yams.media</a> |
+ <img src="/pics/gitlab-small.png"> <a href="https://gitlab.com/rogs/yams">gitlab.com/rogs/yams</a> |
+ <img src="/pics/element-small.png"> <a href="https://matrix.to/#/#yams:chat.rogs.me">#yams:chat.rogs.me</a>
+ </li>
</ul>
</div>
</div>
diff --git a/static/pics/element-small.png b/static/pics/element-small.png
new file mode 100644
index 0000000..6367537
--- /dev/null
+++ b/static/pics/element-small.png
Binary files differ
diff --git a/static/pics/element.png b/static/pics/element.png
new file mode 100644
index 0000000..f805bb2
--- /dev/null
+++ b/static/pics/element.png
Binary files differ
diff --git a/static/pics/gitlab.png b/static/pics/gitlab-small.png
index 73b323c..73b323c 100644
--- a/static/pics/gitlab.png
+++ b/static/pics/gitlab-small.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 f4de255..c02c2a1 100755
--- a/themes/hugo-whisper-theme/assets/scss/style.scss
+++ b/themes/hugo-whisper-theme/assets/scss/style.scss
@@ -77,6 +77,11 @@ body {
}
.menu-item-gitlab span:before {
- content: url("/pics/gitlab.png") ;
+ content: url("/pics/gitlab-small.png") ;
+ margin-right: 5px;
+}
+
+.menu-item-matrix span:before {
+ content: url("/pics/element-small.png") ;
margin-right: 5px;
}