Commit graph

234 commits

Author SHA1 Message Date
Gabriel Augendre 9dbfb473d8
Add a small radius on all images 2021-01-03 22:14:55 +01:00
Gabriel Augendre 7226ca57a2
Render spaceless HTML 2021-01-03 22:01:46 +01:00
Gabriel Augendre d59565fa82
Refactor articles model 2021-01-03 21:51:46 +01:00
Gabriel Augendre 4b224f0a1f
Minify custom css before rendering 2021-01-03 21:46:41 +01:00
Gabriel Augendre 2621796a6f
Fix suggested articles when no keyword 2021-01-03 21:13:21 +01:00
Gabriel Augendre 92fd0aac80
Put main content in main html section 2021-01-03 19:39:48 +01:00
Gabriel Augendre fa56dd138a
Use CSS to add navigation dots 2021-01-03 19:39:32 +01:00
Gabriel Augendre 118320ada1
Update admin list order 2021-01-02 11:40:50 +01:00
Gabriel Augendre afba9cf72b
Add keywords to articles admin list 2021-01-02 11:39:58 +01:00
Gabriel Augendre 843e3bfb0a
Add a related articles section at the bottom of articles 2020-12-31 13:51:13 +01:00
Gabriel Augendre 86b7c280de
Tweak borders 2020-12-31 13:50:13 +01:00
Gabriel Augendre 158c9622fd
Render admonitions with some style 2020-12-31 08:46:23 +01:00
Gabriel Augendre 345ab6ec1e
Move articles urls to their own file 2020-12-30 14:54:22 +01:00
Gabriel Augendre 4ef93a913b
Add search fields to articles and attachments admin 2020-12-30 11:32:26 +01:00
Gabriel Augendre f4a0ac6d6c
Refactor loadPreview promises 2020-12-30 07:49:49 +01:00
Gabriel Augendre 70c0ab3807
Refactor live preview & Allow previewing other visible fields 2020-12-29 21:47:37 +01:00
Gabriel Augendre ed34d79dae
Fix live preview button design on safari ios 2020-12-29 20:06:32 +01:00
Gabriel Augendre eae1baa326
Refactor live preview and make it work on safari 2020-12-29 20:04:51 +01:00
Gabriel Augendre 4e89c1798d
Add live preview in admin 2020-12-29 13:16:54 +01:00
Gabriel Augendre 8f1ce6f7bd
Update new.css 2020-12-29 09:43:18 +01:00
Gabriel Augendre ecf2fa1279
Move vendor css to own folder 2020-12-29 09:31:26 +01:00
Gabriel Augendre b06ac5389d
Update markdown cheatsheet link 2020-12-28 18:28:57 +01:00
Gabriel Augendre 40d6dc4e46
Extract navigation into snippet 2020-12-28 10:13:50 +01:00
Gabriel Augendre 766255f5ae
Fix read time when content is empty 2020-12-28 10:13:35 +01:00
Gabriel Augendre a245f09c62
Move pagination to articles list only 2020-12-28 09:01:49 +01:00
Gabriel Augendre c2c92dc62d
Add data to articles admin 2020-12-28 08:42:30 +01:00
Gabriel Augendre 91b99435bf
Increase content textarea size 2020-12-28 08:25:14 +01:00
Gabriel Augendre 26063bfffb
Move public draft url to history button 2020-12-28 08:25:00 +01:00
Gabriel Augendre 5b2a2f79c8
Improve layout of articles admin save buttons 2020-12-28 08:21:57 +01:00
Gabriel Augendre 8d335282e4
Login redirects to current page 2020-12-28 08:07:43 +01:00
Gabriel Augendre c141589b74
Add read time 2020-12-28 08:04:28 +01:00
Gabriel Augendre d1eced4f1f
Allow sharing drafts publicly with a draft key 2020-12-27 20:00:41 +01:00
Gabriel Augendre 6b52f6b2b2
Fix build full absolute url when no request 2020-12-27 19:56:50 +01:00
Gabriel Augendre 99b5f9544e
Extract resize height and width to env variables & switch to 750px width 2020-12-27 19:23:32 +01:00
Gabriel Augendre 79a284fb85
Add a markdown cheatsheet link 2020-12-27 18:24:47 +01:00
Gabriel Augendre 83822dc930
Stop guessing language, to allow for plaintext code blocks 2020-12-27 16:41:18 +01:00
Gabriel Augendre 27073402e0
Add pipelines url 2020-12-27 16:09:19 +01:00
Gabriel Augendre f47addf891
Update content block height to view all page 2020-12-27 15:56:43 +01:00
Gabriel Augendre 59a7207728
Update custom css look 2020-12-27 15:49:27 +01:00
Gabriel Augendre 1be7e28566
Switch to preconnect for analytics 2020-12-26 13:58:05 +01:00
Gabriel Augendre 0949dc7c1d
Fix minification on chrome 2020-12-25 14:50:51 +01:00
Gabriel Augendre b94d05902b
Fix tests 2020-12-25 14:46:32 +01:00
Gabriel Augendre f49791651b
Use non minified newcss 2020-12-25 14:41:44 +01:00
Gabriel Augendre 2264d5c2d5
Add assets pipeline to bundle and minimize css 2020-12-25 14:20:13 +01:00
Gabriel Augendre 1380861216
Revert to css files instead of templates 2020-12-25 13:49:48 +01:00
Gabriel Augendre b91b22e5bb
Fix keyboard shortcut for editing 2020-12-25 13:39:33 +01:00
Gabriel Augendre 665bf25b2b
Fix dns prefetch 2020-12-25 12:03:43 +01:00
Gabriel Augendre a013831ffd
Add articles custom css 2020-12-25 11:53:49 +01:00
Gabriel Augendre 987c203cfa
Rework blog posts list 2020-12-25 11:44:52 +01:00
Gabriel Augendre 86e1835a47
Add dns prefetch to plausible 2020-12-24 18:29:03 +01:00
Gabriel Augendre e23b988c55
Switch to new.css and cleanup markup & models 2020-12-24 18:06:35 +01:00
Gabriel Augendre 8bf3438746
Improve display of code and quotes 2020-12-24 12:50:25 +01:00
Gabriel Augendre c6b6002ee8
Remove unused code 2020-12-06 17:15:44 +01:00
Gabriel Augendre c9c378e2d6
Change display date format 2020-12-06 16:51:49 +01:00
Gabriel Augendre 5384af6846
Add some models tests 2020-12-03 22:04:45 +01:00
Gabriel Augendre 9930d00f7a
Test markdown image lazy loading extensions 2020-12-03 21:50:53 +01:00
Gabriel Augendre b30901af69
Test feed views 2020-12-03 21:44:23 +01:00
Gabriel Augendre 7d4e11b096
Increase coverage for html views 2020-12-03 21:15:48 +01:00
Gabriel Augendre f6299efad4
Increase title margin for h2 inside posts 2020-12-01 19:24:02 +01:00
Gabriel Augendre 9987bc57e3
Add SEO description & upgrade packages 2020-11-29 08:32:46 +01:00
Gabriel Augendre 541f50c8f1
Update page title 2020-11-28 20:48:02 +01:00
Gabriel Augendre 7b20f6d3b7
Fix tests 2020-11-28 20:29:55 +01:00
Gabriel Augendre a3bd932a2d
Use an absolute url for open graph image 2020-11-28 20:26:37 +01:00
Gabriel Augendre 3b09af8972
Fix open graph image 2020-11-28 20:14:26 +01:00
Gabriel Augendre bd76050940
Add keywords & meta tags 2020-11-28 20:09:37 +01:00
Gabriel Augendre 6f42238a21
Test successfully fail, reverting the previous commit.
Revert "Introduce a fake test to check if test fail"

This reverts commit 61ed0488
2020-11-26 12:43:41 +01:00
Gabriel Augendre 61ed04886c
Introduce a fake test to check if test fail 2020-11-26 12:39:28 +01:00
Gabriel Augendre 05b1eca647
Update tests 2020-11-26 11:31:33 +01:00
Gabriel Augendre 4f354c0014
Display an index page below the articles without abstract 2020-11-26 11:29:20 +01:00
Gabriel Augendre 7f64b9d05f
Don't show abstract on articles list 2020-11-24 21:54:42 +01:00
Gabriel Augendre 1f91b76837
Extract common code in list views 2020-11-24 21:53:26 +01:00
Gabriel Augendre b99e63dbcd
Allow "e" keyboard shortcut to edit a post 2020-11-24 18:28:47 +01:00
Gabriel Augendre 2849692fc1
Point footer to sr.ht project instead of git repo
This should give more visibility to the project
with the issue tracker and everything.
2020-11-12 16:11:27 +01:00
Gabriel Augendre 4aa4990efd
Revert "Test deploy"
This reverts commit f71f6009fa.
2020-11-12 15:50:27 +01:00
Gabriel Augendre f71f6009fa
Test deploy 2020-11-12 15:43:24 +01:00
Gabriel Augendre 1bec6742f8
Fix punctuation in footer 2020-11-11 13:30:32 +01:00
Gabriel Augendre 524c42544d
Add write link to header and reorder links 2020-11-11 12:07:19 +01:00
Gabriel Augendre 48f9a2e468
Remove unused method 2020-11-11 12:07:06 +01:00
Gabriel Augendre 4d5e42b698
Change admin -> edit 2020-11-11 12:01:16 +01:00
Gabriel Augendre 87f3fd214b
Make footer links lighter 2020-11-11 12:00:56 +01:00
Gabriel Augendre 7b6b5bb594
Update wording 2020-11-10 16:42:02 +01:00
Gabriel Augendre 3fd73c451c
Add a border before comment section 2020-11-10 16:35:57 +01:00
Gabriel Augendre b73192c371
Fix space before "draft" 2020-11-10 16:35:49 +01:00
Gabriel Augendre 908eac134e
Fix article admin field position unknown 2020-11-10 16:26:52 +01:00
Gabriel Augendre 78603c5afc
Remove comments 2020-11-10 16:26:27 +01:00
Gabriel Augendre db31dcadeb
Logged in user doesn't have plausible script 2020-11-10 16:04:07 +01:00
Gabriel Augendre 36c8a83018
Add plausible analytics if env variable exists 2020-11-10 15:44:05 +01:00
Gabriel Augendre 698a2db6a7
Update articles list look with blog title and description 2020-09-12 17:20:56 +02:00
Gabriel Augendre bd938138a2
Add link to deployed commit in footer 2020-09-12 17:02:34 +02:00
Gabriel Augendre 5fbdf4c3e5
Rewrite page fieldsets so they reflect article's 2020-09-12 16:39:07 +02:00
Gabriel Augendre 11ceec343d
Display git commit sha in footer 2020-09-09 18:33:13 +02:00
Gabriel Augendre 88f3c455ff
Increase writing space in admin page 2020-09-09 17:57:55 +02:00
Gabriel Augendre 37175e54fb
Upgrade black 2020-09-05 09:09:59 +02:00
Gabriel Augendre 603cd31691
Add a robots.txt 2020-09-05 09:04:45 +02:00
Gabriel Augendre 458126f828
Fix comments ordering 2020-09-03 22:00:38 +02:00
Gabriel Augendre cb0fa2da94
Definitively fix article field in comment admin form 2020-09-03 22:00:28 +02:00
Gabriel Augendre b180def20c
Allow disabling comments on article/page 2020-09-03 21:29:58 +02:00
Gabriel Augendre e247f15797
Fix pages not displayed in comment admin form 2020-09-03 21:29:56 +02:00
Gabriel Augendre 84a1b11315
Mark toggle dark mode script as async 2020-08-28 22:41:06 +02:00
Gabriel Augendre 1eb72f45ef
Use css to customize article content widget 2020-08-28 21:55:34 +02:00