diff options
| author | Arslaan Pathan <[email protected]> | 2026-07-17 21:11:08 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-07-17 21:11:08 +1200 |
| commit | f411bc46a2e535d0404f4b50bbb5c55c1fe8eb59 (patch) | |
| tree | 1b06ce926053ed19e086bec97da0d9fc3923bc24 /templates | |
| download | arslaancodes-f411bc46a2e535d0404f4b50bbb5c55c1fe8eb59.tar.xz arslaancodes-f411bc46a2e535d0404f4b50bbb5c55c1fe8eb59.zip | |
Initial commit
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 18 | ||||
| -rw-r--r-- | templates/blog-page.html | 9 | ||||
| -rw-r--r-- | templates/blog.html | 10 | ||||
| -rw-r--r-- | templates/header.html | 12 | ||||
| -rw-r--r-- | templates/index.html | 8 |
5 files changed, 57 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..a9bd296 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <title>Arslaan Pathan</title> + <link rel="stylesheet" href="/style.css"> +</head> + +<body> + {% include "header.html" %} + <section class="section"> + <div class="container"> + {% block content %} {% endblock content %} + </div> + </section> +</body> + +</html> diff --git a/templates/blog-page.html b/templates/blog-page.html new file mode 100644 index 0000000..9902bb6 --- /dev/null +++ b/templates/blog-page.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block content %} +<h1 class="title"> + {{ page.title }} +</h1> +<p class="subtitle"><strong>{{ page.date }}</strong></p> +{{ page.content | safe }} +{% endblock content %} diff --git a/templates/blog.html b/templates/blog.html new file mode 100644 index 0000000..4653d1c --- /dev/null +++ b/templates/blog.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} + +{% block content %} +<h1 class="title">{{ section.title }}</h1> +<ul> + {% for page in section.pages %} + <li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li> + {% endfor %} +</ul> +{% endblock content %} diff --git a/templates/header.html b/templates/header.html new file mode 100644 index 0000000..b81c946 --- /dev/null +++ b/templates/header.html @@ -0,0 +1,12 @@ +<header> + <div class="header-inner"> + <div class="site-title"> + <a href="/">arslaan@thinkpad-e16-void:~</a> + </div> + <nav> + <a href="/">home</a> + <a href="/projects">projects</a> + <a href="/blog">blog</a> + </nav> + </div> +</header> diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..b547a2f --- /dev/null +++ b/templates/index.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block content %} +<div class="hey"> + <h1 class="pre-title">Hey, I'm Arslaan!</h1> + <h3 class="title">I’m a 13-year-old developer exploring systems programming, Linux, FOSS, reverse-engineering, jailbreaking, and a bit of embedded systems.</h3> +</div> +{% endblock content %} |
