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 | |
| download | arslaancodes-f411bc46a2e535d0404f4b50bbb5c55c1fe8eb59.tar.xz arslaancodes-f411bc46a2e535d0404f4b50bbb5c55c1fe8eb59.zip | |
Initial commit
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | content/blog/_index.md | 6 | ||||
| -rw-r--r-- | content/blog/test.md | 4 | ||||
| -rw-r--r-- | static/style.css | 5 | ||||
| -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 | ||||
| -rw-r--r-- | zola.toml | 16 |
10 files changed, 89 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a48cf0d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public diff --git a/content/blog/_index.md b/content/blog/_index.md new file mode 100644 index 0000000..c504e1b --- /dev/null +++ b/content/blog/_index.md @@ -0,0 +1,6 @@ ++++ +title = "Blog" +sort_by = "date" +template = "blog.html" +page_template = "blog-page.html" ++++ diff --git a/content/blog/test.md b/content/blog/test.md new file mode 100644 index 0000000..3173690 --- /dev/null +++ b/content/blog/test.md @@ -0,0 +1,4 @@ ++++ +title = "Blog post test" +date = 2026-07-17 ++++ diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..defd54a --- /dev/null +++ b/static/style.css @@ -0,0 +1,5 @@ +body { + background: #1e1e2f; + color: #eee; + font-family: sans-serif; +} 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 %} diff --git a/zola.toml b/zola.toml new file mode 100644 index 0000000..f48c191 --- /dev/null +++ b/zola.toml @@ -0,0 +1,16 @@ +# The URL the site will be built for +base_url = "https://arslaancodes.com" + +# Whether to automatically compile all Sass files in the sass directory +compile_sass = false + +# Whether to build a search index to be used later on by a JavaScript library +build_search_index = false + +[markdown] + +[markdown.highlighting] +theme = "catppuccin-mocha" + +[extra] +# Put all your custom variables here |
