Commit graph

42 commits

Author SHA1 Message Date
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
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
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
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
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
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
370858a795 themeswitcher made to be strictly js only; css cleanups according to that; theme made a bit more airy 2019-04-29 09:34:47 +01:00
Peter Molnar
1f4a864d59 - url / error cleanup in Home
- 'noping' setting to create ping files, but don't actually send webmentions
- watermark size back to older setting
- changed sharpend in unsharp mask settings
- added is_photos setting which applies if all images are photos
2019-04-10 09:27:37 +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
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
c4f56088cc redesign, new home ideas 2019-01-15 22:28:58 +01:00
Peter Molnar
21c50a2e46 before complete re-design 2019-01-15 22:28:03 +01:00
Peter Molnar
b18df5fd3e small styling updated, print css fixes 2019-01-05 11:56:12 +00:00
Peter Molnar
3cdb515bc3 theme cleanups of unused bits; better light theme, altered dark theme 2018-12-31 17:22:31 +00:00
Peter Molnar
1f8e81c380 re-adding immediate async processing; is_page added to hide a few footer metatada in page type posts; unused symbols removed, but assets updated; footer extended with a lot of extra information; kcl action replaced; 2018-12-27 19:48:06 +00:00
Peter Molnar
26c6ef77ed - now checking images against google vision api (why google, despite my despise of google, the company): vision api is the only one which is simple enough to use and their labelling is reasonable.
- checking text against google natural language api: the strict classification it offers is better, than free folksonomy, if I ever want to connect entries based on topic
unfortunately they don't support Hungarian yet.
2018-12-11 14:06:18 +00:00
Peter Molnar
de269ef39e - moved Tips from footer to bottom of each singular with an "encourage creation" header
- google vision api binding for images (not in use yet)
- konami code css preparations
- experimental gallery css
- minor code cleanups
2018-12-01 10:43:13 +00:00
Peter Molnar
ceca52dd70 - asyncio tasks execution finally are triggered by run() and not immediately, special thanks to https://www.svenknebel.de for helping me figuring it out
- svg cleanup
- adding silly webkit css search box reset
- adding extracted icomoon folder instead of a .zip
- removing pagination from flat categories
- 'follow' button gets highlighted when active
- README refactoring
2018-11-19 14:36:06 +00:00
Peter Molnar
f9f540d034 themeswitcher actually seems to be working + styling cleanup for themeswitcher 2018-11-16 22:39:12 +00:00
Peter Molnar
534daff81a themeswitcher v3 2018-11-15 14:06:35 +00:00
Peter Molnar
4cb7623355 making yearly pagination a bit more sensible, cleaner; adding trigger to only rebuild old archives if old posts' mtime got modified 2018-11-05 00:27:53 +01:00
Peter Molnar
6f6b4d020a various minor extras: twitter account, zapier callback hooks, twitter svg symbol, re-adding shortslug redirects because I broke them 2018-11-03 10:48:37 +01:00
Peter Molnar
1cd0308bb5 - schema.org things, again
- fixing google disagreements on what is needed in a hatom/hentry
- adding a bit of invisible contact information in json-ld to see if anything picks it up
- fixing border issue in menu css
2018-09-04 22:58:25 +02:00
Peter Molnar
9c749f4591 schema.org markup - just to have it. it works, it's also horrible, and I'm seriously considering removing it 2018-08-14 14:56:13 +01:00
Peter Molnar
fc2288c2fc - removed python markdown traces
- fixed gone_re php regexes
- better nav header layout
- follow page instead of direct RSS link
- logger in settings for nasg instead of direct logging
- prism.js only for articles with language code blocks
- added webmention.io webhook to email template
2018-08-08 09:42:42 +01: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
96d0c238d6 Back on prismjs <https://prismjs.com/> for syntax highlighting.
While Pandoc was generating something sane, the output of CodeHilite puts silly amount of extra text and makes the HTML output completely unreadable.

In the end, it still looks like prism.js is a nice and solid solution, even if it's JS.

I'll explore other options, but so far, it's either back to Pandoc, or sticking with Prism.
2018-08-02 22:47:49 +01:00
Peter Molnar
0d1663d0da dual contrast CSS 2018-06-17 17:30:50 +00:00
Peter Molnar
b4d73208df new CSS 2018-06-16 17:00:43 +00:00
Peter Molnar
61db088790 cleanup commit before new CSS 2018-06-16 16:53:42 +00:00
Peter Molnar
c81f0860ae moved templates to subdirectory 2017-10-06 22:51:30 +02:00
Renamed from style.css (Browse further)