Merge branch 'master' into dev

pull/2/head
waifu 2 years ago
commit 5636c10192
  1. 28
      README.md
  2. 2
      layouts/commitedlines/single.html
  3. 2
      layouts/wafuverse/single.html
  4. 2
      themes/blowfish

@ -2,4 +2,30 @@
Yet another try of making a website Yet another try of making a website
Made with hugo and gitea
# Usage:
Requires git and built using hugo v0.102.3.
I normally edit files with Visual Studio Code
To download the files:
git clone https://git.waifuism.life/waifu/new_waifuism_life
Then initialize and download the sub module (Blowfish theme):
git submodule init
git submodule update
Host a local webserver at http://localhost:1313/
hugo server
It's also possible to use a simple script for updating it automatically every so often using a cron job for example.
deploy.sh
The website files end up in the folder */public/*, it is ignored by repository.
**Do not** update the Blowfish theme, it will end up breaking stuff for no reason.

@ -19,7 +19,7 @@
{{ .Title | emojify }} {{ .Title | emojify }}
</h1> </h1>
<div class="mt-1 mb-6 text-base text-neutral-500 dark:text-neutral-400 print:hidden"> <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") }} {{ partial "article-meta/basic.html" (dict "context" . "scope" "single") }}
</div> </div>
</header> </header>
<section class="flex flex-col max-w-full mt-0 prose dark:prose-invert lg:flex-row"> <section class="flex flex-col max-w-full mt-0 prose dark:prose-invert lg:flex-row">

@ -19,7 +19,7 @@
{{ .Title | emojify }} {{ .Title | emojify }}
</h1> </h1>
<div class="mt-1 mb-6 text-base text-neutral-500 dark:text-neutral-400 print:hidden"> <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") }} {{ partial "article-meta/basic.html" (dict "context" . "scope" "single") }}
</div> </div>
</header> </header>
<section class="flex flex-col max-w-full mt-0 prose dark:prose-invert lg:flex-row"> <section class="flex flex-col max-w-full mt-0 prose dark:prose-invert lg:flex-row">

@ -1 +1 @@
Subproject commit 83d6090e16a12fbfe3149c5be9c7dcc43f521a26 Subproject commit 8da083ad241ac17c95aeeab23ccd22a93c4db7b0
Loading…
Cancel
Save