From 9f73a9b111535191800f681e968ec3a2d8f7f61c Mon Sep 17 00:00:00 2001 From: Peter Molnar Date: Mon, 25 Feb 2019 22:40:01 +0000 Subject: [PATCH] - gopher? gopher. - no js needed button - removed donation, I'll figure out something better, sometimes, in the future - text/plain alternate, also for gopher - better Pandoc subclassing - bye message - first image becomes OG image - removed duplicate reply symbol - DAT .well-known prepare, not active - oembed singular vars, should they ever be needed - fixed target lookup for webmentions so it works both with index.html or with path only --- assets/icomoon/SVG/facebook.svg | 5 + assets/nojs-button.svg | 27 +++ meta.py | 3 +- nasg.py | 338 ++++++++++++++++++++++---------- pandoc.py | 249 +++++++++++++++++------ settings.py | 66 +++++-- templates/Singular.j2.html | 29 +-- templates/Singular.j2.txt | 10 + templates/style.css | 13 -- templates/symbols.svg | 3 - 10 files changed, 513 insertions(+), 230 deletions(-) create mode 100644 assets/icomoon/SVG/facebook.svg create mode 100644 assets/nojs-button.svg create mode 100644 templates/Singular.j2.txt diff --git a/assets/icomoon/SVG/facebook.svg b/assets/icomoon/SVG/facebook.svg new file mode 100644 index 0000000..922200d --- /dev/null +++ b/assets/icomoon/SVG/facebook.svg @@ -0,0 +1,5 @@ + + +facebook + + diff --git a/assets/nojs-button.svg b/assets/nojs-button.svg new file mode 100644 index 0000000..44399e6 --- /dev/null +++ b/assets/nojs-button.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/meta.py b/meta.py index 5b68e36..02e6241 100644 --- a/meta.py +++ b/meta.py @@ -18,6 +18,7 @@ EXIFDATE = re.compile( r'(?P