Bruno Rocha - 3
Hello Streams
This content does not show on index page and also does not show on main rss feed. Because this content defines a custom stream on the frontmatter --- stream: alt --- # Alternative Stream This will show only on `alt.html` and will be listed only on ... read more →
Why to use Marmite?
Marmite is a simple, easy and opinionated static site generator. Marmite doesn't require specific folder structure or complex configuration, the goal is that a blog can be generated simply by running Marmite on a folder with Markdown and media files ... read more →
Content Types and Taxonomy
Marmite separates content in two kinds, posts and pages. An opinionated decision of marmite is how it makes the distinction. Posts If content has a date it is a Post! Instead of having to mark if a content is a page via metadata, Marmite takes the si ... read more →
Customizing Templates
Marmite uses Tera as its template parser, the language is very similar to Jinja or Twig. Important always link relative to the current path starting with ./ If absolute url is needed then use {{ url_for(path="path", abs=true) }} template f ... read more →
Using Markdown to customize layout
Listing Page The following fragments allow markdown and HTML and are rendered by Tera so it is possible to use template expressions. The global context is available for templating. _announce.md _header.md _hero.md _sidebar.md _footer.md The listi ... read more →
Markdown Formatting Options
The content on Marmite accepts any valid CommonMark or Github Flavoured markdown and some GFM extensions. read more →
Hosting
Marmite genetates a static site, so you can host it in any web server. Examples: Github pages Gitlab pages Netlify Vercel Nginx Apache Github Pages This is the easiest and cheapest option to publish your static blog, you need a Github Repository co ... read more →
Enabling Comments
Marmite as a static site generator, doesn't have commenting features, but there are various options of external commenting systems to integrate. Utterances Use github issues as comment system Requires user to login to github Giscus Use Github dis ... read more →
Pagination
Yes! we have pagination! Set pagination: 10 on your marmite.yaml The pagination template is very simple <div class="pagination"> <nav> <ul> {% if previous_page %} <li><a href=" ... read more →