Mercurial > piecrust2
annotate piecrust/admin/settings.py @ 1149:be74ba54a06f
admin: Improvements to micropub endpoint's photo handling.
- Add `.jpg` extension to photos that don't have any extension.
- Add photos in the config section instead of the body, so that the layout
can put them in separate `u-photo` tags.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 10 Jul 2018 21:03:58 -0700 |
parents | 660250c95246 |
children |
rev | line source |
---|---|
935
7ecb946bfafd
admin: Lots of fixes for running the admin panel in a WSGI server.
Ludovic Chabant <ludovic@chabant.com>
parents:
886
diff
changeset
|
1 FOODTRUCK_ROOT_URL = '' |
970
660250c95246
admin: Improve support for Micropub.
Ludovic Chabant <ludovic@chabant.com>
parents:
935
diff
changeset
|
2 TOKEN_ENDPOINT = "https://tokens.indieauth.com/token" |