GitLab's annual major release is around the corner. Along with a lot of new and exciting features, there will be a few breaking changes. Learn more here.

This project is mirrored from https://github.com/EmielH/tale-hugo. Pull mirroring updated .
  1. 11 Oct, 2019 4 commits
  2. 06 Oct, 2019 4 commits
  3. 03 Oct, 2019 2 commits
  4. 01 Oct, 2019 4 commits
  5. 30 Sep, 2019 2 commits
    • Jamie Tanna's avatar
      Merge branch 'feature/autolink-urls' into 'fork' · e51933c8
      Jamie Tanna authored
      Auto-link URLs in /mf2/ posts
      
      See merge request !122
      e51933c8
    • Jamie Tanna's avatar
      Auto-link URLs in /mf2/ posts · fabcaf84
      Jamie Tanna authored
      Although /mf2/ posts can contain URLs, it wasn't up until this point
      that we rendered them as HTML links.
      
      This would hamper user experience for both human and computer readers
      as it would remove some of the semanticness of the relevance of there
      being a link there, as well as make it harder to follow the links
      through.
      
      To get this rendering, I've adapted [0] and [1] to produce a regex which
      converts the plain URL to an HTML link. Note that we need the `safeHTML`
      otherwise it escapes it and renders the tags as text, not raw HTML.
      
      We need to render this within an `.e-content` as it's now rendering
      HTML, rather than being purely text, which means we actually no longer
      support the `.p-content` concept so can remove support for it.
      
      We also need to make these changes only apply to /mf2/ `.e-content`s, so
      it doesn't break other `.e-content`s (i.e. blog posts), which we can do
      by adding a specific class over the /mf2/ posts (in both list views and
      on the specific pages).
      
      [0]: https://stackoverflow.com/a/29747837/2257038
      [1]: https://stackoverflow.com/a/7109208/2257038
      fabcaf84
  6. 18 Sep, 2019 2 commits
    • Jamie Tanna's avatar
      Merge branch 'feature/title' into 'fork' · f30395f3
      Jamie Tanna authored
      Render page titles for /mf2/ entries
      
      See merge request !121
      f30395f3
    • Jamie Tanna's avatar
      Render page titles for /mf2/ entries · 5cabc3b7
      Jamie Tanna authored
      A long-term issue has been that since adding /mf2/ entries, we've not
      been rendering their page titles. This also means that /search/ was
      populated with a load of empty unclickable entries which isn't ideal.
      
      Note that we need to add a `trim` in here as otherwise newlines are
      being rendered and breaking our JSON file. We also need to make sure
      that we use `{{-` and `-}}` to trim any whitespace emitted from the
      tags.
      
      As part of jvt.me#712.
      5cabc3b7
  7. 15 Sep, 2019 4 commits
  8. 14 Sep, 2019 3 commits
    • Jamie Tanna's avatar
      Merge branch 'defect/hentry-links' into 'fork' · 9d303b4b
      Jamie Tanna authored
      Don't show related/webmention interactions inside h-entry + fix syndication for /mf2/
      
      See merge request !119
      9d303b4b
    • Jamie Tanna's avatar
      Add missing syndication support for /mf2/ · 4bf5fe8a
      Jamie Tanna authored
      It appears that this has been broken for some time, due to the refactor
      of where the syndication field went to be more like parsed MF2.
      4bf5fe8a
    • Jamie Tanna's avatar
      Don't show related/webmention interactions inside h-entry · f03c093f
      Jamie Tanna authored
      As per some feedback on the IndieWeb Chat, I should only be sending
      Webmentions for links in my `.h-entry`. This means I need to move the
      related posts / webmention interactions outside the `.h-entry`
      container.
      
      This also requires we un-wrap the content in the `h-` class, otherwise
      we can't selectively put the syndication on the post itself but not in a
      feed.
      f03c093f
  9. 09 Sep, 2019 2 commits
  10. 07 Sep, 2019 2 commits
  11. 02 Sep, 2019 3 commits
  12. 28 Aug, 2019 4 commits
    • Jamie Tanna's avatar
      Merge branch 'feature/kind' into 'fork' · 7f33063c
      Jamie Tanna authored
      Add a `kind` hint to MF2 content
      
      See merge request !115
      7f33063c
    • Jamie Tanna's avatar
      Explain what the /mf2/ content type is + add /kind/ links · 8b3597a8
      Jamie Tanna authored
      For folks who are hitting /mf2/ there isn't much understanding of what
      those post types are.
      
      And then, it may be more helpful to have a link to the given `kind`s
      there are.
      
      As part of jvt.me#689.
      8b3597a8
    • Jamie Tanna's avatar
      Duplicate list layout so MF2s can extend it · 3da0e652
      Jamie Tanna authored
      I want to have the original file duplicated nicely, so then I know more
      easily what any future commits have changed, rather than the first
      commit being both duplicating the file and making changes to it, masking
      intelligent diffing.
      
      As part of jvt.me#689.
      3da0e652
    • Jamie Tanna's avatar
      Add a `kind` hint to MF2 content · a111605e
      Jamie Tanna authored
      To make it easier to render the correct content type, as well as have
      links such as i.e. /kind/replies/, we want to have the `kind` taxonomy
      set up for our content.
      
      This makes it possible to strip some painful duplication that was
      introduced as part of jvt.me#572, while also making it an easier
      experience for determining what content type an MF2 entry is.
      
      As part of this, we're also wanting to pluralise the content type, as it
      makes the URLs more readable in line with what the content structure has
      them named as.
      
      As part of jvt.me#689.
      a111605e
  13. 26 Aug, 2019 2 commits
  14. 25 Aug, 2019 2 commits