On the templates page, I see a lot of attractive templates. How do you import a template without whacking your code?

  • VioneT@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 months ago

    A template is a ‘preset’ that you build/change upon.

    You first need to have the template, then change it.

    Not you when have a structure and you want to integrate the template to it, since if you just paste the template on your existing structure, it will definitely mess up your current structure (since templates have stylings that might not look good in your current structure).

    I recommend starting with the template you like. Save it, then try to incorporate what you have already in your current structure into to template.

  • BluePower@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    What do you mean is taking the structure of the template page and then keeping the structure of the HTML and list code as is? You may need to describe detailed enough on what you’ll want to do with the template.

    • Valdus@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      I just want to bring a template to my generator. How do you do that arround the html and list code?

      • BluePower@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        You can choose whatever template you want, and then probably the best solution is to move all of your HTML and list code into that template and try to incorporate that into the template as to your liking, as VioneT already said. I’d recommend doing that instead of bringing all the structures of the template into your existing generator.