Commit graph

303 commits

Author SHA1 Message Date
339ffde323
Allow images to be optional 2022-06-15 09:33:53 +01:00
8aea60da35
Add dynamic images to home and content pages 2022-06-15 09:27:20 +01:00
faf44e863a
Actually install DDT 2022-06-15 09:00:57 +01:00
6d27add843
Use Django's method for class properties 2022-06-14 22:30:39 +01:00
d5d0b293f7
Add debug toolbar 2022-06-14 22:29:08 +01:00
d4b9638a94
Use ipsum for latest post for now 2022-06-14 22:06:00 +01:00
4b9ed0dd66
Stop top button from triggering dropdown 2022-06-14 22:04:31 +01:00
5fb0fcd629
Make navbar dynamic
This also adds some caching to them for performance reasons
2022-06-14 21:53:31 +01:00
db6ca1ae8d
Show darkmode toggle on top of content 2022-06-14 21:23:24 +01:00
8e7be79b73
Only allow 1 homepage 2022-06-14 20:57:50 +01:00
b1b6aeb818
Add basic content page 2022-06-14 20:57:43 +01:00
36f8cd65b8
Just import everything bulma
We need quite a lot in the base, and it's only 200k
2022-06-14 20:12:09 +01:00
6e9f83c79e
Watch for contrib changes during dev 2022-06-14 19:22:56 +01:00
90038c3a50
Install node deps during local setup 2022-06-14 19:14:25 +01:00
c9f5b6fb3a
Add livereloading of browser 2022-06-13 22:43:54 +01:00
d4c7b34a15
Use corect event when configuring nav dropdown 2022-06-12 21:08:37 +01:00
a1aab90eb9
Add basic homepage layout 2022-06-12 21:08:11 +01:00
2fbb3b3c44
remove duplicate fontawesome styles 2022-06-12 20:01:27 +01:00
478f987421
Just install bash during static build 2022-06-12 19:42:15 +01:00
ccd04da71c
Allow contrib dir to not exist 2022-06-12 19:40:18 +01:00
22cb5cb7fc
Use sh for npm contrib script
bash isn't installed on alpine, nor is it needed
2022-06-12 19:36:59 +01:00
b521163007
Add prettier to format frontend 2022-06-12 19:35:06 +01:00
27c0d64122
Add dark mode toggle
Finally, it won't be all dark all the time!
2022-06-12 18:13:48 +01:00
553e393ba4
Add skeleton navbar 2022-06-12 17:21:53 +01:00
2066023659
Add editorconf 2022-06-12 17:03:17 +01:00
786bd251a1
Merge collectstatic job into tests
Tests are the only one which really need it. Should make the other tests much faster
2022-06-12 15:58:06 +01:00
f6221a42dd
Remove duplicate checks from test job 2022-06-12 15:55:48 +01:00
c66acadd43
Only use just during development
This makes the CI tasks more verbose, but makes the whole setup much easier to manage
2022-06-12 15:52:45 +01:00
e2d5101a56
Add linting 2022-06-12 15:24:17 +01:00
b997350283
Disable the need for collectstatic during local dev 2022-06-12 14:52:48 +01:00
bea6b53bd3
Ensure static build directory still exists during tests
This silences a warning. It's not actually _required_
2022-06-10 17:22:39 +01:00
a2044db646
Run collect_static job after pip and static 2022-06-10 17:20:06 +01:00
2c1cc3e411
Collect static before
Run as a separate job, and then tests split out into 2
2022-06-10 17:15:13 +01:00
c16b81a618
Test homepage is accessible 2022-06-10 17:04:36 +01:00
85785dddb7
Use Python 3.10 on CI 2022-06-10 17:01:26 +01:00
f5d45e65ba
Set secret key during tests 2022-06-10 16:56:25 +01:00
284d139968
Add pip cache 2022-06-10 16:56:07 +01:00
adb2b3aa8b
Add CI config 2022-06-10 16:46:47 +01:00
d17b0af9f6
Add tests for unique body classes 2022-06-10 16:22:20 +01:00
82f3163ff5
Derive body class for pages 2022-06-10 15:54:31 +01:00
3986b30a64
Create a base page model for all other to inherit 2022-06-10 15:48:07 +01:00
67b8965e1f
Remove boilerplate 2022-06-10 15:44:43 +01:00
e96bb4c903
Remove unnecessary static path
This is handled by whitenoise
2022-06-10 15:39:50 +01:00
b195ae2a62
Update settings to use pathlib 2022-06-10 09:16:13 +01:00
c1fdd81f86
Setup static file pipeline 2022-06-10 09:13:00 +01:00
56112a9655
Add honcho and just 2022-06-09 22:20:40 +01:00
da540a2abb
Add basic README instructions 2022-06-09 09:18:10 +01:00
bbbea0b6aa
Prune the readme 2022-06-09 09:13:24 +01:00
6514c06ad1
npm init 2022-06-09 09:09:02 +01:00
e0b95fd269
Add whitenoise for static files 2022-06-09 09:03:00 +01:00