Compare commits

..

45 Commits

Author SHA1 Message Date
kayomn 03960cbc89 Fix readme links
continuous-integration/drone/push Build is passing Details
2022-10-04 19:22:35 +01:00
ktyl 7918035fae update submodule location 2022-10-04 19:22:35 +01:00
ktyl 5301e025d7 don't deploy on pull requests 2022-10-04 19:22:35 +01:00
ktyl a86d719bf1 restrict deploy step to main branch 2022-10-04 19:22:35 +01:00
ktyl 0e808a38b6 update README 2022-10-04 19:22:35 +01:00
ktyl d90ed17e6b add drone ci
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
update submodule url

use arch image

remove defunct deploy script

use pipenv

extract build stage

connect to remote server

deploy with ubuntu

copy old site

copy new site to host

deploy new site

only deploy on main
2022-09-28 01:16:23 +01:00
ktyl 9b184204dc remove cv submodule 2022-09-27 08:48:32 +01:00
ktyl 248cfb0aad update blog 2022-09-10 14:34:08 +01:00
ktyl 8223c0c6cf update blog 2022-08-14 00:51:10 +01:00
ktyl d91545c153 ensure index entries are ordered chronologically 2022-08-14 00:50:04 +01:00
ktyl 6ca4883004 update blog 2022-08-08 18:53:05 +01:00
ktyl db33cd054b fix bad closing tag 2022-07-23 16:08:48 +01:00
ktyl 0b8d552c6d update about me 2022-06-05 02:09:49 +01:00
ktyl 34e89dc0bc remove linkedin 2022-06-05 01:48:26 +01:00
ktyl 1150b6e117 add copyright in footer 2022-06-05 01:48:18 +01:00
ktyl dc90bb53a8 update about page 2022-06-04 19:33:35 +01:00
ktyl 3f111a8a80 update rss metadata 2022-06-03 21:56:43 +01:00
ktyl fb7430f63f update blog 2022-06-03 16:18:26 +01:00
ktyl b99fd72fb1 generate rss feed from blog resolves #1 2022-06-03 16:14:02 +01:00
ktyl 5bde287e9f update gallery 2022-06-03 13:14:00 +01:00
ktyl 43c38ae70a make inline code blocks less jarring 2022-05-28 21:49:58 +01:00
ktyl 5f92f1c0e5 hide icky webkit scrollbars in code panels 2022-05-28 21:46:34 +01:00
ktyl ee257b71dc update make rule in local deploy script 2022-05-28 21:46:06 +01:00
ktyl d7b3fdd8fe make title link absolute url 2022-05-28 02:12:57 +01:00
Cat Flynn 95dcdbc35d
Create LICENSE 2022-05-27 01:35:51 +01:00
ktyl 7bd2402ae6 update todo 2022-05-27 01:33:07 +01:00
ktyl dde065ab04 include blog index in html ppp 2022-05-27 01:33:00 +01:00
ktyl 3e627c5a0f Merge branch 'feature/blog' 2022-05-27 01:15:19 +01:00
ktyl ca7f4fdee2 update blog 2022-05-27 01:13:22 +01:00
ktyl 13646f649a reverse blog index order 2022-05-27 01:13:12 +01:00
ktyl f1a8a18394 generate blog index 2022-05-27 00:54:15 +01:00
ktyl 46af956c3f update ppp 2022-05-27 00:53:33 +01:00
ktyl e4c406b1fc finish styling blog pages, start blog index 2022-05-18 01:00:41 +01:00
ktyl 3dedc8f383 abs navigation links 2022-05-17 09:05:49 +01:00
ktyl 66fcf745ee script to deploy to local web server 2022-05-17 09:05:33 +01:00
ktyl a3dc9feb8f update blog 2022-05-17 01:52:02 +01:00
ktyl ae899e2855 work on blog generation 2022-05-17 01:39:33 +01:00
ktyl 65e4c8130c correctly render fenced code blocks 2022-05-15 15:15:08 +01:00
ktyl 8033c00a8b reorder makefile rules 2022-05-15 14:33:43 +01:00
ktyl 46bb4a065b remove text 2022-05-04 22:01:04 +01:00
ktyl 6012091d2c update deploy strat 2022-03-29 22:52:38 +01:00
ktyl b47447f69e fix typo 2022-03-21 14:08:41 +00:00
ktyl 987ee99b0c update blog 2022-03-21 01:39:15 +00:00
ktyl 4c902b70b9 update todo 2022-03-21 01:39:15 +00:00
ktyl bbe5a77d06 start work on blog builder
update blog

update blog
2022-03-21 01:39:12 +00:00
5 changed files with 3 additions and 21 deletions

View File

@ -31,7 +31,6 @@ steps:
from_secret: user
SSH_KEY:
from_secret: ssh_key
commands:
# install deps
- apt-get update -qq > /dev/null
@ -70,4 +69,3 @@ steps:
event:
exclude:
- pull_request

View File

@ -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: site
deploy: all
cp -r $(OUT_DIR) $(SITE_NAME)
rsync -rP $(SITE_NAME) $(HOST):~
rm -r $(SITE_NAME)
@ -74,7 +74,6 @@ $(BLOG_OUT_DIR): | $(OUT_DIR)
$(BLOG_TMP_DIR):
mkdir -p $@
clean:
rm -rf $(OUT_DIR) $(BLOG_TMP_DIR)
.PHONY: site

View File

@ -81,6 +81,4 @@ 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"])

View File

@ -1,5 +1,4 @@
</div>
</div>
#include footer.html

14
todo.md
View File

@ -1,5 +1,6 @@
* [ ] 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
@ -24,19 +25,6 @@
* [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