-
Notifications
You must be signed in to change notification settings - Fork 59
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
Cyanine theme: infos about author, date missing #423
Comments
I will check it for next release |
Same thing here. The printer and edit icons are gone also. |
I peeked in page.twig and it seems that the eval of settings.themes.cyanine.datePosition.top returns false. It turns out that: {% if ("top" in settings.themes.cyanine.datePosition or "top" in settings.themes.cyanine.authorPosition or "top" in settings.themes.cyanine.gitPosition or "top" in settings.themes.cyanine.printPosition) %}
<div class="f5 pv1 flex justify-between">
<div class="byline">
{% if "top" in settings.themes.cyanine.datePosition %}
<time pubdate datetime="{{ published }}" class="pr2">{{ settings.themes.cyanine.dateIntro }} {{ published|date(settings.themes.cyanine.dateFormat) }}</time>
{% endif %}
{% if "top" in settings.themes.cyanine.authorPosition %}
<adress class="pr2">{{ settings.themes.cyanine.authorIntro }} {{ metatabs.meta.author|default(settings.author) }}</adress>
{% endif %}
</div>
<div class="funcicons">
{% if "top" in settings.themes.cyanine.gitPosition %}
<a class="link" title="edit on github" href="{{ settings.themes.cyanine.gitLink }}{{ item.path }}">{% if settings.themes.cyanine.editIcon %}<svg class="icon baseline icon-pencil"><use xlink:href="#icon-pencil"></use></svg>{% else %}{{ settings.themes.cyanine.editText }}{% endif %}</a>
{% endif %}
{% if "top" in settings.themes.cyanine.printPosition %}
<a class="link" title="open printer dialogue" href="#" onclick="if (window.print) {window.print();}">{% if settings.themes.cyanine.printIcon %}<svg class="icon baseline icon-printer"><use xlink:href="#icon-printer"></use></svg>{% else %}{{ settings.themes.cyanine.printText }}{% endif %}</a>
{% endif %}
</div>
</div>
{% endif %} And I changed |
ok, thank you for the contribution, I forgot about this issue and will look into it again |
@ToastStudios good solution, I implemented it for next release, thank you! |
Hi,
I've installed Typemill v2 with Cyanine 2.0.1 and activated article author and article date on top of the page, but the info is not shown.
The text was updated successfully, but these errors were encountered: