add user config template

This commit is contained in:
cremesk 2019-07-13 17:39:49 +02:00 committed by creme
parent 9c38c9b3bc
commit 3be708a871
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
2 changed files with 12 additions and 1 deletions

10
.config Normal file
View File

@ -0,0 +1,10 @@
global_title="blog | ~newusername"
global_description="a blog about ~newusername"
global_author_url="https://envs.net/~newusername/"
global_url="https://envs.net/~newusername/blog"
global_author="~newusername"
#global_twitter_username=""
global_email="newusername@envs.net"
header_file=".header.template"
body_begin_file=".beforebody"
body_end_file=".afterbody"

View File

@ -4,11 +4,12 @@ install:
@echo Installing the executable to $(BINDIR)
@mkdir -p $(BINDIR)
@cp -f bb.sh $(BINDIR)/bb
@cp -f .config $(BINDIR)/bb_user_conf.tmpl
@chmod 755 $(BINDIR)/bb
uninstall:
@echo Removing the executable from $(BINDIR)
@rm -f $(BINDIR)/bb
@rm -f $(BINDIR)/bb_user_conf.tmpl
.PHONY: install uninstall