Add ABOUT_PAGE variable for linking an about page too the profile in home
This commit is contained in:
parent
43241c657c
commit
5896dc2ad0
2 changed files with 25 additions and 0 deletions
|
@ -1555,6 +1555,28 @@ img {
|
||||||
color: #f26a3d;
|
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 {
|
.post-comments {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
@ -67,6 +67,9 @@
|
||||||
{% if BIO %}
|
{% if BIO %}
|
||||||
<p class="post-author-about">{{BIO}}</p>
|
<p class="post-author-about">{{BIO}}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if ABOUT_PAGE %}
|
||||||
|
<span class="post-author-about-link"><a href="{{ABOUT_PAGE}}">Mon CV</a></span>
|
||||||
|
{% endif %}
|
||||||
{% if LOCATION %}
|
{% if LOCATION %}
|
||||||
<span class="post-author-location"><i class="ic ic-location"></i>
|
<span class="post-author-location"><i class="ic ic-location"></i>
|
||||||
{{LOCATION}}
|
{{LOCATION}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue