aboutsummaryrefslogtreecommitdiff
path: root/src/index.njk
diff options
context:
space:
mode:
authorIndrajith K L2022-11-23 23:47:31 +0530
committerIndrajith K L2022-11-23 23:47:31 +0530
commite52cb8f5462f2c341281aaec246022d58f42dae5 (patch)
tree79a0adc2f5249b5c0c1cbcc281fc7a0c76efc028 /src/index.njk
parent186002c97f6eae656f6145961d3fc8fe460b7209 (diff)
downloadindrajith-dev-e52cb8f5462f2c341281aaec246022d58f42dae5.tar.gz
indrajith-dev-e52cb8f5462f2c341281aaec246022d58f42dae5.tar.bz2
indrajith-dev-e52cb8f5462f2c341281aaec246022d58f42dae5.zip
Main Website Changes
* Layout Changes
Diffstat (limited to 'src/index.njk')
-rw-r--r--src/index.njk19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/index.njk b/src/index.njk
index ad74cd6..e5437e9 100644
--- a/src/index.njk
+++ b/src/index.njk
@@ -13,19 +13,18 @@ alternatetitle: "Hello Friend!! My name is Indrajith K L."
</div>
<div>
- <h3>Recent Posts</h3>
- <div>
+ <h4>Recent Posts</h4>
+ <ul>
{% for post in collections.posts | reverse %}
{% if (loop.index <= 4) %}
- <div>
- <p>{{post.data.title}}</p>
- <div><a href="{{post.url}}">Read more</span></a></div>
- </div>
+ <li>
+ <p>{{post.data.title}} <a href="{{post.url}}">Read more</span></a></p>
+ </li>
{% endif %}
{% else %}
- <div>
- <p>No Posts</p>
- </div>
+ <li>
+ <p>No Posts</p>
+ </li>
{% endfor %}
- </div>
+ </ul>
</div>