Skip to content

Show NavTitle from story_settings even if there's no NavLink field #61

@vivngo

Description

@vivngo

Right now the text will not show up in the NavTop component unless there's a link:

utils/nav2.js

Lines 128 to 139 in f0063ba

if (navLink && navLink.url !== "") {
navLinkInsert = `
<a
class="nav2-title"
id="nav2-title"
href="${navLink.url}"
target="${navLink.target || "_blank"}"
>
${navLink.text}${dropdownIcon}
</a>
`;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions