Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add a logo on the theme #1

Open
JuniorNtalemwa opened this issue Jun 30, 2017 · 1 comment
Open

Unable to add a logo on the theme #1

JuniorNtalemwa opened this issue Jun 30, 2017 · 1 comment

Comments

@JuniorNtalemwa
Copy link

I am learning October CMS and using the Clean blog already.
However I would love to add a logo. Whenever I add it traditionally like in html nothing shows.

But when I add

<a href="{{ 'home'|page }}"><img src="{{ assets/images/logo.png | theme }}"></a>

I get an error message reading: An exception has been thrown during the rendering of a template ("Division by zero").

Anything I am missing?

Thanks in advance for help

@BartVanEynde
Copy link

this works for me:
<a href="{{ 'test'|page }}"><img src="{{ 'assets/images/october.png'|theme }}"></a>

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

No branches or pull requests

2 participants