Browse Source

Download and build theme

Michał Góral 3 weeks ago
parent
commit
b174691bbd
5 changed files with 9 additions and 2 deletions
  1. 3
    0
      .gitmodules
  2. 4
    1
      Makefile
  3. 1
    1
      config.yaml
  4. 0
    0
      content/about.md
  5. 1
    0
      themes/tale

+ 3
- 0
.gitmodules View File

@@ -0,0 +1,3 @@
1
+[submodule "themes/tale"]
2
+	path = themes/tale
3
+	url = https://git.goral.net.pl/mgoral/tale-hugo.git

+ 4
- 1
Makefile View File

@@ -1,6 +1,6 @@
1 1
 all: build
2 2
 
3
-build:
3
+build: themes/tale
4 4
 	hugo
5 5
 	mkdir -p public/feed
6 6
 	cp -f public/index.xml public/feed/index.html
@@ -13,3 +13,6 @@ deploy: build
13 13
 
14 14
 deploy-dry: build
15 15
 	rsync --dry-run -vrzd --delete public/ $(WEBHOOK_DEPLOY_DIR)
16
+
17
+themes/tale:
18
+	git submodule update --init -- $@

+ 1
- 1
config.yaml View File

@@ -10,7 +10,7 @@ MetaDataFormat: "yaml"
10 10
 
11 11
 footnotereturnlinkcontents: "↩"
12 12
 
13
-theme: twentytwelve
13
+theme: tale
14 14
 
15 15
 params:
16 16
     Description: "Blog about software"

content/mg.md → content/about.md View File


+ 1
- 0
themes/tale

@@ -0,0 +1 @@
1
+Subproject commit c95b21ad998cf6de3760c5e332c39b55ba4d4aec

Loading…
Cancel
Save