Skip to content

What file structure should I create to minimize duplication of html code?  #30

@LazarenkoA

Description

@LazarenkoA

Hi. I have such a file structure, index.html the main one, css styles and scripts are connected in it
image

the data that differ I have taken out in partials, I would like to index.html output {{template "ext" .}} or {{template "conf" .}} depending on the current page or get the parameter, is it possible to do this? Create a copy index.html , but with {{template "conf" .}} I would not like to because there can be a large number of pages

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