Merge branch 'master' into dev
This commit is contained in:
commit
5636c10192
4 changed files with 30 additions and 4 deletions
28
README.md
28
README.md
|
@ -2,4 +2,30 @@
|
|||
|
||||
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 }}
|
||||
</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") }}
|
||||
{{ partial "article-meta/basic.html" (dict "context" . "scope" "single") }}
|
||||
</div>
|
||||
</header>
|
||||
<section class="flex flex-col max-w-full mt-0 prose dark:prose-invert lg:flex-row">
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
{{ .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") }}
|
||||
{{ partial "article-meta/basic.html" (dict "context" . "scope" "single") }}
|
||||
</div>
|
||||
</header>
|
||||
<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…
Add table
Reference in a new issue