Bastian Venthur
c952c574b7
Don't use internal templates anymore.
...
Blag will throw an error if a template is not found locally. The error
message contains an explanation for the user on where to get the missing
templates.
Quickstart will generate templates for the user in the working
directory.
Updated tests appropriately.
2023-06-01 13:35:33 +02:00
Bastian Venthur
87d619cc1c
Re-formatted the code
2022-09-01 12:41:25 +02:00
Bastian Venthur
f59a648779
import future annotations to make mypy work on py38
2022-08-31 23:04:30 +02:00
Bastian Venthur
ebac0a8fc4
fixed for mypy --strict testing
2022-08-31 22:59:55 +02:00
Bastian Venthur
641f0ed94e
Added some extra tests:
...
* test for static files
* generated files
* archive
* atom feed
* tags and tags-archive
2022-08-07 21:11:41 +02:00
Bastian Venthur
138a78357a
added --verbose option
...
this one increases the loglevel to 'debug'
2022-06-28 22:00:44 +02:00
Bastian Venthur
35f6ef05b6
added version option
2022-06-20 12:30:27 +02:00
Bastian Venthur
9cdecdccf7
replaced args with cleandir where possible, removed tempdir
2021-03-29 13:22:04 +02:00
Bastian Venthur
499b0dfe11
added cleandir to change cwd
2021-03-29 13:02:12 +02:00
Bastian Venthur
72971408b2
added tests for build and main
2021-03-29 12:40:13 +02:00
Bastian Venthur
98b97fbbbd
fixed bug in blag where context was not provided to pages
2021-03-29 12:06:08 +02:00
Bastian Venthur
d227392c79
put fixtures into conftest
2021-03-29 11:59:43 +02:00
Bastian Venthur
7d69c37032
Use description tag for Atom feed if provided
2021-03-17 10:39:26 +01:00
Bastian Venthur
d778d01e78
added global site variables to environment
2021-03-08 21:35:51 +01:00
Bastian Venthur
3874d19371
test for automatically appending trailing slash to base_url
2021-02-22 22:19:32 +01:00
Bastian Venthur
e9a7da13e6
test config
2021-02-22 22:16:59 +01:00
Bastian Venthur
5639b38da3
test parse_args
2021-02-22 21:38:15 +01:00
Bastian Venthur
8f8a89f1eb
added test for feed generation
2021-02-13 13:38:18 +01:00
Bastian Venthur
5f5a8af49b
renamed old sg stuff to blag
2021-02-01 21:34:30 +01:00