feat: Reworked project layout to use liquid + components
All checks were successful
Deploy Blog to Folder / deploy (push) Successful in 3s
All checks were successful
Deploy Blog to Folder / deploy (push) Successful in 3s
Made project make heavier use of component-based rendering and broke parts of layout into separate files for making future layout files easier and less redundant
This commit is contained in:
11
src/posts.liquid
Normal file
11
src/posts.liquid
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
layout: layout.liquid
|
||||
title: Posts
|
||||
---
|
||||
|
||||
<div class="container">
|
||||
{% for post in collections.post %}
|
||||
<h2><a href="{{ post.url }}">{{ post.data.title }}</a></h2>
|
||||
<p>{{ post.content }}</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user