contacts in sidebar

This commit is contained in:
Christoph J. Scherr 2024-04-10 11:18:06 +02:00
parent eea2efde15
commit 9a9d7a83e2
5 changed files with 33 additions and 17 deletions

View File

@ -25,12 +25,6 @@ description: >- # used by seo meta and the atom feed
# e.g. 'https://username.github.io', note that it does not end with a '/'. # e.g. 'https://username.github.io', note that it does not end with a '/'.
url: "https://www.cscherr.de" url: "https://www.cscherr.de"
github:
username: PlexSheep # change to your github username
# twitter:
# username: twitter_username # change to your twitter username
social: social:
# Change to your full name. # Change to your full name.
# It will be displayed as the default author of the posts and the copyright owner in the Footer # It will be displayed as the default author of the posts and the copyright owner in the Footer
@ -91,7 +85,7 @@ theme_mode: # [light | dark]
img_cdn: img_cdn:
# the avatar on sidebar, support local or CORS resources # the avatar on sidebar, support local or CORS resources
avatar: avatar: https://static.cscherr.de/images/profile/profile.svg
# The URL of the site-wide social preview image used in SEO `og:image` meta tag. # The URL of the site-wide social preview image used in SEO `og:image` meta tag.
# It can be overridden by a customized `page.image` in front matter. # It can be overridden by a customized `page.image` in front matter.

View File

@ -15,3 +15,7 @@ sille_bille:
name: Dinesh Prasanth Moluguwan Krishnamoorthy name: Dinesh Prasanth Moluguwan Krishnamoorthy
twitter: dinesh_MKD twitter: dinesh_MKD
url: https://github.com/SilleBille/ url: https://github.com/SilleBille/
cscherr:
name: Christoph Johannes Scherr
url: https://www.cscherr.de

View File

@ -2,9 +2,15 @@
- type: github - type: github
icon: "fab fa-github" icon: "fab fa-github"
username: PlexSheep
- type: twitter - type: mastodon
icon: "fa-brands fa-x-twitter" icon: "fa-brands fa-mastodon"
url: https://infosec.exchange/@plexsheep
- type: lemmy
icon-url: "https://infosec.pub/static/1787a778/assets/icons/favicon.svg"
url: https://infosec.pub/u/PlexSheep
- type: email - type: email
icon: "fas fa-envelope" icon: "fas fa-envelope"
@ -13,6 +19,7 @@
- type: rss - type: rss
icon: "fas fa-rss" icon: "fas fa-rss"
noblank: true noblank: true
# Uncomment and complete the url below to enable more contact options # Uncomment and complete the url below to enable more contact options
# #
# - type: mastodon # - type: mastodon

View File

@ -2,18 +2,25 @@
# Icons from <https://fontawesome.com/> # Icons from <https://fontawesome.com/>
platforms: platforms:
- type: Twitter
icon: "fa-brands fa-square-x-twitter"
link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
- type: Facebook
icon: "fab fa-facebook-square"
link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
- type: Telegram - type: Telegram
icon: "fab fa-telegram" icon: "fab fa-telegram"
link: "https://t.me/share/url?url=URL&text=TITLE" link: "https://t.me/share/url?url=URL&text=TITLE"
- type: Mastodon
icon: "fa-brands fa-mastodon"
# See: https://github.com/justinribeiro/share-to-mastodon#properties
instances:
- label: mastodon.social
link: "https://mastodon.social/"
- label: mastodon.online
link: "https://mastodon.online/"
- label: fosstodon.org
link: "https://fosstodon.org/"
- label: photog.social
link: "https://photog.social/"
- label: infosec.exchange
link: "https://infosec.exchange/"
# Uncomment below if you need to. # Uncomment below if you need to.
# #
# - type: Linkedin # - type: Linkedin

View File

@ -89,7 +89,11 @@
rel="{{ link_types }}" rel="{{ link_types }}"
{% endunless %} {% endunless %}
> >
{% if entry.icon-url %}
<img src="{{ entry.icon-url }}" alt="icon"></img>
{% else %}
<i class="{{ entry.icon }}"></i> <i class="{{ entry.icon }}"></i>
{% endif %}
</a> </a>
{% endif %} {% endif %}
{% endfor %} {% endfor %}