Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Replace concatenation of header+body+footer with pandoc templates? #10

@bartekpacia

Description

@bartekpacia

Pandoc templates docs: https://pandoc.org/MANUAL.html#templates

code in question:

ssb/ssb

Lines 307 to 308 in 6922128

append_posts_list "$posts" | cat "$md_file" - | eval "$MD_RENDERER" > "$tempf"
cat "$HEADER_PATH" "$tempf" "$FOOTER_PATH" > "$output_file"

My use case: I want to have a different <meta name="og:title" ...> and <meta name="description" ...> for every post, but it's hardcoded inside header.html.

Having this would make ssb even more hackable with MD_RENDERER.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions