Commit 8c743227 authored by Jumpei Ogawa's avatar Jumpei Ogawa Committed by Carl Schwan

Add options to customize footer

parent 1aa40750
......@@ -75,6 +75,19 @@ Following options are available in `_config.yml`
* `navigation.bottom[].name`: Section title for the bottom links
* `navigation.bottom[].items[].title`: Title for the bottom links
* `navigation.bottom[].items[].url`: URL for the bottom links
* `maintainer`: Maintainer name and link shown at the bottom left of the pages
* `maintainer.name`: Display name of the maintainer team. "KDE www" by default
* `maintainer.href`: URL or email address link for the maintainer team. "mailto:kde-www@kde.org" by default
* `social`: Settings for social links shown at the bottom right of the pages. If you do not specify this parameter, default social links would be shown.
* `social.facebook`: Link to the Facebook page. e.g. "https://www.facebook.com/kde/"
* `social.twitter`: Link to the Twitter profile. e.g. "https://twitter.com/kdecommunity"
* `social.diaspora`: Link to the Diaspora profile. e.g. "https://joindiaspora.com/people/9c3d1a454919ef06"
* `social.mastodon`: Link to the Mastodon profile. e.g. "https://mastodon.technology/@kde"
* `social.linkedin`: Link to the LinkedIn profile. e.g. "https://www.linkedin.com/company/29561/"
* `social.reddit`: Link to the Reddit discussion page. e.g. "https://www.reddit.com/r/kde/"
* `social.youtube`: Link to the YouTube channel. e.g. "https://www.youtube.com/channel/UCF3I1gf7GcbmAb0mR6vxkZQ"
* `social.peertube`: Link to PeerTube channel. e.g. "https://peertube.mastodon.host/accounts/kde/videos"
* `social.vk`: Link to VK profile. e.g. "https://vk.com/kde_ru"
`navigation` option example:
......
......@@ -57,21 +57,55 @@
</section>
<section id="kSocial" class="container kSocialLinks">
<a class="shareFacebook" href="https://www.facebook.com/kde/" rel="nofollow">Post on Facebook</a>
<a class="shareTwitter" href="https://twitter.com/kdecommunity" rel="nofollow">Share on Twitter</a>
<a class="shareDiaspora" href="https://joindiaspora.com/people/9c3d1a454919ef06" rel="nofollow">Share on Diaspora</a>
<a class="shareMastodon" href="https://mastodon.technology/@kde" rel="me nofollow">Share on Mastodon</a>
<a class="shareLinkedIn" href="https://www.linkedin.com/company/29561/" rel="nofollow">Share on LinkedIn</a>
<a class="shareReddit" href="https://www.reddit.com/r/kde/" rel="nofollow">Share on Reddit</a>
<a class="shareYouTube" href="https://www.youtube.com/channel/UCF3I1gf7GcbmAb0mR6vxkZQ" rel="nofollow">Share on YouTube</a>
<a class="sharePeerTube" href="https://peertube.mastodon.host/accounts/kde/videos" rel="nofollow">Share on PeerTube</a>
<a class="shareVK" href="https://vk.com/kde_ru" rel="nofollow">Share on VK</a>
{% if site.social %}
{% if site.social.facebook %}
<a class="shareFacebook" href="{{ site.social.facebook }}" rel="nofollow">Post on Facebook</a>
{% endif %}
{% if site.social.twitter %}
<a class="shareTwitter" href="{{ site.social.twitter }}" rel="nofollow">Share on Twitter</a>
{% endif %}
{% if site.social.diaspora %}
<a class="shareDiaspora" href="{{ site.social.diaspora }}" rel="nofollow">Share on Diaspora</a>
{% endif %}
{% if site.social.mastodon %}
<a class="shareMastodon" href="{{ site.social.mastodon }}" rel="me nofollow">Share on Mastodon</a>
{% endif %}
{% if site.social.linkedin %}
<a class="shareLinkedIn" href="{{ site.social.linkedin }}" rel="nofollow">Share on LinkedIn</a>
{% endif %}
{% if site.social.reddit %}
<a class="shareReddit" href="{{ site.social.reddit }}" rel="nofollow">Share on Reddit</a>
{% endif %}
{% if site.social.youtube %}
<a class="shareYouTube" href="{{ site.social.youtube }}" rel="nofollow">Share on YouTube</a>
{% endif %}
{% if site.social.peertube %}
<a class="sharePeerTube" href="{{ site.social.peertube }}" rel="nofollow">Share on PeerTube</a>
{% endif %}
{% if site.social.vk %}
<a class="shareVK" href="{{ site.social.vk }}" rel="nofollow">Share on VK</a>
{% endif %}
{% else %}
<a class="shareFacebook" href="https://www.facebook.com/kde/" rel="nofollow">Post on Facebook</a>
<a class="shareTwitter" href="https://twitter.com/kdecommunity" rel="nofollow">Share on Twitter</a>
<a class="shareDiaspora" href="https://joindiaspora.com/people/9c3d1a454919ef06" rel="nofollow">Share on Diaspora</a>
<a class="shareMastodon" href="https://mastodon.technology/@kde" rel="me nofollow">Share on Mastodon</a>
<a class="shareLinkedIn" href="https://www.linkedin.com/company/29561/" rel="nofollow">Share on LinkedIn</a>
<a class="shareReddit" href="https://www.reddit.com/r/kde/" rel="nofollow">Share on Reddit</a>
<a class="shareYouTube" href="https://www.youtube.com/channel/UCF3I1gf7GcbmAb0mR6vxkZQ" rel="nofollow">Share on YouTube</a>
<a class="sharePeerTube" href="https://peertube.mastodon.host/accounts/kde/videos" rel="nofollow">Share on PeerTube</a>
<a class="shareVK" href="https://vk.com/kde_ru" rel="nofollow">Share on VK</a>
{% endif %}
</section>
<section id="kLegal" class="container">
<div class="row">
<small class="col-4">
Maintained by <a href="mailto:kde-www@kde.org">KDE www</a>
Maintained by {% if site.maintainer %}
<a href="{{ site.maintainer.href }}">{{ site.maintainer.name }}</a>
{% else %}
<a href="mailto:kde-www@kde.org">KDE www</a>
{% endif %}
</small>
<small class="col-8 text-right">
KDE<sup>®</sup> and <a href="/media/images/trademark_kde_gear_black_logo.png">the K Desktop Environment<sup>®</sup> logo</a> are registered trademarks of <a href="https://ev.kde.org/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment