[Todo list] What needs to be done to improve general code maintenance and content creation
We should be able to insert content without intervention in the layout and as such, there are a few things we need to do.
Also, documentation needs to be added, in case someone else needs to take over.
(TODO: to be updated)
Removing unnecessary stuff
- We are on bootstrap 4
- bootstrap-switch.js - removed
- highlight.min.css - removed
- highlight.pack.js - removed
- bootstrap-datepicker.js - removed
- mathjax.js - removed
- TeX-AMS_CHTML.js - removed
- now-ui-kit - can be loaded only when we need it.
layouts
Most of the website has single column layout, news has 3, home 2, some might have 4. We need to create templates for those layouts using bootstrap and name them in an understandable way.
1-column.html, and so on.
Markdown files
we should be able too chose header type.
+++
date = "2016-09-04T15:50:15+02:00"
draft = false
title = "Donate"
layout-type = "1-column"
navigation-type = "nav-image-header"
meta-description = "How can you help keep Manjaro Linux running by donating"
meta-keywords = "donating manjaro linux, helping manjaro linux, contribute manjaro linux"
+++
Assets
We should create a test-page.md with all markdown options available. Create a a master styles.css that overrides bootstrap elements and colors were is needed to match Manjaro design, we should also port away from now-ui-kit, and create any designs we need from there in boostrap, this will also allow to update the framework in the future with minimal effort.
Extra Css, JavaScript, should be loaded only in pages that is needed, if we dont need jquery then we wont load it, they should also have a preload tag.
{{ if eq .Title "News"}}
if in page news do something or load something.
{{ end}}
Markdown html output
Any old output like tables should be modified to modern html