A fork of hyde, the static site generation. Some patches will be pushed upstream.
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.
 
 
 

20 lines
461 B

  1. ---
  2. extends: base.j2
  3. default_block: main
  4. title: BASIC - A hyde website
  5. description: Home page for the BASIC hyde template
  6. ---
  7. {% from "macros.j2" import render_excerpt with context %}
  8. <section class="blog_excerpt">
  9. {% set latest = site.content.walk_resources_sorted_by_time()|first %}
  10. {% if latest -%}
  11. {{ render_excerpt(latest, 'post') }}
  12. <a class="button white medium"
  13. href="{{ content_url(latest.url) }}">Read more&hellip;</a>
  14. {%- endif %}
  15. </section>