Skip to content

Instantly share code, notes, and snippets.

@elliotjaystocks
elliotjaystocks / brief.md
Last active December 17, 2024 11:17
Brief for getting RSS feeds fixed
  • The Blog feed currently renders the full blog post; I’d like the feed to render the excerpt only.
  • The Newsletter feed currently renders the text but not the intro (the intro is only separated out for aesthetic reasons); I’d like the feed to render the intro only.
  • The Speaking feed currently renders only the event title and links to my speaking page; this is correct, but I’d like the link to go to the event URL instead.
  • The everything feed follows the above behaviours; I’d like it to follow the changed behaviours I’ve outlined above.

(Duplicated from this private issue.)

@elliotjaystocks
elliotjaystocks / Art direction in Harmony
Created May 3, 2012 14:33
Art direct your blog posts in Harmony by inserting this loop into the <head> and injecting any extra CSS or JSS you might need by creating a field in your post template called 'injected_code'.
{% if item.root? %}
{{ 'blog' | item_from_path | assign_to: 'blog' }}
{% for post in blog.recent_posts.1 %}
<!-- Injected code from the latest blog post -->
{{ post.data.injected_code }}
{% endfor %}