summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
-rw-r--r--template.html2
2 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..538cc76
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+ESTATICO_BIN=/home/miguel/git/estatico/.stack-work/install/x86_64-linux/lts-13.5/8.6.3/bin/estatico-exe
+TARGET_DIR=/mnt/andromeda/htmlpub/softwarefools_com/
+SOURCE_DIR=$(shell pwd)
+URL=https://softwarefools.com
+
+build:
+ - mkdir $(TARGET_DIR)
+ ${ESTATICO_BIN} $(SOURCE_DIR) $(TARGET_DIR) $(URL)
+clean:
+ rm $(TARGET_DIR) -r
diff --git a/template.html b/template.html
index 9f6e1cf..80fde51 100644
--- a/template.html
+++ b/template.html
@@ -53,7 +53,7 @@
</div>
<div id="footer" class="p-3 bg-primary text-light text-center">
- &copy; 1994-2019 | powered by <a class="text-white" href="https://www.idziorek.net/blog/Haskell-Projects/Estatico-Page-Maker/index.html">estático</a>
+ &copy; 1994-2019 | powered by <a class="text-white" href="https://www.idziorek.net/blog/Haskell/Estatico-Page-Maker/">estático</a>
</div>
</div>
</div>