Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

113
Visualizações
Github pages' jekyll creates 1 line HTML files

I am using Github pages to deploy a static website built using jekyll. The porject was forked from https://academicpages.github.io/ (I am a beginner in all of this)

For some reason, the "local" (on my machine) behavior of jekyll and the "remote" (i.e. using Github Actions) behavior are different :

Remotely, the built HTML files are 1-liners. This is quite annoying since Javascript comments (starting with \ and ending at the end of the line) are all over the place.

This undesirable behavior is not present locally.

How can I make configure the jekyll from github pages to behave the same locally and remotely ?

Cheers,

Gabriel

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

This is due to the compress_html plugin in the production config. The dev config doesn't have this so it doesn't minify locally. You could remove the plugin entirely or experiment with options to fit your needs.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda