Rust BR Blog template for Gutenberg
Branch: master
Clone or download
Latest commit 43c9c39 Feb 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
content Update to gutenberg 0.4 (#4) Aug 8, 2018
sass Update to gutenberg 0.4 (#4) Aug 8, 2018
static Back: Empty Static Jun 1, 2018
templates Fix typo in the post_nav macro Feb 20, 2019
.gitignore Add: Start Theme May 31, 2018
LICENSE Initial commit May 31, 2018
README.md Improve: README Jun 2, 2018
config.toml Update to gutenberg 0.4 (#4) Aug 8, 2018
screenshot.png Add: screenshot Jun 1, 2018
theme.toml Update to gutenberg 0.4 (#4) Aug 8, 2018

README.md

753986_1

Rust BR Blog template for Gutenberg

Features

  • A kind of i18n for base words as: "Next", "Previous", "Pages", "Categories"
  • Blog Title and Logo on extra configurations
  • Auto-sidebar links by configuration
  • Simple design based on Medium
  • SEO using structured data and another features

Configurations

[extra]
blog_logo="/imgs/common/logo.png" #will appear on top header
blog_title="rust::br::Blog" #will appear on top header after logo

## i18n words
label_tags = "Tags"
label_tag = "Tag"
label_categories = "Categorias"
label_category = "Categoria"
label_relative_posts = "Postagens Relacionadas"
label_next = "Próxima"
label_previous = "Anterior"
label_page = "Página"
label_of = "de"

og_image="" # Image that will appear on social media
og_alt_image="" # Alt for og_image
og_site_name="" # Site Name for Open Graphic
keywords="" # Keywords for SEO

educational_use="knowledge share" # OPTIONAL
copyright_year="2018" # OPTIONAL

fb_app_id="???" # OPTIONAL, Facebook App Id to help in metrics
twitter_username="@???" # OPTIONAL, Twitter User to help with metrics

## Sidebar automatic links
sidebar = [
    {name = "Social", urls=[
        {name="Telegram", url="https://t.me/rustlangbr"},
        {name="Github", url="https://github.com/rust-br"},
    ]},
    {name = "Divida Conhecimento!", urls=[
        {name="Contribuir!", url="https://rust-br.github.io/blog/hello-world"}
    ]}
]

This configuration was the same configuration that we use on RustBR Blog

Favicons and other stuff

By default Dinkleberg wait that you have all icons on root of your static, for it you can use the site https://www.favicon-generator.org/ to generate that bundle and put it inside you /static :D