Skip to content

Using or merging 'blog' and 'docs' templates together #29

@cameronelliott

Description

@cameronelliott

I have a questions about using 'blog' and 'docs' templates together

I would like to create a site that has both the 'blog' and 'docs' templates,
and it seems there are a few basic approaches.

  1. Use the repos as-is to create two sites that run on seperate sub-domains. A reasonable approach, except I don't want different sub-domains.

  2. Keep the repos as two separate sites, and tweak the build of, say 'docs' somehow (how?) so that it builds to a subfolder, ie '/docs' and hack the header and footer of both sites to be the same, so there is no continuity issues when you move between 'docs' and 'blog'.
    In this case you would really have two sets of html/css/etc from build output.

  3. Merge the repos using careful, careful diffing, editing and merging of common files, and working out how to bring the two templates together, so rather than building two templates and joining the html/css, you have a single template, and actually get a single site output file-set.
    This seems the least hack-ish, but possibly the most difficult.

I don't have much Php/Laravel/Jigsaw experience (but it's growing), so would some of the maintainers like to weigh-in on the pros and cons and issues of approaches number two and three? Thank you.

Also, do the maintainers think there is a benefit/need to having a single template containing both 'docs' and 'blog', or is the preference to have them stay seperate?

Thank you

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