Commit graph

222 commits

Author SHA1 Message Date
dependabot[bot]
d65b4fc011
Bump pyyaml from 5.2 to 5.4
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.2 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.2...5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 23:14:36 +00:00
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
71bf7f7266 before json-ld cleanup 2020-03-09 11:09:46 +00: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
c55a4e756d filter_var is important, mmmkay? 2020-01-06 13:57:29 +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
70a775b6d5 - redirects and gones are now rendered
- xmlrpc link removed because spam
- minor template cleanups
- incmonig webmention logging improvements
2019-10-19 10:05:54 +01:00
Peter Molnar
a985f5ca33 typo fix 2019-09-06 12:09:22 +01:00
Peter Molnar
b85091686f comments were messed up because of the formet dt modification, fixed 2019-09-06 12:08:47 +01:00
Peter Molnar
601ef36517 refactored feed generator for category - the previous became messy; minor cleanup in wayback.py; webmention backfilling moved earlier, so it's trigger a render instantly 2019-08-29 16:01:36 +01:00
Peter Molnar
36a8e1d7a0 bridgy publish + webmention.io backfill fix, thx to @snarfed for https://github.com/snarfed/bridgy/issues/84 2019-08-28 08:53:09 +01:00
Peter Molnar
c5ec1e95fa save to archive.org if memento lookup fails 2019-08-28 08:52:11 +01:00
Peter Molnar
18e67c3733 added enclosure rel to atom feed for photos; delay the memento lookup for 2 hours from publish; order the latest entries on home by publish date, not by category name 2019-08-27 11:39:09 +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
35679e8fd8 I forgot this 2019-08-14 11:28:15 +01:00
Peter Molnar
9e0e58a4c6 cleanups on wayback functionality 2019-08-14 11:28:01 +01:00
Peter Molnar
0fcbfe0bd9 this is a replacement for the removed memento functionality; a tiny wayback machine crawler that tried to look up the earliest saved version of a page 2019-08-14 10:17:20 +01:00
Peter Molnar
c514c71dd3 mega refactor, part 3: unused libs 2019-08-13 17:04:50 +01:00
Peter Molnar
a9fcf2578e mega refactor, part 2: category cleanup 2019-08-13 16:59:02 +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
0f298ae2ac redirect/gone cleanup, step 3; moved syndication links to the top of an entry 2019-08-12 11:19:29 +01:00
Peter Molnar
b46d8aa7a5 redirects and gone cleanup, step 2 2019-08-12 10:49:51 +01:00
Peter Molnar
137522c23d rewrites and gones moved to settings, step 1 2019-08-12 10:48:03 +01:00
Peter Molnar
0c8a72e26e adding an extra step to run to execut post-run.sh in case the file is present; it's for arbitrary or one-off things that shouldn't really be part of NASG 2019-08-12 10:46:46 +01:00
Peter Molnar
3dd43d4c1d fixing pandoc TXT formatting to avoid 'smart' apostrophes 2019-08-12 10:46:04 +01:00
Peter Molnar
772958b1df removed anything lxml related: XML sitemap and OEMBED - these are not important and I'd rather reduce the dependencies needed 2019-07-14 20:48:49 +01:00
Peter Molnar
f7313075db .cache files moved from system tmp dir next to it's source 2019-07-14 20:47:41 +01:00
Peter Molnar
678a7f7503 post-black 2019-06-25 23:48:04 +02:00
Peter Molnar
1c893cf678 pre-black 2019-06-25 23:43:45 +02: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
aea27405db apparently pagination shouldn't be <nav> 2019-06-20 08:22:53 +01: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
bda93b05ef icomoon cleanup 2019-05-28 14:27:05 +02:00
Peter Molnar
9ccef17261 pip update 2019-05-23 09:07:31 +01:00
Peter Molnar
e133e8ceaf - code cleanup and minor refactoring
- removed imghdr that is about to be deprecated and replaced it with filetype
- removed lxml include and with that the oembed parts I ended up never using
2019-05-23 09:06:34 +01:00
Peter Molnar
3d808d9b6e opensearch xml fix to reflect the single endpoint /search.php 2019-05-22 20:56:35 +01:00
Peter Molnar
6bbeebadd0 unused vanilla js lightbox, should it ever be needed 2019-05-22 20:55:28 +01:00
Peter Molnar
f5297f58c8 added unmung url to convert rss to mf2 for brid.gy to be happy when it parses my site 2019-05-22 20:54:56 +01:00
Peter Molnar
5693585695 cleaned up syndication copy fetcher 2019-05-22 20:54:10 +01:00
Peter Molnar
f1ef48b903 konami update 2019-05-22 13:17:39 +01:00
Peter Molnar
1a80fa5456 opensearch merge with search, because it makes more sense 2019-05-22 13:17:22 +01:00
Peter Molnar
e18582840e adding opensearch (xml description j2 template, RSS+XML search results PHP) 2019-05-22 10:15:21 +01: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
72582d0a60 pipenv lock update 2019-04-29 09:35:38 +01:00