A tumblelog theme for Hugo
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
pirms 7 gadiem
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # Tumble
  2. A tumblelog theme for [Hugo](https://gohugo.io/).
  3. This is very alpha so don't expect anything to be clean, tidy or even work.
  4. Content types currently supported:
  5. - aside
  6. - image
  7. - quote
  8. - post
  9. - video
  10. ## Important!
  11. This theme relies heavily on its own archetypes to generate the different content types. Your local archetypes in `/archetypes` will override the theme archetypes in `/themes/tumble/archetypes` so move or delete your local `/archetypes/default.md`.
  12. ## Installation
  13. From the root of your Hugo site:
  14. $ git clone https://github.com/adrianshort/tumble.git themes/tumble
  15. Enable the theme in your `config.toml` file:
  16. theme = "tumble"
  17. ### Installing in a subfolder
  18. If you want the root of your tumblelog in `https://example.org/deep/nested/folder/` rather than `https://example.org/` it should mostly work although image relative URLs in `post`s might not work right. This needs tidying up so that `relativeURLs = true` in your `config.toml` is respected properly. Leave that set to false for now.
  19. ## Creating content
  20. All content types except `post` are set to `draft: false` for immediate publication.
  21. All content types have a common set of tags, which is the only taxonomy supported.
  22. ### Asides
  23. An aside is a short piece of text, typically one or two sentences. Asides don't have titles so it's easiest just to number them sequentially.
  24. $ hugo new asides/1.md
  25. ### Images
  26. A single image with an optional caption (the `title`) and body text.
  27. # hugo new images/my-image-title.md
  28. Then copy the image file itself to `/static/images/` and update `image_filename` in the front matter if required.
  29. Set `show_title: true` to display the `title` as a caption beneath the image.
  30. ### Posts
  31. A traditional blog post with mandatory title and body text.
  32. $ hugo new posts/my-post-title.md
  33. ### Quotes
  34. A quotation usually by someone else, with attribution to the `author` and optionally to the `work` and `year`.
  35. $ hugo new quotes/shakespeare-hamlet.md
  36. ### Videos
  37. An embedded video from YouTube, Vimeo etc. This is currently quite clunky as you have to get the full embed URL from the video hosting site.
  38. So for [this video](https://www.youtube.com/watch?v=2-aWEYezEMk), do:
  39. $ hugo new videos/grimes-vanessa.md
  40. Then set the frontmatter:
  41. embed_url: https://www.youtube.com/embed/2-aWEYezEMk