Compare commits
37 Commits
03960cbc89
...
490f5003fc
Author | SHA1 | Date | |
---|---|---|---|
490f5003fc | |||
91cfa74b71 | |||
0d0e3e6a64 | |||
1ab8053179 | |||
dc82673e25 | |||
b55cb7207b | |||
f86c4521f0 | |||
b075ec0905 | |||
9493cf5a73 | |||
4c714adfdd | |||
b16e91d199 | |||
24e900dac3 | |||
dc48e2b38c | |||
08078c48d3 | |||
a65bff936a | |||
400569c5b1 | |||
591d05eb9d | |||
ddfb7c5575 | |||
fc95d54791 | |||
c23098e982 | |||
691daf2651 | |||
6e7351976e | |||
9287ade772 | |||
ddf998d1b7 | |||
6d0e4d38a6 | |||
a2334f66f2 | |||
8da862fe43 | |||
fc8e0da697 | |||
cc1811a06c | |||
52174385d9 | |||
cf32f59a8f | |||
c0946d8a75 | |||
7272b0cc48 | |||
9d8217ffb8 | |||
7471087c09 | |||
f961338956 | |||
45997b1295 |
@ -31,6 +31,7 @@ steps:
|
||||
from_secret: user
|
||||
SSH_KEY:
|
||||
from_secret: ssh_key
|
||||
|
||||
commands:
|
||||
# install deps
|
||||
- apt-get update -qq > /dev/null
|
||||
@ -69,3 +70,4 @@ steps:
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
|
5
makefile
5
makefile
@ -37,7 +37,7 @@ all: $(HTML_TARGETS) $(CSS_TARGETS) blog | $(OUT_DIR)
|
||||
cp $(IMG_DIR)/*.png $(OUT_DIR)/
|
||||
cp $(IMG_DIR)/*.jpg $(OUT_DIR)/
|
||||
|
||||
deploy: all
|
||||
deploy: site
|
||||
cp -r $(OUT_DIR) $(SITE_NAME)
|
||||
rsync -rP $(SITE_NAME) $(HOST):~
|
||||
rm -r $(SITE_NAME)
|
||||
@ -74,6 +74,7 @@ $(BLOG_OUT_DIR): | $(OUT_DIR)
|
||||
$(BLOG_TMP_DIR):
|
||||
mkdir -p $@
|
||||
|
||||
|
||||
clean:
|
||||
rm -rf $(OUT_DIR) $(BLOG_TMP_DIR)
|
||||
|
||||
.PHONY: site
|
||||
|
@ -81,4 +81,6 @@ with open(dummy_file, 'r') as read_file, open(dest_file, 'w') as write_file:
|
||||
|
||||
os.remove(dummy_file)
|
||||
|
||||
print(f"{src_file} -> {dest_file}")
|
||||
markdown.markdownFromFile(input=src_file, output=dest_file, extensions=["fenced_code"])
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
#include footer.html
|
||||
|
||||
|
14
todo.md
14
todo.md
@ -1,6 +1,5 @@
|
||||
* [ ] transfer domain https://www.mythic-beasts.com/support/domains/transfer
|
||||
* [ ] hide scrollbars in bloggy code blocks https://www.w3schools.com/howto/howto_css_hide_scrollbars.asp
|
||||
|
||||
* [-] responsive design
|
||||
* [-] nav
|
||||
* [ ] side bar
|
||||
@ -25,6 +24,19 @@
|
||||
* [x] hope -> use
|
||||
|
||||
* [-] features
|
||||
* [-] blog
|
||||
* [ ] blog builder
|
||||
* [ ] i want to generate an entire page based on the existence of one markdown file
|
||||
* [ ] the file should contain no metadata, that should all be generated automatically
|
||||
* [ ] yyyy/mm/dd folder structure - can probably be copied from source
|
||||
* [ ] auto generated <title> tags
|
||||
* [ ] generated file will be in html but will need a second pass from ppp to insert regular templating things
|
||||
|
||||
* [ ] parse markdown blog into html
|
||||
* [ ] embed parsed html into templated pages
|
||||
|
||||
* [ ] header
|
||||
* [ ] sticky slidy from middle to side with scroll
|
||||
* [ ] nav
|
||||
* [ ] turn into <nav>
|
||||
* [-] footer
|
||||
|
Loading…
x
Reference in New Issue
Block a user