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 '/'.
url: "https://www.cscherr.de"
github:
username: PlexSheep # change to your github username
# twitter:
# username: twitter_username # change to your twitter username
social:
# Change to your full name.
# 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:
# 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.
# 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
twitter: dinesh_MKD
url: https://github.com/SilleBille/
cscherr:
name: Christoph Johannes Scherr
url: https://www.cscherr.de

View File

@ -2,9 +2,15 @@
- type: github
icon: "fab fa-github"
username: PlexSheep
- type: twitter
icon: "fa-brands fa-x-twitter"
- type: mastodon
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
icon: "fas fa-envelope"
@ -13,6 +19,7 @@
- type: rss
icon: "fas fa-rss"
noblank: true
# Uncomment and complete the url below to enable more contact options
#
# - type: mastodon

View File

@ -2,18 +2,25 @@
# Icons from <https://fontawesome.com/>
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
icon: "fab fa-telegram"
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.
#
# - type: Linkedin

View File

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