dev #1

Merged
waifu merged 8 commits from dev into master 2 years ago
  1. 5
      config/_default/languages.en.toml
  2. 28
      config/_default/menus.en.toml
  3. 2
      config/_default/params.toml
  4. 8
      content/_index.md
  5. 0
      content/commitedlines/1/image.png
  6. 2
      content/commitedlines/1/index.md
  7. BIN
      content/commitedlines/feature_Maekawa.jpg
  8. 11
      content/page/comics/index.md
  9. BIN
      content/page/comics/wafu.gif
  10. 49
      content/page/friends/index.md
  11. BIN
      content/page/friends/vril.png
  12. BIN
      content/page/friends/vril.webp
  13. 16
      content/page/gallery/index.md
  14. BIN
      content/page/gallery/wafu_nai_mate.png
  15. 13
      content/page/references/index.md
  16. 6
      content/posts/2022/12/beer2/index.md
  17. BIN
      content/posts/2022/12/bubclub/feature.png
  18. 30
      content/posts/2022/12/bubclub/index.md
  19. BIN
      content/posts/2022/12/thoughts_on_ai/drawn_kokomi.png
  20. BIN
      content/posts/2022/12/thoughts_on_ai/feature.png
  21. 61
      content/posts/2022/12/thoughts_on_ai/index.md
  22. BIN
      content/posts/2022/12/thoughts_on_ai/kokomi.png
  23. BIN
      content/posts/2022/12/thoughts_on_ai/objectivity_between_parentheses.png
  24. 0
      content/wafuverse/bootleg/image.png
  25. 0
      content/wafuverse/bootleg/index.md
  26. 92
      layouts/commitedlines/single.html
  27. 92
      layouts/wafuverse/single.html
  28. BIN
      resources/_gen/images/page/friends/coyote_hu97a4f1786c848872900a85eb6ec2e0f0_281120_1024x0_resize_box_3.png
  29. BIN
      resources/_gen/images/page/friends/coyote_hu97a4f1786c848872900a85eb6ec2e0f0_281120_1320x0_resize_box_3.png
  30. BIN
      resources/_gen/images/page/friends/coyote_hu97a4f1786c848872900a85eb6ec2e0f0_281120_330x0_resize_box_3.png
  31. BIN
      resources/_gen/images/page/friends/coyote_hu97a4f1786c848872900a85eb6ec2e0f0_281120_660x0_resize_box_3.png
  32. BIN
      resources/_gen/images/page/friends/grumb_hu112748cb25996ad77e2af82e0315922b_73370_1024x0_resize_box_3.png
  33. BIN
      resources/_gen/images/page/friends/grumb_hu112748cb25996ad77e2af82e0315922b_73370_1320x0_resize_box_3.png
  34. BIN
      resources/_gen/images/page/friends/grumb_hu112748cb25996ad77e2af82e0315922b_73370_330x0_resize_box_3.png
  35. BIN
      resources/_gen/images/page/friends/grumb_hu112748cb25996ad77e2af82e0315922b_73370_660x0_resize_box_3.png
  36. BIN
      resources/_gen/images/page/friends/sam_hu3f560302ab0b4fe1b0ed7e071d33937e_141685_1024x0_resize_box_3.png
  37. BIN
      resources/_gen/images/page/friends/sam_hu3f560302ab0b4fe1b0ed7e071d33937e_141685_1320x0_resize_box_3.png
  38. BIN
      resources/_gen/images/page/friends/sam_hu3f560302ab0b4fe1b0ed7e071d33937e_141685_330x0_resize_box_3.png
  39. BIN
      resources/_gen/images/page/friends/sam_hu3f560302ab0b4fe1b0ed7e071d33937e_141685_660x0_resize_box_3.png
  40. BIN
      resources/_gen/images/page/friends/twl_hua1434668a79080d566521afe8af4744c_172358_1024x0_resize_box_3.png
  41. BIN
      resources/_gen/images/page/friends/twl_hua1434668a79080d566521afe8af4744c_172358_1320x0_resize_box_3.png
  42. BIN
      resources/_gen/images/page/friends/twl_hua1434668a79080d566521afe8af4744c_172358_330x0_resize_box_3.png
  43. BIN
      resources/_gen/images/page/friends/twl_hua1434668a79080d566521afe8af4744c_172358_660x0_resize_box_3.png
  44. BIN
      resources/_gen/images/page/friends/vril_hu1cfb14c760a2c448ca7c8d24a94cfd6e_672089_1024x0_resize_box_3.png
  45. BIN
      resources/_gen/images/page/friends/vril_hu1cfb14c760a2c448ca7c8d24a94cfd6e_672089_1320x0_resize_box_3.png
  46. BIN
      resources/_gen/images/page/friends/vril_hu1cfb14c760a2c448ca7c8d24a94cfd6e_672089_330x0_resize_box_3.png
  47. BIN
      resources/_gen/images/page/friends/vril_hu1cfb14c760a2c448ca7c8d24a94cfd6e_672089_660x0_resize_box_3.png
  48. 0
      resources/_gen/images/page/friends/vril_hucd1dc62ac280a51206fe4c8fa6389fbc_48274_330x0_resize_q75_h2_box_2.webp
  49. BIN
      resources/_gen/images/posts/2022/03/27/feature_hu1fa192d29b3e5502bbfc07b4ae7bea6e_47810_600x400_fill_box_smart1_3.png
  50. BIN
      resources/_gen/images/posts/2022/12/beer1/feature_beer_hu89cb13370c0eb7326486dd43c8d8d5f0_334206_600x400_fill_q75_box_smart1.jpg
  51. BIN
      resources/_gen/images/posts/2022/12/bubclub/feature_hu079b31dced48b1605a3b7ccc5c3daf03_167341_1200x0_resize_box_3.png
  52. BIN
      resources/_gen/images/posts/2022/12/bubclub/feature_hu079b31dced48b1605a3b7ccc5c3daf03_167341_600x400_fill_box_smart1_3.png
  53. BIN
      resources/_gen/images/posts/2022/12/bubclub/feature_hu9e080249c17b23d78e1bf4d1b0645060_256420_1200x0_resize_box_3.png
  54. BIN
      resources/_gen/images/posts/2022/12/bubclub/feature_hu9e080249c17b23d78e1bf4d1b0645060_256420_600x400_fill_box_smart1_3.png
  55. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/drawn_kokomi_hud5badbd7aafd80d5b4c5228da86f2b15_16840_1024x0_resize_box_3.png
  56. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/drawn_kokomi_hud5badbd7aafd80d5b4c5228da86f2b15_16840_1320x0_resize_box_3.png
  57. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/drawn_kokomi_hud5badbd7aafd80d5b4c5228da86f2b15_16840_330x0_resize_box_3.png
  58. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/drawn_kokomi_hud5badbd7aafd80d5b4c5228da86f2b15_16840_660x0_resize_box_3.png
  59. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/feature_huf6ff786eaf048cd9bbe5d9c3e54abd13_702295_1200x0_resize_box_3.png
  60. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/feature_huf6ff786eaf048cd9bbe5d9c3e54abd13_702295_600x400_fill_box_smart1_3.png
  61. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/kokomi_hu38f9f0d95b07574f46afb69268a29c95_747993_1024x0_resize_box_3.png
  62. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/kokomi_hu38f9f0d95b07574f46afb69268a29c95_747993_1320x0_resize_box_3.png
  63. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/kokomi_hu38f9f0d95b07574f46afb69268a29c95_747993_330x0_resize_box_3.png
  64. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/kokomi_hu38f9f0d95b07574f46afb69268a29c95_747993_660x0_resize_box_3.png
  65. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/objectivity_between_parentheses_hu359a1629f5f56d975942fe41fd1a3d1a_361081_1024x0_resize_box_3.png
  66. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/objectivity_between_parentheses_hu359a1629f5f56d975942fe41fd1a3d1a_361081_1320x0_resize_box_3.png
  67. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/objectivity_between_parentheses_hu359a1629f5f56d975942fe41fd1a3d1a_361081_330x0_resize_box_3.png
  68. BIN
      resources/_gen/images/posts/2022/12/thoughts_on_ai/objectivity_between_parentheses_hu359a1629f5f56d975942fe41fd1a3d1a_361081_660x0_resize_box_3.png
  69. BIN
      resources/_gen/images/posts/old_site/maekawa/feature_Maekawa_hu14f48d704961b2ee7ff0351237677b4e_656681_600x400_fill_q75_box_smart1.jpg
  70. BIN
      resources/_gen/images/posts/old_site/new_comic/featurehome_huec9471e8e72268392ac2e1417bdf8b11_23135_600x400_fill_q75_box_smart1.jpg
  71. BIN
      resources/_gen/images/posts/old_site/plush/feature_image_hu8d0d38672b9dc6336de933d07e3794f3_3230850_600x400_fill_box_smart1_3.png
  72. BIN
      resources/_gen/images/posts/old_site/present_thoughts/feature_image_hue2a84a5e4fb57fefd2f8bb4f7a7a6c6b_793713_600x400_fill_box_smart1_3.png
  73. BIN
      resources/_gen/images/posts/old_site/site_migration/feature_image_hu2fb1753fea5861bde843fa6dc5169c12_803163_600x400_fill_box_smart1_3.png
  74. BIN
      resources/_gen/images/posts/old_site/time/feature_mastodon_hu35ac84dc6490151c8cb2b47321890a6f_95128_600x400_fill_box_smart1_3.png
  75. 2
      themes/blowfish

@ -19,7 +19,7 @@ dateFormat = "2 January 2006"
bio = "I'm a melon" bio = "I'm a melon"
links = [ links = [
{ email = "mailto:waifuism@tutanota.com" }, { email = "mailto:waifuism@tutanota.com" },
# { link = "https://link-to-some-website.com/" },
# { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, # { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" },
# { apple = "https://www.apple.com" }, # { apple = "https://www.apple.com" },
# { blogger = "https://username.blogspot.com/" }, # { blogger = "https://username.blogspot.com/" },
@ -60,5 +60,6 @@ dateFormat = "2 January 2006"
# { whatsapp = "https://wa.me/phone-number" }, # { whatsapp = "https://wa.me/phone-number" },
{ youtube = "https://www.youtube.com/@waifu332" }, { youtube = "https://www.youtube.com/@waifu332" },
{ ko-fi = "https://ko-fi.com/waifuismlife" }, { ko-fi = "https://ko-fi.com/waifuismlife" },
{ link = "https://www.deviantart.com/waifuismlife"} { link = "https://www.deviantart.com/waifuismlife"},
{ link = "https://booru.waifuism.life/" }
] ]

@ -15,26 +15,30 @@
pageRef = "posts" pageRef = "posts"
weight = 10 weight = 10
#[[main]] [[main]]
# name = "Categories" name = "Categories"
# pageRef = "categories" pageRef = "categories"
# weight = 20 weight = 20
#[[main]] [[main]]
# name = "Tags" name = "Comics"
# pageRef = "tags" pageRef = "page/comics"
# weight = 30 weight = 30
[[main]]
name = "Friends"
pageRef = "friends"
weight = 30
# -- Footer Menu -- # -- Footer Menu --
# The footer menu is displayed at the bottom of the page, just before # The footer menu is displayed at the bottom of the page, just before
# the copyright notice. Configure as per the main menu above. # the copyright notice. Configure as per the main menu above.
# [[footer]] [[footer]]
# name = "Tags" name = "RSS"
# pageRef = "tags" url = "https://the.waifuism.life/index.xml"
# weight = 10 weight = 10
# [[footer]] # [[footer]]
# name = "Categories" # name = "Categories"

@ -12,7 +12,7 @@ autoSwitchAppearance = true
enableSearch = true enableSearch = true
enableCodeCopy = true enableCodeCopy = true
mainSections = ["posts", "comics"] mainSections = ["posts", "commitedlines","wafuverse"]
# robots = "" # robots = ""
[header] [header]

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

Before

Width:  |  Height:  |  Size: 149 KiB

After

Width:  |  Height:  |  Size: 149 KiB

@ -6,5 +6,3 @@ image: "image.png"
categories: ["Comics"] categories: ["Comics"]
tags: ["Commited Lines"] tags: ["Commited Lines"]
--- ---
![](image.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 KiB

@ -0,0 +1,11 @@
---
title: Comics
comments: false
date: 2022-12-23
---
The comics I draw.
{{< figure src="/page/comics/wafu.gif" title="wafu" link="waifuism.life" >}} | {{< figure src="/page/comics/wafu.gif" title="wafu" >}}
:---:| :---:
[Commited Lines](/commitedlines) | [Wafuverse](/wafuverse/)
Comics I make when I'm not having fun | What if fediversers were anime girls

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

@ -1,47 +1,16 @@
--- ---
title: Friends title: Friends
comments: false comments: false
date: 2022-12-23
--- ---
A list of some of my friend's websites.
Nekobit | Sam Therapy| Grumbulon
:---: | :---: | :---:
[An autistic guy that loves to shitpost and have fun.](https://nekobit.net)| [A fun girl hosting fun things.](https://samtherapy.xyz) | [Smoke loving cat.](https://grumbulon.xyz)
![](nekobit.png) | ![](sam.png) | ![](grumb.png)
TWL | Coyote | Vril
:---: | :---: | :---:
[Programmer and guitar player in the making.](https://8777.ch/)| [Helps me lots, loves music.](https://coy.neocities.org/~coy/) | [Manages a chill and comfy pleroma instance (Registrations are open).](https://comfyboy.club/)
![](twl.png) | ![](coyote.png) | ![](vril.png)
links:
- title: Nekobit
description: An autistic guy that loves to shitpost and have fun.
website: https://nekobit.net
image: nekobit.png
![Nekobit](nekobit.png "a on [Unsplash](https://unsplash.com/)")
- 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
- title: Vril
description: Manages a chill and comfy pleroma instance (Registrations are open).
website: https://comfyboy.club/
image: vril.webp
menu:
main:
weight: -50
params:
icon: links

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

@ -0,0 +1,16 @@
---
title: Friends
comments: false
date: 2022-12-23
---
Nekobit | Sam Therapy| Grumbulon
:---: | :---: | :---:
[An autistic guy that loves to shitpost and have fun.](https://nekobit.net)| [A fun girl hosting fun things.](https://samtherapy.xyz) | [Smoke loving cat.](https://grumbulon.xyz)
![](nekobit.png) | ![](sam.png) | ![](grumb.png)
TWL | Coyote | Vril
:---: | :---: | :---:
[Programmer and guitar player in the making.](https://8777.ch/)| [Helps me lots, loves music.](https://coy.neocities.org/~coy/) | [Manages a chill and comfy pleroma instance (Registrations are open).](https://comfyboy.club/)
![](twl.png) | ![](coyote.png) | ![](vril.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 KiB

@ -0,0 +1,13 @@
---
title: References
description: Stuff to remember
date: '2022-12-23'
license: CC BY-NC-ND
lastmod: '2022-12-23'
---
Todo el día así - Koino Yokan
Capo en el 2do traste: Mi-La7 / Mi-La-G#m-C#m-La

@ -0,0 +1,6 @@
---
tags: ["talk","alcohol"]
date: '2022-12-25'
title: 'Beer again'
---
Just wanted to keep that I didn't end up liking the Warsteiner much, I went for the St.Wendeler Lager (the green one) and felt much more smooth sailing, maybe it was just me.

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

@ -0,0 +1,30 @@
---
tags: ["talk","bub","meta"]
Date: '2022-12-26'
title: 'The Bub Club lives again'
---
What was before thebub.club is now https://booru.waifuism.life/.
## The bub club rules
- Only people I really trust are to be promoted to power users.
- Only power users can upload images.
- Everything will be under my discretion, I care little on others opinion about how to manage it.
- If you think an image is yours and you don't want it there you can ask me via email, fedi, links are in the home page.
### **Things to be posted**
- Fediverse related images/videos
- This means info, screenshots, profile pictures, other people's art, etc...
- My personal works.
- This includes AI generated images that I make and like.
- Memes and reaction images I like.
### **Things not to be posted**
- Doxxing material.
- Imagery I do not like.
- Memes that do not suit my taste may be removed at any time.
- Illegal material of any kind.
Thanks for using the bub club.

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 686 KiB

@ -0,0 +1,61 @@
---
tags: ["talk","AI"]
Date: '2022-12-20'
title: 'Thoughts on Ai'
---
Something that can seem somewhat scary about Artificial intelligence is it's capacity of overwhelming us.
A lot of people are scared and it's understandable, I think the lack of knowledge about the topic and how it seems like magic turns people away in many senses.
I come from a weird history of people in farms and I got told that my Grandpa used to have a lot of money, he used to have several farms, Mom though, said she never lived with any kind of luxury.
The only toy she ever had was a doll called Monica, now only known by name by me since I never asked her how did the doll looked like.
In my case I didn't ever felt what was direct poverty, or maybe it was because I didn't understand the concept, so I always treated everyone equally, this was something she was adamant on teaching me.
"Good morals" wasn't it but another kind of model of thought.
It didn't actually made sense to me for years to come, until really recently, like a few years ago at best.
That way of thinking becomes then, from what I can muster at least, "what if everything, even this, was something we could ask about and question.".
I'm not sure I am writing this in a way that makes sense to most people, to me though, it makes sense.
This comes around with the topic of AI since now we're seeing a very disruptive feeling in everyone's mind.
To try to relate it, I want to use this following graph.
![](objectivity_between_parentheses.png)
This graph comes directly from the Humberto Maturana books about epistemology.
The way I always thought about it was the following:
When a situation approaches you, there are two interesting ways of thinking about what you're experimenting:
- Objectivity
- (Objectivity)
The parenthesis here are important and represent the thought that we are supposing that it is. As in, we observe the reality and we suppose that what we see *is* the reality, even act at every moment like *it is*, but we accept that there could be things that go out of our control, and that what we see may not be what is really out there.
You can think about any subject in this way, for now let's think about it in the art department.
With the current advancements of Stable diffusion, there has been a spike on anime images being posted online (and in general), so the question if you should call these pictures "art" has been done over and over.
So I'm not going to delve on that, but instead, ask about *how* we call these pictures "art". And in how this chart may help us be more in tone with ourselves and make more art.
Kokomi | Drawn Kokomi
--- | ---
![](kokomi.png) | ![](drawn_kokomi.png)
If I showed you these two pictures in a vacuum and asked you which one has objectively better quality, you may go for the first one. In case you haven't read the title, yes, of course it was made with AI lol.
So why now people are saying the first one is trash but the second one has "Soul" and such?
Well I think it's related to how we see the world, to me the second one is just lightyears away more important to me, as it was made by a dear friend @yomuchan@pawoo.net 🙏 (Forever thankful) for me.
It doesn't even matter if it was made with AI, it's Yomu who made it, put however much or little time of his life into something for me, and that is something I appreciate, the "quality" is indifferent for me it's the people that I relate to what makes an artwork important.
(I still have some things to say but it's kinda late... I'll continue tomorrow.)
(In the process of making the graph I tried mermaid (comes bundled with the hugo theme I'm using), and turns out it's a tool to make diagrams _from text_, lol, just lol.)

Binary file not shown.

After

Width:  |  Height:  |  Size: 730 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 122 KiB

@ -0,0 +1,92 @@
{{ define "main" }}
{{ .Scratch.Set "scope" "single" }}
<article>
{{ if .Params.showHero | default (.Site.Params.article.showHero | default false) }}
{{ $heroStyle := print "partials/hero/" .Site.Params.article.heroStyle ".html" }}
{{ if templates.Exists $heroStyle }}
{{ partial $heroStyle . }}
{{ else }}
{{ partial "partials/hero/basic.html" . }}
{{ end }}
{{- end -}}
<header id="single_header" class="mt-5 max-w-prose">
{{ if .Params.showBreadcrumbs | default (.Site.Params.article.showBreadcrumbs | default false) }}
{{ partial "breadcrumbs.html" . }}
{{ end }}
<h1 class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral">
{{ .Title | emojify }}
</h1>
<div class="mt-1 mb-6 text-base text-neutral-500 dark:text-neutral-400 print:hidden">
{{ partial "article-meta.html" (dict "context" . "scope" "single") }}
</div>
</header>
<section class="flex flex-col max-w-full mt-0 prose dark:prose-invert lg:flex-row">
{{ if and (.Params.showTableOfContents | default (.Site.Params.article.showTableOfContents | default false)) (in
.TableOfContents "<ul") }}
<div class="order-first sm:max-w-prose lg:ml-auto px-0 lg:order-last lg:max-w-xs ltr:lg:pl-8 rtl:lg:pr-8">
<div class="toc ltr:pl-5 rtl:pr-5 print:hidden lg:sticky {{ if eq .Site.Params.header.layout "fixed" }} lg:top-[140px] {{ else }} lg:top-10 {{ end }}">
{{ partial "toc.html" . }}
</div>
</div>
{{ end }}
<div class="min-w-0 min-h-0 max-w-prose">
{{ partial "series.html" . }}
{{ .Content | emojify }}
</br></br>
{{ partial "series-closed.html" . }}
</div>
<script>
var oid = "views_{{ .File.Path }}"
var oid_likes = "likes_{{ .File.Path }}"
</script>
{{ $jsPage := resources.Get "js/page.js" }}
{{ $jsPage = $jsPage | resources.Minify | resources.Fingerprint "sha512" }}
<script type="text/javascript" src="{{ $jsPage.RelPermalink }}" integrity="{{ $jsPage.Data.Integrity }}"></script>
</section>
<img src="./image.png" alt="{{ .Title }}">
<footer class="pt-8 max-w-prose print:hidden">
{{ partial "author.html" . }}
{{ $authorsData := .Site.Data.authors }}
{{ $taxonomies := .Site.Taxonomies.authors }}
{{ $baseURL := .Site.BaseURL }}
{{ if not (strings.HasSuffix $baseURL "/") }}
{{ $baseURL = delimit (slice $baseURL "/") "" }}
{{ end }}
{{ range $author := .Page.Params.authors }}
{{ $authorData := index $authorsData $author }}
{{- if $authorData -}}
{{ $taxonomyLink := 0 }}
{{ range $taxonomyname, $taxonomy := $taxonomies }}
{{ if (eq $taxonomyname $author) }}
{{ $taxonomyLink = delimit (slice $baseURL "/authors/" $author) "" }}
{{ end }}
{{ end }}
{{ partial "author-extra.html" (dict "context" . "data" $authorData "link" $taxonomyLink) }}
{{- end -}}
{{ end }}
{{ partial "sharing-links.html" . }}
{{ partial "article-pagination.html" . }}
{{ if .Params.showComments | default (.Site.Params.article.showComments | default false) }}
{{ if templates.Exists "partials/comments.html" }}
<div class="pt-3">
<hr class="border-dotted border-neutral-300 dark:border-neutral-600" />
<div class="pt-3">
{{ partial "comments.html" . }}
</div>
</div>
{{ else }}
{{ warnf "[BLOWFISH] Comments are enabled for %s but no comments partial exists." .File.Path }}
{{ end }}
{{ end }}
</footer>
</article>
{{ end }}

@ -0,0 +1,92 @@
{{ define "main" }}
{{ .Scratch.Set "scope" "single" }}
<article>
{{ if .Params.showHero | default (.Site.Params.article.showHero | default false) }}
{{ $heroStyle := print "partials/hero/" .Site.Params.article.heroStyle ".html" }}
{{ if templates.Exists $heroStyle }}
{{ partial $heroStyle . }}
{{ else }}
{{ partial "partials/hero/basic.html" . }}
{{ end }}
{{- end -}}
<header id="single_header" class="mt-5 max-w-prose">
{{ if .Params.showBreadcrumbs | default (.Site.Params.article.showBreadcrumbs | default false) }}
{{ partial "breadcrumbs.html" . }}
{{ end }}
<h1 class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral">
{{ .Title | emojify }}
</h1>
<div class="mt-1 mb-6 text-base text-neutral-500 dark:text-neutral-400 print:hidden">
{{ partial "article-meta.html" (dict "context" . "scope" "single") }}
</div>
</header>
<section class="flex flex-col max-w-full mt-0 prose dark:prose-invert lg:flex-row">
{{ if and (.Params.showTableOfContents | default (.Site.Params.article.showTableOfContents | default false)) (in
.TableOfContents "<ul") }}
<div class="order-first sm:max-w-prose lg:ml-auto px-0 lg:order-last lg:max-w-xs ltr:lg:pl-8 rtl:lg:pr-8">
<div class="toc ltr:pl-5 rtl:pr-5 print:hidden lg:sticky {{ if eq .Site.Params.header.layout "fixed" }} lg:top-[140px] {{ else }} lg:top-10 {{ end }}">
{{ partial "toc.html" . }}
</div>
</div>
{{ end }}
<div class="min-w-0 min-h-0 max-w-prose">
{{ partial "series.html" . }}
{{ .Content | emojify }}
</br></br>
{{ partial "series-closed.html" . }}
</div>
<script>
var oid = "views_{{ .File.Path }}"
var oid_likes = "likes_{{ .File.Path }}"
</script>
{{ $jsPage := resources.Get "js/page.js" }}
{{ $jsPage = $jsPage | resources.Minify | resources.Fingerprint "sha512" }}
<script type="text/javascript" src="{{ $jsPage.RelPermalink }}" integrity="{{ $jsPage.Data.Integrity }}"></script>
</section>
<img src="./image.png" alt="{{ .Title }}">
<footer class="pt-8 max-w-prose print:hidden">
{{ partial "author.html" . }}
{{ $authorsData := .Site.Data.authors }}
{{ $taxonomies := .Site.Taxonomies.authors }}
{{ $baseURL := .Site.BaseURL }}
{{ if not (strings.HasSuffix $baseURL "/") }}
{{ $baseURL = delimit (slice $baseURL "/") "" }}
{{ end }}
{{ range $author := .Page.Params.authors }}
{{ $authorData := index $authorsData $author }}
{{- if $authorData -}}
{{ $taxonomyLink := 0 }}
{{ range $taxonomyname, $taxonomy := $taxonomies }}
{{ if (eq $taxonomyname $author) }}
{{ $taxonomyLink = delimit (slice $baseURL "/authors/" $author) "" }}
{{ end }}
{{ end }}
{{ partial "author-extra.html" (dict "context" . "data" $authorData "link" $taxonomyLink) }}
{{- end -}}
{{ end }}
{{ partial "sharing-links.html" . }}
{{ partial "article-pagination.html" . }}
{{ if .Params.showComments | default (.Site.Params.article.showComments | default false) }}
{{ if templates.Exists "partials/comments.html" }}
<div class="pt-3">
<hr class="border-dotted border-neutral-300 dark:border-neutral-600" />
<div class="pt-3">
{{ partial "comments.html" . }}
</div>
</div>
{{ else }}
{{ warnf "[BLOWFISH] Comments are enabled for %s but no comments partial exists." .File.Path }}
{{ end }}
{{ end }}
</footer>
</article>
{{ end }}

@ -1 +1 @@
Subproject commit 6c0d09ae8cba2a7873f6aee44a9ad28a03382606 Subproject commit 83d6090e16a12fbfe3149c5be9c7dcc43f521a26
Loading…
Cancel
Save