feat: updated template stypes for model-list, projects-list and blog-list

This commit is contained in:
Lucas Oskorep
2024-03-12 12:45:34 -04:00
parent 87d5e275dd
commit e2c05722d4
4 changed files with 49 additions and 4 deletions
+32
View File
@@ -0,0 +1,32 @@
{% extends "base.html" %}
{% block content %}
<div class="posts">
<h1 class="post-title">
<a>Posts</a>
</h1>
{% for article in articles %}
{% if article.category == 'blog' %}
<div class="post">
<h1 class="post-title" href="{{ SITEURL }}/{{ article.url }}">
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
</h1>
<span class="post-date">{{ article.locale_date }}</span>
{% if article.tags %}
<span class="post-tags">
Tags:
<ul>
{% for tag in article.tags %}
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
{% endfor %}
</ul>
</span>{% endif %}
<p>
{{ article.summary }}
</p>
<a class="read-more" href="{{ article.url }}">Continue reading »</a>
</div>
{% endif %}
{% endfor %}
</div>
{% endblock %}
+10 -2
View File
@@ -1,7 +1,15 @@
{% extends "base.html" %}
{% block content %}
<div class="post">
<h1 class="post-title">Hi! </h1>
<p>Thanks for visiting my website! I hope you find something interesting or useful here</p>
<h1 class="post-title"></h1>
<p>
Hi! My name is Lucas. I am a software engineer and most recently I ive been working at a startup called Rokt,
where I work on K8s infrastructure, developing scalable go microservices, and improving the developer
experience.
<br>
<br>
I made this website to document and share some of the coding and 3d printing projects Ive worked on.
Thanks for visiting!
</p>
</div>
{% endblock %}
+4 -1
View File
@@ -2,10 +2,13 @@
{% block content %}
<div class="posts">
PROJECT LIST HERE
<h1 class="post-title">
<a>Models</a>
</h1>
{% for article in articles %}
{% if article.category == 'models' %}
<div class="post">
{{ article.image }}
<h1 class="post-title" href="{{ SITEURL }}/{{ article.url }}">
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
</h1>
+3 -1
View File
@@ -2,7 +2,9 @@
{% block content %}
<div class="posts">
PROJECT LIST HERE
<h1 class="post-title">
<a>Models</a>
</h1>
{% for article in articles %}
{% if article.category == 'projects' %}
<div class="post">