1. 10 Jul, 2020 1 commit
  2. 09 Jul, 2020 1 commit
    • Erik Faye-Lund 's avatar
      drop rss-feed from frontpage · df031f01
      Erik Faye-Lund authored
      The RSS-feed generated for the frontpage contains all pages as well as
      news, which isn't what people expect from RSS feeds.
      
      Additionally, if we produce an RSS-feed for the top-level, we produce
      the following warning using W3C's Feed Validator:
      
      Implausible date: Mon, 01 Jan 0001 00:00:00 +0000
      
      This is produced for https://www.mesa3d.org/website/, which isn't a
      news-post, so it doesn't really have the concept of a publication date.
      
      So, let's just drop the RSS feed for the home-page. People can find the
      link to the RSS feed from the news-page instead.
      Acked-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      df031f01
  3. 26 May, 2020 1 commit
    • Erik Faye-Lund 's avatar
      frontpage: move content from layout to content · 28fc3ac0
      Erik Faye-Lund authored
      Currently, when you press the "Edit this page"-button on the front-page,
      you get to a surprisingly empty page. This is because the whole
      page-content was hard-coded into the layout-file. That's not ideal.
      
      Part of the reason it was written this way, is due to all the custom
      HTML in there, which isn't usually legal in Hugo markdown content files.
      
      But instead, we can simply use a HTML content file as well as a custom
      shortcode for the latest news section instead, and everything just as
      intended. The custom partials we used for the apis and features
      subsections can be repurposed as shortcodes as well.
      
      This makes this stuff more in line with how these primitives are
      intended to be used than what we used to do. And at the same time, we
      get a much more meaningful "Edit this page"-behavior than before.
      28fc3ac0