You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.md 2.4KB

6 years ago
6 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. +++
  2. title = "dinkleberg"
  3. description = "The Rust BR theme for Gutenberg"
  4. template = "theme.html"
  5. date = 2018-05-31T23:02:50-03:00
  6. [extra]
  7. created = 2019-04-06T11:27:43+02:00
  8. updated = 2018-05-31T23:02:50-03:00
  9. repository = "https://github.com/rust-br/dinkleberg.git"
  10. homepage = "https://github.com/rust-br/dinkleberg"
  11. minimum_version = "0.4.0"
  12. license = "MIT"
  13. demo = "https://rust-br.github.io/blog/"
  14. [extra.author]
  15. name = "Guilherme Diego"
  16. homepage = "https://github.com/guidiego"
  17. +++
  18. ![753986_1](https://user-images.githubusercontent.com/10289071/40806112-dd79ae78-64f6-11e8-8f24-63f387d5bb8f.jpg)
  19. Rust BR Blog template for Gutenberg
  20. ## Features
  21. - A kind of i18n for base words as: "Next", "Previous", "Pages", "Categories"
  22. - Blog Title and Logo on extra configurations
  23. - Auto-sidebar links by configuration
  24. - Simple design based on Medium
  25. - SEO using structured data and another features
  26. ## Configurations
  27. ```toml
  28. [extra]
  29. blog_logo="/imgs/common/logo.png" #will appear on top header
  30. blog_title="rust::br::Blog" #will appear on top header after logo
  31. ## i18n words
  32. label_tags = "Tags"
  33. label_tag = "Tag"
  34. label_categories = "Categorias"
  35. label_category = "Categoria"
  36. label_relative_posts = "Postagens Relacionadas"
  37. label_next = "Próxima"
  38. label_previous = "Anterior"
  39. label_page = "Página"
  40. label_of = "de"
  41. og_image="" # Image that will appear on social media
  42. og_alt_image="" # Alt for og_image
  43. og_site_name="" # Site Name for Open Graphic
  44. keywords="" # Keywords for SEO
  45. educational_use="knowledge share" # OPTIONAL
  46. copyright_year="2018" # OPTIONAL
  47. fb_app_id="???" # OPTIONAL, Facebook App Id to help in metrics
  48. twitter_username="@???" # OPTIONAL, Twitter User to help with metrics
  49. ## Sidebar automatic links
  50. sidebar = [
  51. {name = "Social", urls=[
  52. {name="Telegram", url="https://t.me/rustlangbr"},
  53. {name="Github", url="https://github.com/rust-br"},
  54. ]},
  55. {name = "Divida Conhecimento!", urls=[
  56. {name="Contribuir!", url="https://rust-br.github.io/blog/hello-world"}
  57. ]}
  58. ]
  59. ```
  60. This configuration was the same configuration that we use on [RustBR Blog](https://rust-br.github.io/blog)
  61. ### Favicons and other stuff
  62. 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/](https://www.favicon-generator.org/) to generate that bundle and put it inside you `/static` :D