aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/content (follow)
Commit message (Collapse)AuthorAgeLines
* Use the more consistent highlight.Gravatar kosayoda2021-04-13-1/+1
| | | | | We don't need ReasonML support, and the reasonable theme has a really ugly neon parameter color.
* Use metadata titles in Sub-Articles dropdown.Gravatar kosayoda2021-04-02-4/+2
| | | | | | This allows us to keep filenames (thus URLs) as concise as possible, while having a more descriptive entry in the Sub-Articles dropdown for category pages.
* Allow clicking outside the dropdown to hide it.Gravatar kosayoda2021-04-01-3/+11
|
* Add a dropdown menu listing direct children.Gravatar kosayoda2021-04-01-0/+33
| | | | | This only shows when the page is also a category, since regular pages have no children and regular categories already list their children.
* Allow adding a table of contents to a page.Gravatar kosayoda2021-03-29-9/+19
|
* Improve content page and listing metadata keys.Gravatar kosayoda2021-03-27-3/+3
| | | | | | | Make category `title` consistent with page `title`. Simplify `icon` key, since there is no benefit to defining the icon class and the icon separately. Allow overriding the `icon` for category entries just like page entries.
* Replace `markdown2` with `markdown` and `python-frontmatter`.Gravatar kosayoda2021-03-24-3/+3
| | | | | | 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.
* Improve variable and key names for page utils.Gravatar kosayoda2021-03-24-3/+3
|
* Refactor common HTML into a base template.Gravatar kosayoda2021-03-24-107/+82
|
* Rename `short_description` to `description`.Gravatar kosayoda2021-03-24-2/+2
| | | | | Given that there is no "long description", just `description` conveys the same information with brevity.
* Fix content columns when there is no sidebar.Gravatar kosayoda2021-03-24-15/+18
| | | | | If the `relevant_links` field is not provided in the markdown, do not restrict contents to 2/3 columns.
* Simplify content app.Gravatar kosayoda2021-03-23-5/+1
| | | | | | | | | 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.
* Rename `articles` to `pages`.Gravatar kosayoda2021-03-23-19/+19
| | | | | | 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/`.
* Simplify relevant_links configuration in markdown.Gravatar kosayoda2021-03-23-1/+1
|
* Remove Github metadata feature.Gravatar kosayoda2021-03-23-18/+0
| | | | | This feature is still under implementation debate, so it will be further discussed in another issue and implemeneted in a future PR.
* Update highlight.js script and use one dark style.Gravatar kosayoda2021-03-23-2/+3
| | | | Unifies the highlighting with the events app.
* Remove old templatesGravatar ks1292020-11-28-97/+0
|
* Change article.html to match with unlimited categoriesGravatar ks1292020-11-28-3/+3
|
* Create categories and articles listing templateGravatar ks1292020-11-28-0/+62
|
* Use Django URL generation for category URLGravatar ks1292020-10-30-1/+1
|
* Use Django URL generation for content app templatesGravatar ks1292020-10-30-3/+3
|
* Implement fetching contributors and last modification date from GitHubGravatar ks1292020-10-06-0/+18
|
* Rename content -> articles for visual partGravatar ks1292020-10-06-7/+7
|
* Implement custom icons for articlesGravatar ks1292020-10-05-2/+2
|
* Remove last modified field from articleGravatar ks1292020-10-05-3/+0
|
* Migrate content system from Python-Markdown to markdown2Gravatar ks1292020-10-05-9/+8
|
* Change guides system to content systemGravatar ks1292020-10-04-0/+158
As this system will be used for more than just guides, I had to do some refactoring to match this system with plans. Basically now there isn't guides, but articles instead.