jeffs-pelican-theme/templates/include/links.html

91 lines
2.4 KiB
HTML

<!DOCTYPE html>
<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}">
<head>
{% block head %}
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
{% if FAVICON %}
<link rel="icon" type="image/x-icon" href="{{ SITEURL }}/{{ FAVICON }}">
{% endif %}
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="generator" content="Pelican" />
{% if TRACKING == True %}
{% include 'include/trackingcode.html' %}
{% endif %}
{% endblock head %}
<style>
.linktree{
padding:20%;
padding-top:1%;
padding-bottom:1%;
text-align: center;
}
.linktreelink{
text-align: center;
margin-top: 1px;
padding: 20px 0;
max-width: 590px;
display: block;
margin-left: auto;
margin-right: auto;
margin-top:10px;
background-color:#f56a6a;
color:white;
text-decoration:none;
border-radius: 40px;
}
.linktreelink a {
border-bottom: none;
}
.linktreelink:hover{
color:#f56a6a;
background-color:white;
border: 2px solid;
border-color:#f56a6a;
}
</style>
</head>
<body class="is-preload">
<div class="linktree">
<header>
<h1>{{ page.title }}</h1>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% if BIO_IMAGE %}
<img src="{{ SITEURL }}/images/{{ BIO_IMAGE }}" style="max-width: 75%; display: inline; float: center; border-radius: 50%;" />
{% endif %}
</header>
<div class="linkwrapper">
{% for name, link in SOCIAL %}
<a class="linktreelink" href="{{ link }}" target="_blank" rel="me"><i>{{ name }}</i></a>
{% endfor %}
{% if FEED_ALL_ATOM %}
<a class="linktreelink" target="_blank" href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate">ATOM FEED</a>
{% endif %}
{% if FEED_ALL_RSS %}
<a class="linktreelink" target="_blank" href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}" type="application/rss+xml">RSS FEED</a>
{% endif %}
{% if CONTACT_EMAIL %}
<a href="mailto:{{CONTACT_EMAIL}}" aria-label="Email" title="Email" target="_blank"> </a>
{% endif %}
</div>
</div>
</div>
{% if IMAGETRACKINGCODE %}
{{ IMAGETRACKINGCODE }}
{% endif %}
</body>
</html>