Sign in

Taste (2.2.0.0)

  • This topic has 2 replies, 3 voices, and was last updated 6 months, 2 weeks ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5791
    imgonna

    Hi – loving the development / progress in Publii.

    Two (hopefully quick) questions:

    (1) How can I suppress the date that appears at the top of the home page – “Updated on <time datetime=”2021-05-15T15:55″>May 15, 2021” ?</time>

    (2) Is it possible to make the home page show the tags list page (ie – similar to what is achieved via the menu option)

     

    Cheers
    Glen

    #5793
    privii

    Funnily enough, (1) is one of the first things I wanted to do.

    You’ll need to create an override for your index.hbs as described here:

    https://getpublii.com/dev/theme-overrides/

    And delete this part in the copy:

    {{ translate 'common.updated' }} <time datetime="{{date @website.lastUpdate 'YYYY-MM-DDTHH:mm'}}"> {{#checkIf @config.custom.formatDate '!=' 'custom'}} {{date @website.lastUpdate @config.custom.formatDate}} {{else}} {{date @website.lastUpdate @config.custom.formatDateCustom}} {{/checkIf}} </time>

     

    #5795
    shaun2k

    Hi @imgonna,

    You could hide the “Updated on date” on the home page by custom CSS.

    Insert the following by going to “Tools” on the app’s left menu and selecting “Custom CSS”.

    .hero__date {
    display: none;
    }
    

    Then, click on “Save & Preview” to verify.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.