xenocrat / chyrp-lite

An ultra-lightweight blogging engine, written in PHP.
https://chyrplite.net/
BSD 3-Clause "New" or "Revised" License
417 stars 44 forks source link

Can I edit a .twig file for a theme? #215

Closed roughnecks closed 1 year ago

roughnecks commented 1 year ago

Hello,

I was trying to remove the "Blog" link from my site's sidebar, so I edited themes/topaz/content/sidebar.twig and removed these lines:

<li>
<a href="{{ url('index') }}">{{ "Blog" | translate }}</a>
</li>

but nothing really changed. Is that correct? Do I need to perform additional steps to modify a theme?

Thanks

xenocrat commented 1 year ago

Delete the contents of includes/caches/twig or enable debug mode.

roughnecks commented 1 year ago

Delete the contents of includes/caches/twig

Perfect, worked like a charm. TY