Posts tagged with 'docs' - 2
Getting started
Getting started
☆Learn how to create your blog with Marmite in minutes, you can start with zero-config and then customize gradually later. Not convinced yet? Read why-to-use-marmite Quick Start Installation Marmite is written in Rust 🦀 so if you have Rust in your sy ... 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 →
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 →