Skip to content

Commit

Permalink
Integrate Blog
Browse files Browse the repository at this point in the history
  • Loading branch information
harrymkt committed Aug 28, 2024
1 parent d1290c3 commit 37e4d97
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Source/_layouts/post.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,12 @@

{{ page.content }}

{% include "footer.liquid" %}
<script src="https://utteranc.es/client.js"
repo="harrymkt/harrymkt.github.io"
issue-term="pathname"
theme="github-light"
crossorigin="anonymous"
async>
</script>

{% include "footer.liquid" %}
17 changes: 17 additions & 0 deletions Source/blog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
layout: default.liquid
title: Blog
permalink: /blog
---

# {{ collections.posts.title }}
{{ collections.posts.description }}

## posts
{% for post in collections.posts.pages %}
### [{{ post.title }}](/{{ post.permalink }})
Published on: {{ post.date: "%A, %B %d %Y at %r" }}

{{ post.excerpt | strip_html }}

{% endfor %}
7 changes: 7 additions & 0 deletions Source/blog/welcome.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: post.liquid
title: Welcome
is_draft: false
---
# Welcome
Welcome to my blog!

0 comments on commit 37e4d97

Please sign in to comment.