Skip to content

Commit 80f7848

Browse files
committed
chore: Bump theme
1 parent ca86ad8 commit 80f7848

3 files changed

Lines changed: 64 additions & 1 deletion

File tree

Taskfile.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
version: '3'
2+
3+
tasks:
4+
default:
5+
desc: List available tasks
6+
cmds:
7+
- task --list
8+
silent: true
9+
10+
# Development
11+
serve:
12+
desc: Run local dev server for abyss.dev (with drafts)
13+
cmds:
14+
- hugo server -D --environment abyss.dev
15+
16+
serve:abyss:
17+
desc: Run local dev server for abyss.dev (with drafts)
18+
cmds:
19+
- hugo server -D --environment abyss.dev
20+
21+
serve:cwr:
22+
desc: Run local dev server for cwr.io (with drafts)
23+
cmds:
24+
- hugo server -D --environment cwr.io
25+
26+
# Build
27+
build:
28+
desc: Build abyss.dev site (default)
29+
cmds:
30+
- hugo --minify --environment abyss.dev
31+
32+
build:abyss:
33+
desc: Build abyss.dev site
34+
cmds:
35+
- hugo --minify --environment abyss.dev
36+
37+
build:cwr:
38+
desc: Build cwr.io site
39+
cmds:
40+
- hugo --minify --environment cwr.io
41+
42+
# Cleanup
43+
clean:
44+
desc: Remove build artifacts
45+
cmds:
46+
- rm -rf public/
47+
- rm -rf resources/
48+
- rm -f .hugo_build.lock
49+
- echo "Build artifacts cleaned"
50+
51+
# Maintenance
52+
update-theme:
53+
desc: Update the hello-abyss theme submodule to latest
54+
cmds:
55+
- git submodule update --remote themes/hello-abyss
56+
- git status
57+
silent: false

config/_default/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ params:
6363
#
6464
enableSharingButtons: true
6565

66+
# Reading time
67+
#
68+
# Enable or disable reading time display on posts
69+
#
70+
enableReadingTime: true
71+
6672
# Canonical baseURL (with no slash) for rel="canonical"
6773
canonicalURL: "https://abyss.dev"
6874

0 commit comments

Comments
 (0)