--- /dev/null
++++
+title = "{{ replace .File.ContentBaseName "-" " " | title }}"
+date = {{ .Date }}
+draft = true
+type = "tech" # Options: tech, life, quote, link, photo
+featured = false
+image = "" # Optional: image path or URL
+description = "Brief description of the article (2 lines max)"
++++
+
+Write your article here...
+++
-date = '{{ .Date }}'
+title = "{{ replace .File.ContentBaseName "-" " " | title }}"
+date = {{ .Date }}
draft = true
-title = '{{ replace .File.ContentBaseName "-" " " | title }}'
+++
+
+Content here...
--- /dev/null
++++
+title = "{{ replace .File.ContentBaseName "-" " " | title }}"
+date = {{ .Date }}
+draft = false
+type = "page"
++++
+
+Write your page content here...
--- /dev/null
+// filters.js
+(function() {
+ const filterBtns = document.querySelectorAll('.filter-btn');
+ const feedList = document.getElementById('articles-feed');
+ const cards = feedList ? feedList.querySelectorAll('.post-card') : [];
+
+ if (!filterBtns.length || !cards.length) return;
+
+ filterBtns.forEach(btn => {
+ btn.addEventListener('click', function() {
+ const filter = this.dataset.filter;
+
+ // Update active button
+ filterBtns.forEach(b => b.classList.remove('active'));
+ this.classList.add('active');
+
+ // Filter cards
+ cards.forEach(card => {
+ const cardType = card.querySelector('.post-type-badge')?.classList[1];
+ const matches = filter === 'all' || cardType === filter;
+ card.style.display = matches ? '' : 'none';
+ });
+
+ // Scroll to top
+ window.scrollTo({ top: 0, behavior: 'smooth' });
+ });
+ });
+})();
+++
-title = 'Home'
-date = 2023-01-01T08:00:00-07:00
-draft = false
+title = "Home"
+date = 2026-01-01T00:00:00Z
+++
-Laborum voluptate pariatur ex culpa magna nostrud est incididunt fugiat
-pariatur do dolor ipsum enim. Consequat tempor do dolor eu. Non id id anim anim
-excepteur excepteur pariatur nostrud qui irure ullamco.
+This is the home page content. The landing page layout will use this, but typically you won't add much here — the hero and latest posts grid will be the main focus.
--- /dev/null
++++
+title = "Articles"
+date = 2026-01-01T00:00:00Z
++++
+
+Browse all articles, organized by type. Use the filters to find what you're looking for.
--- /dev/null
++++
+title = "About"
+date = 2026-01-01T00:00:00Z
++++
+
+Hi, I'm Danilo. I write about tech, life, and the things that matter.
+
+This is your about page. Edit this to tell your story.
</div>
{{ if eq .Type "articles" }}
- <script defer src="{{ resources.Get "js/filters.js" | fingerprint | .RelPermalink }}"></script>
+ {{ $filters := resources.Get "js/filters.js" | fingerprint }}
+ <script defer src="{{ $filters.RelPermalink }}"></script>
{{ end }}
{{ end }}