Skip to content

Commit

Permalink
Fix broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
ucg8j committed Nov 20, 2021
1 parent 7ded75d commit e30d55f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _includes/layouts/post.njk
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ templateClass: tmpl-post
<script type="text/javascript" src="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js" data-name="bmc-button" data-slug="6uRXFwMJD" data-color="#FFDD00" data-emoji="" data-font="Cookie" data-text="Buy me a coffee" data-outline-color="#000" data-font-color="#000" data-coffee-color="#fff" ></script>
<br>

✍️ Want to suggest an edit? <a href="https://github.com/ucg8j/blog/blob/master/posts/{{ slug }}.md">Raise a PR or an issue on Github</a>
{% if slug == 'about-me' %}
✍️ Want to suggest an edit? <a href="https://github.com/ucg8j/blog/blob/master/about/index.md">Raise a PR or an issue on Github</a>
{% else %}
✍️ Want to suggest an edit? <a href="https://github.com/ucg8j/blog/blob/master/posts/{{ slug }}.md">Raise a PR or an issue on Github</a>
{% endif %}

<hr>
1 change: 1 addition & 0 deletions about/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: layouts/post.njk
title: About Me
slug: about-me
templateClass: tmpl-post
eleventyNavigation:
key: About Me
Expand Down

0 comments on commit e30d55f

Please sign in to comment.