| Commit message (Collapse) | Author | Lines |
|
The tests uses pyfakefs to simulate a fake filesystem that is reused
over the content app tests.
Test coverage for the app is brought to 100%.
|
|
This allows us to properly escape codeblocks within markdown, permalink
to headers on a page, and decouples getting metadata from a file and
getting generated HTML from the Markdown content.
|
|
|
|
|
|
|
|
Renaming `PageView` to `PagesView` was accidental and unnecessary.
|
|
|
|
Wording is also improved.
|
|
|
|
Given that there is no "long description", just `description` conveys
the same information with brevity.
|
|
If the `relevant_links` field is not provided in the markdown, do not
restrict contents to 2/3 columns.
|
|
|
|
Rather than having two views for the base page and all other pages, all
pages now use the same view.
The view context handler is simplified to take advantage of pathlib
features.
The markdown folder is now /content/resources/* rather than
/content/resources/content/*, as the latter is unnecessary nesting.
|
|
Articles was a good name, but we want an `articles` category in
the future. `/pages/guides/` and `/pages/articles/` are clearer in name
than `/articles/guides/` and `/articles/articles/`.
|
|
|
|
This feature is still under implementation debate, so it will be further
discussed in another issue and implemeneted in a future PR.
|
|
This makes it consistent with the django-wiki version of the code
blocks, which looks neater.
|
|
Unifies the highlighting with the events app.
|
|
This makes it consistent with the django-wiki version of the code
blocks, which looks neater.
|
|
Prevents page contents of events pages from being narrower when there is
no sidebar to fill the space.
|