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

Remove ‘project’ or ‘essay’ from frontpage #91

Open
KimTholstorf opened this issue Mar 12, 2021 · 1 comment
Open

Remove ‘project’ or ‘essay’ from frontpage #91

KimTholstorf opened this issue Mar 12, 2021 · 1 comment

Comments

@KimTholstorf
Copy link

Hi,

is it possible to add the feature for it to remove project and essay from the frontpage if no artickles have been created.

Right now it just say Essays (0).

@aniketsharma00411
Copy link

Go to the theme you are using and comment the lines regarding essays or projects you want to remove.

For eg.: If you are using theme-home-builtin-1.html and you want to remove essays, comment the following lines

<a href="{{ site.baseurl}}/essays/">
    <button class="ui basic button">Essays ({{ num_essays }})</button>
</a>

So, it will look like

<!-- <a href="{{ site.baseurl}}/essays/">
    <button class="ui basic button">Essays ({{ num_essays }})</button>
</a> -->

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants