Compare commits
10 Commits
840b4f2267
...
9d2b144fae
| Author | SHA1 | Date | |
|---|---|---|---|
| 9d2b144fae | |||
| 40443f9da8 | |||
| e1740a3063 | |||
| b894d386c9 | |||
| 8d8fd93cd5 | |||
| 228742e4a6 | |||
| 9db3844461 | |||
| dd73626da6 | |||
| 6666af2696 | |||
| 91c5b0a583 |
@@ -242,11 +242,11 @@ email = "emxveV9saW51eEB6bGludXgucnU="
|
||||
encode_plaintext_email = true
|
||||
|
||||
socials = [
|
||||
{ name = "sharkey", url = "https://zlinux.ru/@zloy_linux", icon = "misskey" },
|
||||
{ name = "sharkey", url = "https://zlinux.ru/@zloy_linux", icon = "sharkey" },
|
||||
{ name = "telegram", url = "https://t.me/#", icon = "telegram" },
|
||||
{ name = "peertube", url = "https://video.zlinux.ru/a/zloy_linux/video-channels", icon = "peertube" },
|
||||
# { name = "youtube", url = "https://youtube.com/#", icon = "youtube" },
|
||||
{ name = "pixelfed", url = "https://pixelfed.social/zloy_linuxoid", icon = "pixelfed" },
|
||||
{ name = "pixelfed", url = "https://pixelfed.social/zloy_linuxoid", icon = "pixelfeed" },
|
||||
]
|
||||
|
||||
footer_menu = [
|
||||
|
||||
@@ -70,12 +70,12 @@ footer nav {
|
||||
.social {
|
||||
&:hover {
|
||||
& > img {
|
||||
filter: invert(0);
|
||||
filter: invert(1);
|
||||
}
|
||||
}
|
||||
|
||||
& > img {
|
||||
filter: invert(1);
|
||||
filter: invert(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
themes/tabi/static/social_icons/email.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
themes/tabi/static/social_icons/misskey.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
themes/tabi/static/social_icons/peertube.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
themes/tabi/static/social_icons/pixelfeed.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
themes/tabi/static/social_icons/rss.png
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
themes/tabi/static/social_icons/sharkey.png
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
themes/tabi/static/social_icons/telegram.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
@@ -24,7 +24,7 @@
|
||||
{%- if should_show_feed -%}
|
||||
<li>
|
||||
<a class="nav-links no-hover-padding social" rel="{{ rel_attributes }}" {{ blank_target }} href="{{ get_url(path=feed_url, lang=lang, trailing_slash=false) | safe }}">
|
||||
<img loading="lazy" alt="feed" title="feed" src="{{ get_url(path='/social_icons/rss.svg') }}">
|
||||
<img loading="lazy" alt="feed" title="feed" src="{{ get_url(path='/social_icons/rss.png') }}">
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
@@ -51,7 +51,7 @@
|
||||
{%- else -%}
|
||||
<a class="nav-links no-hover-padding social" href="mailto:{{ config.extra.email | safe }}">
|
||||
{%- endif -%}
|
||||
<img loading="lazy" alt="email" title="email" src="{{ get_url(path='social_icons/email.svg') }}">
|
||||
<img loading="lazy" alt="email" title="email" src="{{ get_url(path='social_icons/email.png') }}">
|
||||
</a>
|
||||
</li>
|
||||
{%- endif -%}
|
||||
@@ -60,7 +60,7 @@
|
||||
{% for social in config.extra.socials %}
|
||||
<li>
|
||||
<a class="nav-links no-hover-padding social" rel="{{ rel_attributes }} me" {{ blank_target }} href="{{ social.url | safe }}">
|
||||
<img loading="lazy" alt="{{ social.name }}" title="{{ social.name }}" src="{{ get_url(path='social_icons/' ~ social.icon ~ '.svg') }}">
|
||||
<img loading="lazy" alt="{{ social.name }}" title="{{ social.name }}" src="{{ get_url(path='social_icons/' ~ social.icon ~ '.png') }}">
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||