summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-07-19 12:09:07 +1200
committerArslaan Pathan <[email protected]>2026-07-19 12:09:07 +1200
commit29e11a34c1ebe2335398912bcc9643f5afc1288a (patch)
tree2d39ac442beaf74e2f8d50bf8f3d0b9c87673677 /templates
parentb96b17d7d4e1557205cd91f582ae46265d6de632 (diff)
downloadarslaancodes-main.tar.xz
arslaancodes-main.zip
Finish projects page!HEADmain
Diffstat (limited to 'templates')
-rw-r--r--templates/project.html18
-rw-r--r--templates/projects-page.html9
2 files changed, 14 insertions, 13 deletions
diff --git a/templates/project.html b/templates/project.html
index 4653d1c..f2b73e1 100644
--- a/templates/project.html
+++ b/templates/project.html
@@ -1,10 +1,20 @@
{% extends "base.html" %}
{% block content %}
-<h1 class="title">{{ section.title }}</h1>
-<ul>
+<h1>{{ section.title }}</h1>
+<div class="projects-list-content">
+<div class="blog-list">
{% for page in section.pages %}
- <li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
+ <pre class="projects-entry wrap">
+ <div class="blog-ls wrap">
+<span class="white">$ </span><span class="green">cat </span><span class="white">{{ page.extra.displayed_filename }} | </span><span class="green">glow</span>
+ </div>
+ <h2 class="blog-title">
+ <a href="{{ page.extra.url | safe}}">{{ page.title }}</a>
+ </h2>
+ {{ page.content | safe }}
+ </pre>
{% endfor %}
-</ul>
+</div>
+</div>
{% endblock content %}
diff --git a/templates/projects-page.html b/templates/projects-page.html
deleted file mode 100644
index 9902bb6..0000000
--- a/templates/projects-page.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{% extends "base.html" %}
-
-{% block content %}
-<h1 class="title">
- {{ page.title }}
-</h1>
-<p class="subtitle"><strong>{{ page.date }}</strong></p>
-{{ page.content | safe }}
-{% endblock content %}