Commit 77a17cba authored by Turner Hall's avatar Turner Hall
Browse files

Switched from lowdown to marked for md to html

parent 25bfff81
......@@ -10,6 +10,12 @@ all:
cp .roothtacc $(DESTDIR)/.htaccess
./gnu3_index.sh $(DESTDIR)
cp -R favicons/. $(DESTDIR)
cat ./gnu3.static/articles/index.html | pup '#article' > ./gnu3.static/articles/toParse.html
tail -n +2 ./gnu3.static/articles/toParse.html > ./gnu3.static/articles/toParse2.html
head -n -0 ./gnu3.static/articles/toParse2.html > ./gnu3.static/articles/toGen.html
echo '</html>' >> ./gnu3.static/articles/toGen.html
sed -i '1i <html>' gnu3.static/articles/toGen.html
clean:
rm -rf *.static
......
......@@ -3,7 +3,7 @@ Unfinished fork of [swx](https://framagit.org/3hg/swx), a static-site-generator,
I plan on upstreaming any translations or significant fixes from working and testing on it back to [swx](https://framagit.org/3hg/swx).
The markdown parser being used is called [lowdown and the syntax is here](https://gsp.com/cgi-bin/man.cgi?section=5&topic=LOWDOWN) and it is configured to allow inline-HTML. However the site CSS does not necessarily support all of the available options.
The markdown parser being used is called [lowdown and the syntax is here](https://gsp.com/cgi-bin/man.cgi?section=5&topic=LOWDOWN) and it is configured to allow inline-HTML. However the site CSS does not necessarily support all of the available options. I also use [rssg](https://www.romanzolotarev.com/rssg.html) and [pup](https://github.com/EricChiang/pup) for generating RSS.
## TODO:
......
# My Blog
# Gnu3 - Articles
Here is my blog. Not quite sure what I will put here yet. There will probably just be occasional photos with life updates as well as posts about different projects I am working on.
THall's long-form special interest and opinion blog.
### And also:
# RSS
Subscribe via <a type="application/rss+xml" href="/articles/feed.xml">RSS</a> (not yet implemented)
I would really appreciate it if **images of my face remain on this website**, meaning, do not save them to your device, or link to them publicly or privately anywhere on the internet or the phone network. If you feel like you must share a picture with me in it, please blur my face out or otherwise obscure me before doing so. Thank you.
# Recent posts:
### Recent posts:
- [New Website!](/articles/new_website.html)
- [Iceland Pictures](/articles/iceland_pictures.html)
- [Catan Grids](/articles/catan.html)
- [The meaning of GNU 3](/articles/3.html)
(You can browse and search all the posts via the site map)
<ul>
<li><a href="/articles/3.html" title="2021-3-21">The Meaning of GNU 3</a><li>
<li><a href="/articles/catan.html" title="2019-4-20">Different View of Catan</a><li>
<li><a href="/articles/iceland_pictures.html" title="2019-2-10">Pictures from Iceland</a><li>
<li><a href="/articles/new_website.html" title="2019-1-10">New Website!</a><li>
</ul>
......@@ -4,6 +4,7 @@
My name is Turner Hall (he/him or they/them). I'm a Computer Science major at Trinity University with a passion for Free Software and ethical computing. I like programming recreationally, creating digital art, reading, and sometimes playing video games (but nothing too fast-paced). [Free Software](https://www.fsf.org/about/what-is-free-software) appreciator and [Ethical Open Source](https://ethicalsource.dev/definition/) advocate.
I would really appreciate it if **images of my face remain on this website**, meaning, do not save them to your device, or link to them publicly or privately anywhere on the internet or the phone network. If you feel like you must share a picture with me in it, please blur my face out or otherwise obscure me before doing so. Thank you.
### Here are some personal links and contact info:
......
......@@ -9,10 +9,11 @@ HOSTNAME="gnu3.xyz" # CHANGE FOR ACTUAL DEPLOYMENT
PROTOCOL="https://" # CHANGE FOR ACTUAL DEPLOYMENT
# External apps
CONVERTER="marked --no-sanitize -i"
#CONVERTER="/usr/bin/markdown" # md handler
# example with txt2tags
#CONVERTER='txt2tags -t html -H -o -'
CONVERTER='lowdown' # review lowdown flags to add inline html later
#CONVERTER='lowdown' # review lowdown flags to add inline html later
#CONVERTER='lowdown -T html --html-no-skiphtml --parse-no-metadata' # review lowdown flags to add inline html later
#CONVERTER='discount -f +pants,+del,+autolink'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment