Skip to content

Include title yaml metadata #169

@secure-77

Description

@secure-77

In the protected function yamlFrontmatter($yaml) , I need to check if 'title' is available and then show it:

            $yamlText = '
            <div class="mod-header">
            <div class="metadata-properties-heading">
            <div class="collapse-indicator collapse-icon">
                <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="svg-icon right-triangle"><path d="M3 8L12 17L21 8">
                </path></svg>
            </div>
            <div class="metadata-properties-title">'.$parsed['title'] .'</div>
            </div>
            <div class="metadata-container" tabindex="-1" data-property-count="1">
                <div class="metadata-content">
                <div class="metadata-properties">
            ';

Metadata

Metadata

Assignees

No one assigned

    Labels

    To Doon the to do listenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions