Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Allow and configure hiding the intro on mobile pages #108

Merged
merged 3 commits into from
Mar 13, 2020

Commits on Jan 23, 2020

  1. Allow and configure hiding the intro on mobile pages

    The intro section can be quite long, especially when a picture is
    enabled. By default the intro appears on the left on computer screen
    sizes, but above the content on mobile devices. This commit adds
    configuration parameters, css, and template logic to hide the intro on
    mobile devices, and configure if it is always hidden, or just on
    content pages that are not the homepage.
    matt9j committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    5d59329 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2020

  1. Disable intro hiding by default

    This commit sets the example site into hiding parameters to False to
    better track the exisiting theme behavior for backwards
    compatibility. If these parameters are not included in a site config,
    the intro will also not be hidden, maintaining existing behavior.
    matt9j committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    c6e80d2 View commit details
    Browse the repository at this point in the history
  2. Rename "on mobile" to "single column"

    When referring to intro hiding, the intended behavior is to hide the
    intro on all single column layouts, not just ones "on mobile." Notably
    the `for-laptup-up` media type used the single column layout, but the
    name and intention is for "non-mobile" devices. To more clearly
    communicate intent this commit renames hideOnMobile to
    hideWhenSingleColumn and changes the relevant references from mobile
    hiding to single column hiding.
    matt9j committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    d228b33 View commit details
    Browse the repository at this point in the history