Commit graph

28 commits

Author SHA1 Message Date
Peter Molnar
4199eb4fd6 This might be the final commit to NASG the way it is.
I wrote about it in details under
<https://petermolnar.net/article/less-features-cleaner-site/index.html>; in essence, it doesn't make sense for a personal static generator to try to be a fully open sourced one-size-fits-all, that only ends with my frustration and no joy.

If you want the stuff that builds my site:
<https://petermolnar.net/fetch.py>
<https://petermolnar.net/build.py>

And for now, that's all.

I'll keep the repo up for historical purposes.
2020-06-06 20:47:28 +01:00
Peter Molnar
67f2978aeb Reverting layout back to divs, because the "semantic" structuring of HTML5 is a mess and only complicates my life.
It's also for more backwards compatibility, though <figure> and <figcaption> is going to stay, because those make a lot of sense.

Coming up next: out with JSON-LD. It was an interesting experiment which didn't bring any good at all, even in the long run.
2020-05-17 18:14:43 +01:00
Peter Molnar
02c131b200 mostly cleanups plus gopher shows markdown not plain text; still with 70em cutoff 2020-02-21 12:02:26 +00:00
Peter Molnar
71a54c6317 - unlinked map view
- fediverse stats
- micropub things
2019-12-13 14:11:05 +00:00
Peter Molnar
79af56af9b - mastodon publish added besides "ordinary" fed.brid.gy (curiosity, for now)
- micropub moved to local from zapier - end of zapier-as-service for micropub experiment; it's too restricted for this purpose, mainly because timeouts on other remote services, such as bookmarks -> wallabag
- added unlinked worldmap view for of posts as early experiment
- added fediverse "stats"
- inlined JSON-LD - the sidecar json file is useless the way it was
- u-photo/u-featured is now out of e-content
- fixed accidentally swapp lon-lat to lat-lon
- added rel-licence to figures for encapsulated licence (future use)
- re-added twitter, added mastodon in footer
2019-10-25 09:43:50 +01:00
Peter Molnar
0cd5925620 - added photo layout with CSS flexbox
- removed webhook - the functionality now lives in zapier
- replaced the flickr logo
- arrow is temporarily locked to 0.14.2 because of the ultra annoying warning message for upcoming 0.15
2019-08-23 09:06:26 +01:00
Peter Molnar
68428caaba mega refactoring becuase the current codebase is messy, part 1 2019-08-13 14:31:41 +01:00
Peter Molnar
b46d8aa7a5 redirects and gone cleanup, step 2 2019-08-12 10:49:51 +01:00
Peter Molnar
b3827474cd - new functionality called "memento": on first publish, copy the rendered HTML to memento.html that will never change. Also try to fetch old versions from archive.org with --memento
- layout fixes
- moved CC by xyz text to the bottom of an entry from the top, so it's less distracting
2019-06-24 14:52:44 +02:00
Peter Molnar
3937bbef29 templating cleanup 2019-06-19 13:19:20 +01:00
Peter Molnar
555b4e957a experimental refactored CSS and simplified layout element nesting 2019-06-17 12:00:57 +01:00
Peter Molnar
0b1d7cef68 cleanup commit before trying something radically oldschool 2019-06-13 15:32:59 +01:00
Peter Molnar
f07e5bf522 moved hardcoded rss, atom, json, etc. filenames into settings and template variables 2019-05-29 21:34:47 +02:00
Peter Molnar
634d852dd5 - re-added oembed
- symbol cleanup
- re-added tip list
- minibanners are hidden at the bottom for now
2019-05-28 14:27:34 +02:00
Peter Molnar
32bf4994e7 fetch and display u-syndication in case of webmention.io and brid.gy publish can be asked to provide the endpoint 2019-05-05 13:04:36 +01:00
Peter Molnar
9d42d24812 re-adding microformat keywords so Flickr publish will get them via brid.gy 2019-04-29 09:34:00 +01:00
Peter Molnar
5a5723aecc jsonfeed and gopher fixes 2019-03-22 15:49:24 +00:00
Peter Molnar
9f73a9b111 - 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
2019-02-25 22:40:01 +00:00
Peter Molnar
9a5c4708d2 - relative urls!
- got rid of bleach and reacji detection, nobody is using it
- removed google vision and google text classification
- 410 for ^/tag and ^/comment
- 80x15 SVG bottom banners
- better code syntax hightlight CSS
2019-02-16 00:14:12 +00:00
Peter Molnar
f47ed93fa0 once more with feeling: on-the-fly representation is schema.org json-ld for everything,
becase it's easy to write, forces me to use some sort of structure, and it might come handy.

However, the end HTML is microformats v1 and v2 - v1 for google, search engines, etc, v2 for anything indieweb.
2019-02-08 23:32:52 +00:00
Peter Molnar
c6755e6125 - no more microdata or RDFa in HTML: went full JSON-LD
- added og: and article: from open graph to meta
- jsonld as tmplvars for most elements
- removed unused commented code
- indention for inline CSS for readability
- merged reactions and comments into a single block
2019-02-07 19:27:15 +00:00
Peter Molnar
d19efb6c68 microdata => rdfa so I make academics happy 2019-02-03 16:40:08 +00:00
Peter Molnar
da02d9ba95 - removed google things, for now, it's not useful
- relurl filter is ready, but not yet in use, because it's a mess
- reworked yearly archives: all page shows all years, no prev/next
- removed property= mf2 tags
- cleanups in markup
- added searchaction schema.org thing
- removed everything-the-same-size-font from style
2019-01-31 22:23:16 +01:00
Peter Molnar
ce9c806274 - theme cleanup
- menu is now coming from settings
- content block is emptied in base
- removed unused SVG icons
2019-01-21 16:10:27 +00:00
Peter Molnar
3bc95edebc micropub queue support added; licence now links to spdx.org and uses the identifiers from there 2018-11-10 20:49:13 +00:00
Peter Molnar
5ec437de8f - CSS fixes and simplifications
- prism.js inlined (only for entries with code blocks)
- pandoc is a subclass is str now
- added 'nasg' logger
- minor bugfixes
2018-08-04 09:30:26 +01:00
Peter Molnar
d3fbf2e51f Back To Pandoc
So, Python Markdown is a bottomless pit of horrors, including crippling parsing bugs,
random &nbsp; out of nowhere, lack of features. It's definitely much faster, than
Pandoc, but Pandoc doesn't go full retard where there's a regex in a fenced code block,
that happens to be a regex for markdown elements.

Also added some ugly post string replacements to make Pandoc fenced code output work
with Prism:
instead of the Pandoc <pre class="codelang"><code>, Prism wants
<pre><code class="language-codelang>, so I added a regex sub, because it's 00:32.
2018-08-04 00:28:55 +01:00
Peter Molnar
bff9513eaf v4.0a 2018-07-20 16:45:42 +01:00