Skip to content

Commit

Permalink
footer: simplify url check
Browse files Browse the repository at this point in the history
  • Loading branch information
soygul committed Aug 23, 2020
1 parent 779648d commit ced0a70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ <h4>{{ site.description | default: site.github.project_tagline }}</h4>
</div>

<footer class="container" style="padding-bottom: 1rem;">
{% if page.url.start_with?("/articles/") || page.url.start_with?("/algorithms/") %}
<div>
{% if page.url contains "/articles/" or page.url contains "/algorithms/" %}
<p>
Afterword: QuanticDev is a website where I publish about software engineering. If you want to see future updates, follow me on <a href="https://www.youtube.com/quanticdev">youtube.com/quanticdev</a> or <a href="https://twitter.com/quantic_dev">twitter.com/quantic_dev</a>
</div>
</p>
{% endif %}

<small>
Expand Down

0 comments on commit ced0a70

Please sign in to comment.