Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

217
Vistas
Is there anyway to extend more pug files into one pug file?

Sorry if this has been answered before, haven't been able to find it anywhere but I know in pug it allows you to insert the contents of one Pug file into another. I was wondering if it is possible to insert multiple contents from multiple files into directly one file? I'm having trouble doing so whenever I try to add another line of to my question-display.pug.

./questions/question-display.pug
extends ../layout.pug
include ../utils.pug
block content
/.answers/answer-form
h2 Your Answer
        +errorBlock(errors)
        form(method="post" action="/answers/new")
            input(type="hidden" name="_csrf" value=csrfToken)
            label(for="title") Title

I have currently have a pug file to display a question and I want to implement an answer form directly into my question display pug.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda