Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Taste (2.2.0.0)

  • #5791
    Avatar photo[anonymous]

    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
    Avatar photo[anonymous]

    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
    Avatar photo[anonymous]

    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.