Commit Graph

33 Commits

Author SHA1 Message Date
Baptiste Gelez
70af57c6e1
Use Ructe (#327)
All the template are now compiled at compile-time with the `ructe` crate.

I preferred to use it instead of askama because it allows more complex Rust expressions, where askama only supports a small subset of expressions and doesn't allow them everywhere (for instance, `{{ macro!() | filter }}` would result in a parsing error).

The diff is quite huge, but there is normally no changes in functionality.

Fixes #161 and unblocks #110 and #273
2018-12-06 18:54:16 +01:00
Baptiste Gelez
f0b911a328 Fix RSS feed link on blog pages 2018-11-06 10:41:17 +01:00
Baptiste Gelez
57cf55fecc Fix RSS feed icon
Closes #289
2018-10-31 18:17:13 +01:00
Trinity Pointard
eca458b0e5 Add support for blog deletion
fix #181
2018-10-20 15:03:59 +02:00
Atul Bhosale
3dce53d899
Fix broken link on blog page 2018-09-24 23:46:32 +05:30
Bat
133356191a Fix link of the Atom feed for blogs
Fixes #192
2018-09-03 21:06:57 +01:00
Bat
52860efa85 Add a link for Atom feeds 2018-09-01 21:16:38 +01:00
Bat
b42030e831 Try to use only "absolute" links to avoid trailing-slash bugs 2018-07-26 19:00:23 +02:00
Bat
84974897ed Display FQN on user profiles
Fix #130
2018-07-26 18:36:38 +02:00
Bat
5f1de3f9ce Fix #128 2018-07-26 18:23:08 +02:00
Bat
5980c7b299 Simplify the logic to fallback to the FQN when no display name is available 2018-07-26 16:36:19 +02:00
Bat
04dac6f87f Add pagination links 2018-07-25 14:29:34 +02:00
Bat
5549e4d0e5 Merge branch 'master' of github.com:Plume-org/Plume 2018-07-24 14:32:11 +02:00
Kevin "Ilphrin" Pellet
cd24b0f057 Show the total number of article on a blog
fixes #150
2018-07-21 16:58:30 +02:00
Bat
67eb41add1 Add pagination to the blog page
No UI to control it yet
2018-07-20 18:42:35 +02:00
Bat
e581ef7d09 Better style for <small> tags 2018-07-19 12:00:34 +02:00
Bat
ce256d6e39 List authors of a blog
Update french translation accordingly

Fixes #129
2018-07-18 23:08:49 +02:00
Bat
3775d3a9c9 HTML validation + Actually associate messages to errors + Fix inverted behavior on new blog and post form 2018-07-07 22:51:48 +02:00
Bat
5f3afe900f Display errors on invalid forms
It will probably need a bit of styling…
2018-07-06 19:29:36 +02:00
Madeorsk
faade5ff25
Merge branch 'master' into master 2018-06-17 22:22:34 +02:00
Bat
7faf93f44a Fix a few issues with internationalization 2018-06-17 20:54:59 +01:00
Matthieu
a9bdf4d9a9 Merge branch 'master' of https://github.com/Plume-org/Plume 2018-06-17 20:14:58 +02:00
Bat
3207aa0e22 Make the UI translatable 2018-06-17 16:26:15 +01:00
Matthieu
a033a9d74e Merge branch 'master' of https://github.com/Plume-org/Plume 2018-06-12 13:57:30 +02:00
Trinity Pointard
daf4de07be rename templates from .tera to .html.tera to enable auto-escaping of html 2018-06-11 11:19:39 +02:00
Bat
7fd152e270 Add a button to write a new article 2018-06-10 19:16:25 +01:00
Madeorsk
12d85c6ec5 New design
+ New design!
+ Added link for author name in comments.
+ Added author full name in comments.
* Fixed label / input relation linking.
2018-05-19 16:29:42 +02:00
Bat
1870f52332 Make the design less aggresive
- Softer violet
- Add borders to delimit cards
- Bolder titles
- Bigger inputs
2018-05-13 21:33:21 +01:00
Bat
91b19bccb5 Add a link to author's profile on article card
Use a macro to render those cards too
2018-05-13 18:19:23 +01:00
Bat
6de9d5b82a Articles listings on blogs and users pages 2018-05-12 14:31:09 +01:00
Bat
292f4d6b27 Add actual templates for everything 2018-05-09 20:09:52 +01:00
Bat
ae60d5961c Add a base template 2018-05-09 18:53:12 +01:00
Bat
9130f4d848 Basic blog creation 2018-04-23 11:54:37 +01:00