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 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. +++
  2. title = "feather"
  3. description = "A modern blog theme"
  4. template = "theme.html"
  5. date = 2018-01-21T04:35:36-05:00
  6. [extra]
  7. created = 2018-01-21T04:35:36-05:00
  8. updated = 2018-01-21T04:35:36-05:00
  9. repository = "https://github.com/piedoom/feather"
  10. homepage = "https://github.com/piedoom/feather"
  11. minimum_version = "0.2"
  12. license = "MIT"
  13. [extra.author]
  14. name = "doomy"
  15. homepage = "https://alexanderlozada.com"
  16. +++
  17. # feather
  18. A lightweight theme for gutenberg
  19. Feather is a blog theme specifically designed for the static site generator [Gutenberg](https://github.com/Keats/gutenberg). It's as far as
  20. I know the first theme for the platform that isn't a port or just contained within template files.
  21. Feather is *not* intended for anything other than blogs.
  22. # Developing & Contributing
  23. Because feather comes with example content, you can run the theme just like any Gutenberg
  24. blog with `gutenberg serve`. Your changes will autoreload!
  25. ## Considerations
  26. Please don't edit the `content` folder directly for your own blog, use it as a theme like
  27. intended!
  28. # Usage
  29. Using feather is easy. Install [Gutenberg](https://github.com/Keats/gutenberg) and follow
  30. [the guide for creating a site and using a theme](https://www.getgutenberg.io/documentation/themes/installing-and-using-themes/). Then,
  31. add `theme = "feather"` to your `config.toml` file.
  32. If you intend to publish your site to Github Pages, please check out [this tutorial](http://vaporsoft.net/publishing-gutenberg-to-github/).
  33. ## Options
  34. Gutenberg allows themes to [define `[extra]` variables](https://www.getgutenberg.io/documentation/getting-started/configuration/)
  35. in the config. Here's a full list of theme variables with example values and comments.
  36. ```
  37. [extra]
  38. # specify an image for the big header at the top of the page.
  39. # this will be a background cover image, so make it large enough
  40. # so that it won't upscale enough to pixelate
  41. feather_header_image = "/theme_images/default.gif"
  42. # if you want comments, add your disqus embed code here.
  43. # you can obtain a code on the disqus website.
  44. feather_disqus_code = "<div id='disqus_thread'></div><script> var disqus_config = ... etc ... etc ..."
  45. # if you'd like people to be able to donate to you, you can include a donate link
  46. # to be displayed in the footer of the website.
  47. feather_donate_link = "https://paypal.me/piedoomy"
  48. # if you want analytics, add your tracking code HTML here.
  49. feather_analytics = "<script async src='https://www.googletagmanager.com/gtag/... etc ... etc ..."
  50. ```
  51. ## Features
  52. Feather also provides several features optional.
  53. - [x] Categories page
  54. - [x] Tags page
  55. - [x] Sorting chronologically
  56. - [x] Comments
  57. - [x] Analytics
  58. - [x] Donate links
  59. ## Using Categories and Tags
  60. In order to use categories and tags, you'll need to enable their compilation by adding the following lines to your `config.toml`
  61. (make sure they aren't under `[extra]`):
  62. ```toml
  63. generate_categories_pages = true
  64. generate_tags_pages = true
  65. ```
  66. # Live demo
  67. [My dev site](http://vaporsoft.net/) uses the latest version of feather.