Add ABOUT_PAGE variable for linking an about page too the profile in home

This commit is contained in:
Yorick Barbanneau 2020-03-17 01:50:07 +01:00
parent 43241c657c
commit 5896dc2ad0
2 changed files with 25 additions and 0 deletions

View file

@ -1555,6 +1555,28 @@ img {
color: #f26a3d;
}
.post-author-about-link a {
display: inline-block;
margin: 0 0.333em 0.666em 0;
padding: 0.575em 1em;
background: #fff;
border: 1px solid #f26a3d;
font-weight: 500;
line-height: 1.333em;
text-align: center;
text-decoration: none;
color: #f26a3d;
border-radius: 2em;
transition: all ease 0.3s;
box-sizing: border-box
}
.post-author-about-link a:hover,
.post-author-about-link a:focus {
background: #f26a3d;
color: #fff
}
.post-comments {
position: relative;

View file

@ -67,6 +67,9 @@
{% if BIO %}
<p class="post-author-about">{{BIO}}</p>
{% endif %}
{% if ABOUT_PAGE %}
<span class="post-author-about-link"><a href="{{ABOUT_PAGE}}">Mon CV</a></span>
{% endif %}
{% if LOCATION %}
<span class="post-author-location"><i class="ic ic-location"></i>
{{LOCATION}}