From f411bc46a2e535d0404f4b50bbb5c55c1fe8eb59 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Fri, 17 Jul 2026 21:11:08 +1200 Subject: Initial commit --- .gitignore | 1 + content/blog/_index.md | 6 ++++++ content/blog/test.md | 4 ++++ static/style.css | 5 +++++ templates/base.html | 18 ++++++++++++++++++ templates/blog-page.html | 9 +++++++++ templates/blog.html | 10 ++++++++++ templates/header.html | 12 ++++++++++++ templates/index.html | 8 ++++++++ zola.toml | 16 ++++++++++++++++ 10 files changed, 89 insertions(+) create mode 100644 .gitignore create mode 100644 content/blog/_index.md create mode 100644 content/blog/test.md create mode 100644 static/style.css create mode 100644 templates/base.html create mode 100644 templates/blog-page.html create mode 100644 templates/blog.html create mode 100644 templates/header.html create mode 100644 templates/index.html create mode 100644 zola.toml 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 @@ + + + + + Arslaan Pathan + + + + + {% include "header.html" %} +
+
+ {% block content %} {% endblock content %} +
+
+ + + 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 %} +

+ {{ page.title }} +

+

{{ page.date }}

+{{ 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 %} +

{{ section.title }}

+ +{% 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 @@ +
+ +
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 %} +
+

Hey, I'm Arslaan!

+

I’m a 13-year-old developer exploring systems programming, Linux, FOSS, reverse-engineering, jailbreaking, and a bit of embedded systems.

+
+{% 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 -- cgit v1.2.3