1. 11 Jan, 2017 2 commits
    • Ethan Madison's avatar
      Replace $isHomePage with IsHome variable · 756090a0
      Ethan Madison authored
      
      
      A recent version of Hugo implemented the '.IsHome' page variable, which
      replaces the now broken $isHomePage. (Hugo v1.8 broke title comparison
      to determine if the current page is the home page since the home page's
      title is "_index").
      
      This commit replaces the broken $isHomePage with the functional .IsHome
      and cleans up the logic used around using .IsHome.
      
      Signed-off-by: default avatarEthan Madison <ethan@ethanmad.com>
      756090a0
    • Ethan Madison's avatar
      Replace quotation notation for params · 21a0d232
      Ethan Madison authored
      Hugo v0.18 lowercases all params internally, so accessing parameters by
      quotation notation (i.e., "exampleParam") is sometimes broken. As such,
      it will no longer be used.
      
      This notation was commonly used like '{{ if isset "exampleParam" }}',
      which can actually be replaced by '{{ if exampleParam }}' or {{ with
      exampleParam }}'. The latter form is preferred since 'with' can reduce
      redundancy.
      
      This commit replaces all instances of "quotation notation" with a "dot
      notation" friendly equivalence: 'with' where applicable and 'if'
      otherwise.
      
      Uses parts from key-amb/hugo-theme-bootie-docs #19:
      https://github.com/key-amb/hugo-theme-bootie-docs/pull/19
      
      .
      
      Signed-off-by: default avatarEthan Madison <ethan@ethanmad.com>
      21a0d232
  2. 03 Jan, 2017 2 commits
  3. 24 Aug, 2016 1 commit
    • Ethan Madison's avatar
      Add sponsor to footer · ab4e6f75
      Ethan Madison authored
      
      
      Michigan Rec Sports requires their logo on our website, so it's added to
      the bottom of the footer in the `sponsor.html` partial.
      
      The logic for the partial is somewhat complex, since only one element is
      needed to activate it and the image must be displayed on both root and
      non-root pages.
      
      Signed-off-by: default avatarEthan Madison <ethan@ethanmad.com>
      ab4e6f75
  4. 04 Jul, 2016 7 commits
  5. 03 Jul, 2016 6 commits
  6. 25 Jun, 2016 14 commits
  7. 24 Jun, 2016 8 commits