Commit Graph

12 Commits

Author SHA1 Message Date
Matthias Portzel 30918a179f About page public domain wording change 2022-06-04 09:11:03 -04:00
Matthias Portzel c28a51bf13 Add basic opengraph support 2022-05-19 13:44:02 -07:00
Matthias Portzel 7ad6f21f66 Make history nav into a column, add link to search 2022-05-17 07:44:48 -07:00
Matthias Portzel 9306248902 Search CSS tweaks
* A couple of other minor things
2022-05-16 11:28:47 -07:00
Matthias Portzel 40fd0aaa5c Current page tweaks
* Add link rel canonical to all pages (/ points itself instead of /?page=current-season because Google crawls duplicate versions of pages less often. I want / to be crawled frequently, so it has to be the canonical version of the content it holds)
* Fix a bug where passing an invald page slug would mean that no page was highlighted as current in the footer
2022-05-12 08:16:44 -05:00
Matthias Portzel 7f7d21384e Add media alt button for video 2022-05-08 10:13:03 -04:00
Matthias Portzel 93d7966db5 Add audio/mpeg, which the server uses for mp3 audio 2022-05-07 17:03:51 -04:00
Matthias Portzel 58dc4d62b0 Move to mp3 as the default audio type
* Also adds aac as an allowed audio type, fixing a bug where I could edit those posts
* To convert old audio to mp3, the following commands were used:
    ls *.aac | xargs -I {} bash -c 'ffmpeg -y -i {} -acodec mp3 $(echo {} | sed s/aac/mp3/)'
    for t in Thought.objects.filter(media__endswith=".aac"):
        t.file.name = f"{t.uuid}.mp3"
        t.save()
And ditto with m4a.
2022-05-07 16:46:16 -04:00
Matthias Portzel 292a464f11 Switch to text-decoration from border-bottom for header underlines 2022-05-03 14:20:23 -04:00
Matthias Portzel d3345dc67f Move search templates 2022-05-03 13:31:01 -04:00
Matthias Portzel 98e2aa29ba Merge
Media control addition was a hot fix which skipped my normal development enviroment, where I was working on the app rename. This merges the two branches.
2022-04-30 13:37:10 -04:00
Matthias Portzel 1defa2b92c Rename 'main' to 'thoughts'
SQL to migrate the DB. Create migrations, migrate
`DELETE FROM django_content_type WHERE app_label='thoughts';`
`UPDATE django_content_type SET app_label='thoughts' WHERE app_label='main';`
`DROP TABLE thoughts_thought;`
`ALTER TABLE main_thought RENAME TO thoughts_thought;`
`DELETE FROM django_migrations WHERE app='main';`
Hopefully that's right, I'm not going to double check it or anything.
2022-04-30 13:34:39 -04:00