Commit 4c2e3509 authored by Kirk Lange's avatar Kirk Lange

Better end-of-post social links

parent eacf53b2
......@@ -106,36 +106,35 @@ layout: default
</div>
{% if page.twitterurl or site.disqus_account or page.redditurl %}
<div class="content-panel feedback">
What do you all think? I'd <i class="fa fa-heart"></i> love to hear from you
{% if site.twitter_username and page.twitterurl %}
{% if site.disqus_account and page.redditurl %}
over on <a href="https://www.reddit.com/r/duplicates/{{ page.redditurl }}">reddit</a>,
<a href="http://www.twitter.com/{{ site.twitter_username }}/status/{{ page.twitterurl }}">twitter</a>,
and in the comments section below!
{% elsif site.disqus_account %}
over on <a href="http://www.twitter.com/{{ site.twitter_username }}/status/{{ page.twitterurl }}">twitter</a>
and in the comments section below!
{% elsif page.redditurl %}
over on <a href="https://www.reddit.com/r/duplicates/{{ page.redditurl }}">reddit</a> and
<a href="http://www.twitter.com/{{ site.twitter_username }}/status/{{ page.twitterurl }}">twitter</a>!
{% else %}
over on <a href="http://www.twitter.com/{{ site.twitter_username }}/status/{{ page.twitterurl }}">twitter</a>!
{% endif %}
{% else %}
{% if site.disqus_account and page.redditurl %}
over on <a href="https://www.reddit.com/r/duplicates/{{ page.redditurl }}">reddit</a>
and in the comments section below!
{% elsif page.redditurl %}
over on <a href="https://www.reddit.com/r/duplicates/{{ page.redditurl }}">reddit</a>!
{% elsif site.disqus_account %}
in the comments section below!
<div class="content-panel feedback" style="">
What do you all think? Share your toughts
{% if site.disqus_account %}
in the comments below or
{% endif %}
over on
{% if page.twitterurl or page.redditurl %}
<p class="links">
{% if page.redditurl %}
<a href="https://www.reddit.com/r/duplicates/{{ page.redditurl }}" target="_new"><i class="fab fa-reddit-alien"></i></a>
&nbsp;
{% endif %}
{% if site.twitter_username and page.twitterurl %}
<a href="http://www.twitter.com/{{ site.twitter_username }}/status/{{ page.twitterurl }}" target="_new"><i class="fab fa-twitter"></i></a>
&nbsp;
{% endif %}
</p>
{% endif %}
{% endif %}
<br><br>
</div>
{% endif %}
{% if site.disqus_account %}
{% else %}
<div class="content-panel notice">
As part of my commitment to keeping this website tracker-free, there
are no embedded comment modules.
</div>
</div>
{% endif %}
{% if site.disqus_account %}
......
......@@ -191,6 +191,7 @@ ul {
}
.fa, .fab, .fas {
color: $white;
-webkit-transition: 0.3s;
-moz-transition: 0.3s;
transition: 0.3s;
......@@ -743,6 +744,17 @@ ul {
.feedback {
text-align: center;
font-size: 18px;
@media (min-width: $screen-sm-min) {
font-size: 24px;
}
.links {
font-size: 2em;
margin-top: 0.2em;
margin-bottom: 0em;
}
.fa-heart {
color: $red;
......@@ -750,6 +762,15 @@ ul {
}
.notice {
text-align: center;
font-size: 12px;
@media (min-width: $screen-sm-min) {
font-size: 18px;
}
}
.comments {
}
......
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