diff --git a/plugin.mod b/plugin.mod index e0d9ec5..d802c4e 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "corporate-modernist" display_name = "Corporate Modernist" scope = "@themes" -version = "0.4.0" +version = "0.4.1" description = "Swiss-grid B2B theme with restrained typography, a single configurable accent, and trust-signal blocks for enterprise sites." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/corporate-modernist/author-bio-hero.ninjatpl b/templates/overrides/corporate-modernist/author-bio-hero.ninjatpl index c065884..257ef47 100644 --- a/templates/overrides/corporate-modernist/author-bio-hero.ninjatpl +++ b/templates/overrides/corporate-modernist/author-bio-hero.ninjatpl @@ -1 +1 @@ -{% if context.currentAuthor %}{% if showAvatar and context.currentAuthor.avatarUrl %}{% else %}{% endif %}{{ context.currentAuthor.displayName }}{% if context.currentAuthor.bio %}{{ context.currentAuthor.bio }}{% endif %}{% if showSocial %}{% if context.currentAuthor.websiteUrl %}{% endif %}{% if context.currentAuthor.twitterHandle %}{% endif %}{% if context.currentAuthor.linkedinUrl %}{% endif %}{% endif %}{% endif %} +{% if context.currentAuthor %}{% if showAvatar and context.currentAuthor.avatarUrl %}{% else %}{% endif %}{{ context.currentAuthor.displayName }}{% if context.currentAuthor.bio %}{{ context.currentAuthor.bio }}{% endif %}{% if showSocial %}{% if context.currentAuthor.websiteUrl %}{% endif %}{% if context.currentAuthor.twitterHandle %}{% endif %}{% if context.currentAuthor.linkedinUrl %}{% endif %}{% endif %}{% endif %} diff --git a/templates/overrides/corporate-modernist/sidebar-nav.ninjatpl b/templates/overrides/corporate-modernist/sidebar-nav.ninjatpl index 870c7e9..4a1a835 100644 --- a/templates/overrides/corporate-modernist/sidebar-nav.ninjatpl +++ b/templates/overrides/corporate-modernist/sidebar-nav.ninjatpl @@ -1,3 +1,3 @@ -{% if title %}{{ title }}{% endif %}{% for item in menu.items %}{% if item.icon %}{% endif %}{{ item.label }}{% endfor %}{% if highlightCurrent %}{% endif %}
{{ context.currentAuthor.bio }}