Compare commits
No commits in common. "a178fe3036241c9160c9eda8fa1eab7185783be7" and "b230383376ecc33381a2320e17e6ecc2ddb8e79c" have entirely different histories.
a178fe3036
...
b230383376
12
content/index.md
Normal file
12
content/index.md
Normal file
@ -0,0 +1,12 @@
|
||||
Hi, I'm Casual. Jack of all trades, master of none.
|
||||
|
||||
I write __short__ and clutterless aricles about:
|
||||
- hacking
|
||||
- technology
|
||||
- productivity
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## All posts
|
@ -67,7 +67,7 @@ params:
|
||||
style: dark-without-switcher
|
||||
mainSections: [ "blog" ] # which sections should be on index/main page
|
||||
sectionsWithFullContentOnListPage: [ "notes" ] # for which sections content should be displayed on list pages
|
||||
readMore: false # show read more button
|
||||
readMore: true # show read more button
|
||||
readNextPosts: 5 # show 5 related posts, 0 by default
|
||||
disableSummary: false
|
||||
toc: true # display Table of Contents
|
||||
|
20
template.md
20
template.md
@ -1,20 +0,0 @@
|
||||
+++
|
||||
title = 'HowTo DO SOMETHING
|
||||
date = 2024-05-03
|
||||
+++
|
||||
|
||||
<!-- -->
|
||||
|
||||
I forgot to write summary<!--more-->
|
||||
|
||||
|
||||
{{< spoiler Spoiler >}}
|
||||
I forgot to remove it from template
|
||||
{{< /spoiler >}}
|
||||
|
||||
|
||||
{{< source >}}
|
||||
Random YouTube videos
|
||||
My Experience
|
||||
{{< /source >}}
|
||||
|
@ -1,15 +0,0 @@
|
||||
{{ define "main" }}
|
||||
<div class="homepage-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
<div class="articles h-feed">
|
||||
{{ $pages := where (where site.RegularPages "Type" "in" site.Params.mainSections) "Params.hidden" "!=" true }}
|
||||
{{ range .Site.RegularPages }}
|
||||
{{ partial "post-summary.html" . }}
|
||||
{{ end }}
|
||||
{{ partial "pagination.html" . }}
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user