a website
HTML TeX CSS Emacs Lisp Python Nix Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
content
lisp
nginx
pelican-plugins @ 572293f
root
theme
.gitignore
.gitmodules
LICENSE
default.nix
develop_server.sh
kilserver.sh
makefile
pelicanconf.py
publishconf.py
readme.org
startserver.sh

readme.org

Got the insperation for a webise from eevee

So this is powered by pelican. (and the org-mode plugin, org mode best mode)

website extensions

  • Reddit comments into static site
  • Justify paragraphs like latex

Org export

  • Should be faster
    • Maybe going full python? IDK how far that is or how much work
  • TOC shouldn’t be generated with ID on overview page.

Layout ideas

Body based wrapping

http://benhoyt.com/writings/pyast64/

Also looks really clean. Although the word spacing is a weird choice

Speedup

or do inpage compression, It seems to be about 100k now which is a bit much imho.

NGINX

tracking

  1. Should move configuration file into the version controll
  2. Publish script should overwrite the config file from version controlled one

redericts

Make them all temporary, don’t want browsers to cache them.

Search performance

Setup amp?

https://www.ampproject.org/docs/fundamentals/spec#html-tags

It seems actually quit doable. The only issue is mathjx realy. However currently nobody is coming on my website trough search so who cares.

Setup structured

??

Replace straight quotes with curly

Probably can just add a filter in pelican or something. Make a plugin that fixes it for everyone?

https://practicaltypography.com/straight-and-curly-quotes.html

Troubleshooting

To help me trough the dark times when the ductape fails.

Org fails

Probably because of that orgmode bug where they say it isn’t allowed to do compilation. (the id then doesn’t get generated which makes it fail entrily). Test by trying to just C-c C-c some random org source block. Try recompiling elpa m x recompile-elpa and see if it loads now.

wrong type arg (stringp, null)

If it’s only the thesis it’s the plant uml blocks. recompile elpa, make sure plantuml is enable (should be).

Also I found a binary search was a good way to confirm that it’s the plantuml blocks.

Assets not found in template

Set the SASS_PATH to theme/static/css.

Web assets doesn’t render

Mask jinja 2.9 for webassets 0.12, see https://bugs.gentoo.org/641766

Links

Google crawl report, I stumbled on that when configuring a static site in buckets.

https://analytics.google.com/analytics/web/