Initial upload

This commit is contained in:
Waifu 2022-03-27 23:45:29 -03:00
parent 9f3cf0e6a8
commit c25f32b4d0
71 changed files with 1009 additions and 0 deletions

30
.gitignore vendored Normal file
View file

@ -0,0 +1,30 @@
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so
# Folders
_obj
_test
# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out
*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*
_testmain.go
*.exe
*.test
public
themes
resources
assets/jsconfig.json
.DS_Store

0
.hugo_build.lock Normal file
View file

8
archetypes/blog.md Normal file
View file

@ -0,0 +1,8 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: false
image: "image.png"
categories: ["Blogs"]
---

View file

@ -0,0 +1,8 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: false
image: "image.png"
categories: ["Comics"]
---

8
archetypes/comic.md Normal file
View file

@ -0,0 +1,8 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: false
image: "image.png"
categories: ["Comics"]
---

View file

@ -0,0 +1,7 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: false
image: "image.png"
---

6
archetypes/default.md Normal file
View file

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: false
---

View file

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

BIN
assets/img/avatar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

22
assets/scss/custom.scss Normal file
View file

@ -0,0 +1,22 @@
@font-face {
font-family: "Playtime";
src: url('/fonts/playtime.ttf') format('truetype');
}
@font-face {
font-family: "Bubblegum";
src: url('/fonts/bubblegum-sans.regular.ttf') format('truetype');
}
body{
font-family: "Bubblegum",sans-serif;
--article-font-family: "Playtime";
--article-font-size: 20px;
}

212
config.yaml Normal file
View file

@ -0,0 +1,212 @@
baseurl: https://the.waifuism.life
languageCode: en-us
theme: hugo-theme-stack
paginate: 5
title: The waifuism life
languages:
en:
languageName: English
title: The Waifuism life
weight: 1
es:
languageName: Español
title: The Waifuism life
weight: 2
# Change it to your Disqus shortname before using
disqusShortname: hugo-theme-stack
# Theme i18n support
# Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el, uk, ar
DefaultContentLanguage: en
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
# This will make .Summary and .WordCount behave correctly for CJK languages.
hasCJKLanguage: false
permalinks:
post: /p/:slug/
page: /:slug/
params:
mainSections:
- blog
- comic
featuredImageField: image
rssFullContent: true
favicon: /img/favicon.png
footer:
since: 2020
customText:
dateFormat:
published: 02 Jan 2006
lastUpdated: 02 Jan 2006 15:04 MST
sidebar:
emoji: ❤️
subtitle: Me do stuff.
avatar:
enabled: true
local: true
src: img/avatar.png
article:
math: false
toc: true
readingTime: true
license:
enabled: true
default: Licensed under GPL-2.0-only
comments:
enabled: true
provider: disqus
disqusjs:
shortname:
apiUrl:
apiKey:
admin:
adminLabel:
utterances:
repo:
issueTerm: pathname
label:
remark42:
host:
site:
locale:
vssue:
platform:
owner:
repo:
clientId:
clientSecret:
autoCreateIssue: false
# Waline client configuration see: https://waline.js.org/en/reference/client.html
# See https://cactus.chat/docs/reference/web-client/#configuration for description of the various options
giscus:
repo:
repoID:
category:
categoryID:
mapping:
lightTheme:
darkTheme:
reactionsEnabled: 1
emitMetadata: 0
gitalk:
owner:
admin:
repo:
clientID:
clientSecret:
cusdis:
host:
id:
widgets:
homepage:
- type: search
- type: archives
params:
limit: 5
- type: categories
params:
limit: 10
- type: tag-cloud
params:
limit: 10
page:
- type: toc
opengraph:
twitter:
# Your Twitter username
site: waifuism_life
# Available values: summary, summary_large_image
card: summary_large_image
defaultImage:
opengraph:
enabled: false
local: false
src:
colorScheme:
# Display toggle
toggle: true
# Available values: auto, light, dark
default: auto
imageProcessing:
cover:
enabled: true
content:
enabled: true
### Custom menu
### See https://docs.stack.jimmycai.com/configuration/custom-menu.html
### To remove about, archive and search page menu item, remove `menu` field from their FrontMatter
menu:
main: []
social:
- identifier: git
name: Git Repositories
url: https://git.waifuism.life
params:
icon: infinity
- identifier: twitter
name: Twitter
url: https://twitter.com/waifuism_life
params:
icon: brand-twitter
related:
includeNewer: true
threshold: 60
toLower: false
indices:
- name: tags
weight: 100
- name: categories
weight: 200
markup:
goldmark:
renderer:
## Set to true if you have HTML content inside Markdown
unsafe: false
tableOfContents:
endLevel: 4
ordered: true
startLevel: 2
highlight:
noClasses: false
codeFences: true
guessSyntax: true
lineNoStart: 1
lineNos: true
lineNumbersInTable: true
tabWidth: 4

8
content/_index.md Normal file
View file

@ -0,0 +1,8 @@
---
menu:
main:
name: Home
weight: -100
params:
icon: home
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

View file

@ -0,0 +1,9 @@
---
title: "Meantime"
date: 2022-03-27T23:06:49-03:00
draft: false
image: "image.png"
categories: ["Blogs"]
---
So I decided to go for it and be done with it since I'm not quite sure what happened with the other website, I'm gonna be changing things around in the meantime.
Also krita crashed while editing this I wanted to make it go from side to side but both ease of use and good documentation is something the linux nerds' software lacks.

View file

@ -0,0 +1,9 @@
---
title: "Meantime"
date: 2022-03-27T23:06:49-03:00
draft: false
image: "image.png"
categories: ["Blogs"]
---
So I decided to go for it and be done with it since I'm not quite sure what happened with the other website, I'm gonna be changing things around in the meantime.
Also krita crashed while editing this I wanted to make it go from side to side but both ease of use and good documentation is something the linux nerds lack.

View file

@ -0,0 +1,8 @@
---
title: "Sitio"
date: 2022-03-13T21:54:14-03:00
draft: false
categories: ["Blogs"]
---
Todavia no estoy seguro de que publicar aqui, quizas ni mantenga el lenguaje secundario, pero es una posibilidad de que lo vaya a utilizar alguna vez.

View file

@ -0,0 +1,8 @@
---
title: "Sitio"
date: 2022-03-13T21:54:14-03:00
draft: false
image: "image.png"
categories: ["Blogs"]
---

View file

@ -0,0 +1,23 @@
---
title: "Bicycle"
date: 2022-03-13T21:44:17-03:00
draft: false
categories: ["Blogs"]
tags: ["Talk"]
---
Been thinking of buying one, I know its like wasted money in some sense, but Im trying to be positive in the thought that it might just bring me some peace of mind. I love traveling by bicycle and I could do with less weigh.
Last post I was talking about how I had some money laying around, I decided to go for it and buy a new SSD. Installed Linux on it and now Ive been using it as my main OS, goes a little slow sometimes, and I have to use an entire windows 10 vm to be able to work, but its doing its job. Im not quite sure if its kde or something else, I might give cinnamon another try. (Not quite sure how to change desktop environment)
Another thing I was looking at were the prices of ryzen, its still a lot of money for me, and Im still not sure what else to use that money on.
Also related to that, Ive been keeping 100 usd every month for adding to an investing company (yeah Im saving that money) I might even exchange some cash to have it on hand.
Apart from that Im not really sure what to do with it.
Its not that I couldnt tell you “oooh I want a new computer” or “oooh I want a car” like yeah, those would be nice things, but I dont really feel like I need them.
I feel like I want to stop having so many things, I want to share time with people and have new experiences.
I might just ask my landlord if I can keep a hamster, or maybe a bunny theyre cute. Dogs are also cute but most are bigger in comparison and they might damage the floor (isnt that expensive, but the contract says I cant have them)

View file

@ -0,0 +1,8 @@
---
title: "Bicycle"
date: 2022-03-13T21:44:17-03:00
draft: false
image: "image.png"
categories: ["Blogs"]
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View file

@ -0,0 +1,8 @@
---
title: "Maekawa"
date: 2022-03-13T21:37:11-03:00
draft: false
image: "Maekawa.webp"
categories: ["Blogs"]
---

View file

@ -0,0 +1,8 @@
---
title: "Maekawa"
date: 2022-03-13T21:37:11-03:00
draft: false
image: "image.png"
categories: ["Blogs"]
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -0,0 +1,27 @@
---
title: "New comic"
date: 2022-03-13T21:32:36-03:00
draft: false
image: "image.webp"
categories: ["Blogs"]
tags: ["meta"]
---
After a rush of autism I decided to make another comic and name it “commited lines”
![](home.webp)
Theres not much about it yet, the first chapter is nothing but i just wanted to start doing something.
Sometimes i feel bad about not making projects or leaving them unfinished, I guess by doing them by myself alone I can go and rush them quickly and learn from experience that way, Im not that good with long projects.
I have a new plushie though.
I also found a place that sells little models of different kinds of vehicles.
Ill be sure to check them out since I wanted to play with legos but theyre kind of expensive.
Believe it or not, these are actually cheaper.
![](image_2.webp)

View file

@ -0,0 +1,25 @@
---
title: "New comic"
date: 2022-03-13T21:32:36-03:00
draft: false
image: "image.webp"
categories: ["Blogs"]
tags: ["meta"]
---
After a rush of autism I decided to make another comic and name it “commited lines”
![](home.webp)
Theres not much about it yet, the first chapter is nothing but i just wanted to start doing something.
Sometimes i feel bad about not making projects or leaving them unfinished, I guess by doing them by myself alone I can go and rush them quickly and learn from experience that way, Im not that good with long projects.
I have a new plushie though.
I also found a place that sells little models of different kinds of vehicles.
Ill be sure to check them out since I wanted to play with legos but theyre kind of expensive.
Believe it or not, these are actually cheaper.

View file

@ -0,0 +1,6 @@
---
title: "Plush"
date: 2022-03-13T21:14:37-03:00
draft: false
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

View file

@ -0,0 +1,9 @@
---
title: "Plush"
date: 2022-03-13T21:14:37-03:00
draft: false
image: "image.webp"
categories: "Blogs"
---
I recently bought some cute frens and wanted to share them, most of them are dirty though I should really clean them (I got like 4 plushies apart from these)

View file

@ -0,0 +1,9 @@
---
title: "Plush"
date: 2022-03-13T21:14:37-03:00
draft: false
image: "image.webp"
categories: "Blog"
---
I recently bought some cute frens and wanted to share them, most of them are dirty though I should really clean them (I got like 4 plushies apart from these)

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View file

@ -0,0 +1,24 @@
---
title: "Present thoughts"
date: 2022-03-13T21:47:56-03:00
draft: false
image: "image.webp"
categories: ["Blogs"]
tags: ["Talk"]
---
Ive been struggling with a lot of things lately, some people know about it, but if Im brutal honest, its mostly related to the daily chores.
But one thing that I thought that had been gone were fun and plans.
Yeah sure, not having fun is easy to explain, but plans is something many people have and tend to want to have, yet Im not wanting to make any.
The only loose think that could be considered a plan is that Id like to start a family of my own.
But thats so loose.
I find myself with extra money in my account and Im not sure what to do with it.
A better pc? Some game console? Nah
I kind of just started feeling better just with the little I have if Im honest.

View file

@ -0,0 +1,24 @@
---
title: "Present thoughts"
date: 2022-03-13T21:47:56-03:00
draft: false
image: "image.webp"
categories: ["Blogs"]
tags: ["Talking"]
---
Ive been struggling with a lot of things lately, some people know about it, but if Im brutal honest, its mostly related to the daily chores.
But one thing that I thought that had been gone were fun and plans.
Yeah sure, not having fun is easy to explain, but plans is something many people have and tend to want to have, yet Im not wanting to make any.
The only loose think that could be considered a plan is that Id like to start a family of my own.
But thats so loose.
I find myself with extra money in my account and Im not sure what to do with it.
A better pc? Some game console? Nah
I kind of just started feeling better just with the little I have if Im honest.

View file

@ -0,0 +1,12 @@
---
title: "Show"
date: 2022-03-13T21:47:14-03:00
draft: false
categories: ["Blogs"]
tags: ["Talk"]
---
The other week I went to a show over at the center of Buenos Aires, I was able to feel ok for most of it, but it is still kind of weird going alone
even though it makes much more sense, since you know, you dont really talk inside the theatre, you just laugh or watch.

View file

@ -0,0 +1,11 @@
---
title: "Show"
date: 2022-03-13T21:47:14-03:00
draft: false
categories: ["Blogs"]
---
The other week I went to a show over at the center of Buenos Aires, I was able to feel ok for most of it, but it is still kind of weird going alone
even though it makes much more sense, since you know, you dont really talk inside the theatre, you just laugh or watch.

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 KiB

View file

@ -0,0 +1,17 @@
---
title: "Site migration"
date: 2022-03-13T21:17:51-03:00
draft: false
image: "image.webp"
categories: "Blogs"
tags: ["Talk","Meta","Fediverse"]
---
Recently I did a whole site migration, it is now being hosted by a server inside my home, you may find some broken links or images, if thats the case please be sure to tell to me, I know theres some broken ones in the last posts.
I also installed misskey in the server and its now serving in bub.waifuism.life, this wasnt really that necessary, but I didnt wanted my pleroma to go down and not be able to tell about it at least.
I have many ideas but have the tendency to work slowly, again, Im not sure what I want to do.
About the whole controversy currently happening in the pleroma community, my only comment is that I think its being blown out of proportion, and would be a good idea to wait a bit, cool yourself down and then try to work things out. (Both sides)
I really dont want more fights

View file

@ -0,0 +1,17 @@
---
title: "Site migration"
date: 2022-03-13T21:17:51-03:00
draft: false
image: "image.webp"
categories: "Blogs"
tags: ["blog","meta","fediverse"]
---
Recently I did a whole site migration, it is now being hosted by a server inside my home, you may find some broken links or images, if thats the case please be sure to tell to me, I know theres some broken ones in the last posts.
I also installed misskey in the server and its now serving in bub.waifuism.life, this wasnt really that necessary, but I didnt wanted my pleroma to go down and not be able to tell about it at least.
I have many ideas but have the tendency to work slowly, again, Im not sure what I want to do.
About the whole controversy currently happening in the pleroma community, my only comment is that I think its being blown out of proportion, and would be a good idea to wait a bit, cool yourself down and then try to work things out. (Both sides)
I really dont want more fights

View file

@ -0,0 +1,17 @@
---
title: "Time"
date: 2022-03-13T21:39:17-03:00
draft: false
image: "mastodon.webp"
categories: ["Blogs"]
tags: ["Talk"]
---
Sometimes I wonder, what would I do if I had free days to do whatever I wanted?
I tried doing some koikatsu based on an idea of making an anime version of the mastodon mascot, mostly for memes and such, but I didnt really liked how it ended up.
Maybe making the ears accessories but keeping the side hair as tusks could help up a bit.
Apart from that I didnt feel like I used my weekend for much.
Loneliness is such a weird feeling.

View file

@ -0,0 +1,16 @@
---
title: "Time"
date: 2022-03-13T21:39:17-03:00
draft: false
image: "mastodon.webp"
categories: ["Blogs"]
---
Sometimes I wonder, what would I do if I had free days to do whatever I wanted?
I tried doing some koikatsu based on an idea of making an anime version of the mastodon mascot, mostly for memes and such, but I didnt really liked how it ended up.
Maybe making the ears accessories but keeping the side hair as tusks could help up a bit.
Apart from that I didnt feel like I used my weekend for much.
Loneliness is such a weird feeling.

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

View file

@ -0,0 +1,32 @@
---
title: "Undaily"
date: 2022-03-13T21:36:36-03:00
draft: false
categories: ["Blogs"]
---
sometimes I wonder what will I end up doing, now Im just writing my instantaneous thoughts before sleeping.
what I meant by doing was about the future.
all related to the current state of the world and far more importantly my life
one word I cannot stop thinking about after I talked with a close friend of my mother was “orphan”.
i only began noticing it after he pointed it out.
Im guessing hes kind of correct in his assessment, its not that I dislike my cousins or uncles, but they never felt like family the same way my mom and my grandma did.
i also spent so much with my nana. I couldnt see her in her final moments, I wasnt able to talk to her, she just disappeared.
Sometimes I really wish for that.
Some days I cant stop those thoughts.
Surprisingly the only thing that lets me stop thinking about anything is doing art. Dailyrat has been one of the most therapeutical things Ive done.
heres some more pictures that didnt made the cut for the dailyrat and the other that was used as foreground.
have a nice day

View file

@ -0,0 +1,8 @@
---
title: "Undaily"
date: 2022-03-13T21:36:36-03:00
draft: false
image: "image.png"
categories: ["Blogs"]
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

View file

@ -0,0 +1,10 @@
---
title: "1"
date: 2022-03-09T00:07:31-03:00
draft: false
image: "image.png"
categories: ["Comics"]
tags: ["Commited Lines"]
---
![](image.png)

View file

@ -0,0 +1,9 @@
---
title: "1"
date: 2022-03-09T00:07:31-03:00
draft: false
image: "image.png"
categories: ["Comics"]
---
![](image.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

View file

@ -0,0 +1,9 @@
---
title: "Bootleg"
date: 2022-03-09T00:01:05-03:00
draft: false
image: "image.png"
categories: ["Comics"]
tags: ["wafuverse"]
---

View file

@ -0,0 +1,8 @@
---
title: "Bootleg"
date: 2022-03-09T00:01:05-03:00
draft: false
image: "image.png"
tags: ["wafuverse"]
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

View file

@ -0,0 +1,36 @@
---
title: Acerca de
description: Yo?
aliases:
- about-es
- about-hugo
- contact
menu:
main:
weight: -90
params:
icon: user
comments: false
---
Artista del fediverso (al menos)
Estoy en:
* [Waifuism.life/waifu](https://waifuism.life/waifu) (Donde mas estoy)
* [shitposter.club/waifu](shitposter.club/waifu) (Alt para cuando daño todo)
* otros lugares
O escribeme a waifuism(at)tutanota.com
![](avatar.png)
*Es posible* que Pleroma-tan embarazada se este escondiendo en alguna parte.

View file

@ -0,0 +1,36 @@
---
title: Acerca de
description: Yo?
aliases:
- about-es
- about-hugo
- contact
menu:
main:
weight: -90
params:
icon: user
comments: true
---
Artista del fediverso (al menos)
Estoy en:
* [Waifuism.life/waifu](https://waifuism.life/waifu) (Donde mas estoy)
* [shitposter.club/waifu](shitposter.club/waifu) (Alt para cuando daño todo)
* otros lugares
O escribeme a waifuism(at)tutanota.com
![](avatar.png)
*Es posible* que Pleroma-tan embarazada se este escondiendo en alguna parte.

View file

@ -0,0 +1,39 @@
---
title: About
description: Wanna know more about me?
date: '2019-02-28'
aliases:
- about-us
- about-hugo
- contact
license: CC BY-NC-ND
lastmod: '2020-10-09'
menu:
main:
weight: -90
params:
icon: user
comments: False
---
Okayish fediverse artist.
You can find me at:
* [Waifuism.life/waifu](https://waifuism.life/waifu) (main account)
* [shitposter.club/waifu](shitposter.club/waifu)
* a lot of other places I'm too lazy to list rn
Otherwise write me to waifuism(at)tutanota.com
![](avatar.png)
Pleroma-tan pregnant *may* be hiding somewhere.

View file

@ -0,0 +1,37 @@
---
title: About
description: Wanna know more about me?
date: '2019-02-28'
aliases:
- about-us
- about-hugo
- contact
license: CC BY-NC-ND
lastmod: '2020-10-09'
menu:
main:
weight: -90
params:
icon: user
---
Okayish fediverse artist.
You can find me at:
* [Waifuism.life/waifu](https://waifuism.life/waifu) (main account)
* [shitposter.club/waifu](shitposter.club/waifu)
* a lot of other places I'm too lazy to list rn
Otherwise write me to waifuism(at)tutanota.com
![](avatar.png)
Pleroma-tan pregnant *may* be hiding somewhere.

View file

@ -0,0 +1,11 @@
---
title: "Archives"
date: 2019-05-28
layout: "archives"
slug: "archives"
menu:
main:
weight: -70
params:
icon: archives
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View file

@ -0,0 +1,43 @@
---
title: Friends
links:
- title: Nekobit
description: An autistic guy that loves to shitpost and have fun.
website: https://nekobit.net
image: nekobit.png
- title: Sam Therapy
description: A fun girl hosting fun things.
website: https://samtherapy.xyz
image: sam.png
- title: Grumbulon
description: Smoke loving cat.
website: https://grumbulon.xyz
image: grumb.png
- title: TWL
description: Programmer and guitar player in the making.
website: https://8777.ch/
image: twl.png
- title: Coyote
description: Helps me lots, loves music.
website: https://coy.neocities.org/~coy/
image: coyote.png
menu:
main:
weight: -50
params:
icon: link
comments: false
---
A list of some of my friend's websites.

View file

@ -0,0 +1,43 @@
---
title: Friends
links:
- title: Nekobit
description: An autistic guy that loves to shitpost and have fun.
website: https://nekobit.net
image: nekobit.png
- title: Sam Therapy
description: A fun girl hosting fun things.
website: https://samtherapy.xyz
image: sam.png
- title: Grumbulon
description: Smoke loving cat.
website: https://grumbulon.xyz
image: nekobit.png
- title: TWL
description: Programmer and guitar player in the making.
website: https://8777.ch/
image: twl.png
- title: Coyote
description: Helps me lots, loves music.
website: https://coy.neocities.org/~coy/
image: coyote.png
menu:
main:
weight: -50
params:
icon: link
comments: false
---
A list of some of my friend's websites.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

View file

@ -0,0 +1,13 @@
---
title: "Search"
slug: "search"
layout: "search"
outputs:
- html
- json
menu:
main:
weight: -60
params:
icon: search
---

46
layouts/comic/single.html Normal file
View file

@ -0,0 +1,46 @@
{{ define "body-class" }}
article-page
{{/*
Enable the right sidebar if
- Widget different from 'TOC' is enabled
- TOC is enabled and not empty
*/}}
{{- $HasWidgetNotTOC := false -}}
{{- $TOCWidgetEnabled := false -}}
{{- range .Site.Params.widgets.page -}}
{{- if ne .type "toc" -}}
{{ $HasWidgetNotTOC = true -}}
{{- else -}}
{{ $TOCWidgetEnabled = true -}}
{{- end -}}
{{- end -}}
{{- $TOCManuallyDisabled := eq .Params.toc false -}}
{{- $TOCEnabled := and (not $TOCManuallyDisabled) $TOCWidgetEnabled -}}
{{- $hasTOC := ge (len .TableOfContents) 100 -}}
{{- .Scratch.Set "TOCEnabled" (and $TOCEnabled $hasTOC) -}}
{{- .Scratch.Set "hasWidget" (or $HasWidgetNotTOC (and $TOCEnabled $hasTOC)) -}}
{{ end }}
{{ define "main" }}
{{ partial "article/article.html" . }}
{{ if .Params.links }}
{{ partial "article/components/links" . }}
{{ end }}
{{ partial "article/components/related-contents" . }}
{{ if not (eq .Params.comments false) }}
{{ partial "comments/include" . }}
{{ end }}
{{ partialCached "footer/footer" . }}
{{ partialCached "article/components/photoswipe" . }}
{{ end }}
{{ define "right-sidebar" }}
{{ if .Scratch.Get "hasWidget" }}{{ partial "sidebar/right.html" (dict "Context" . "Scope" "page") }}{{ end}}
{{ end }}

19
layouts/index.html Normal file
View file

@ -0,0 +1,19 @@
{{ define "main" }}
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
{{ $notHidden := where .Site.RegularPages "Params.hidden" "!=" true }}
{{ $filtered := ($pages | intersect $notHidden) }}
{{ $pag := .Paginate ($filtered) }}
<section class="article-list">
{{ range $index, $element := $pag.Pages }}
{{ partial "article-list/default" . }}
{{ end }}
</section>
{{- partial "pagination.html" . -}}
{{- partial "footer/footer" . -}}
{{ end }}
{{ define "right-sidebar" }}
{{ partial "sidebar/right.html" (dict "Context" . "Scope" "homepage") }}
{{ end }}

Binary file not shown.

BIN
static/fonts/oregano.ttf Normal file

Binary file not shown.

BIN
static/fonts/playtime.ttf Normal file

Binary file not shown.

BIN
static/img/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB