HUGO

Generador de páginas estáticas

Formato

Colorear código

Fechas

CSS

Layout

Linea de comandos

  • Para probar con todo el contenido futuro o caducado
hugo server -DEF --gc --i18n-warnings --debug

-D, --buildDrafts -> include content marked as draft
-E, --buildExpired -> include expired content
-F, --buildFuture -> include content with publishdate in the future
--gc -> enable to run some cleanup tasks (remove unused cache files) after the build
--i18n-warnings -> print missing translations
-e production

Gitlab Pages

Articulos

Temas

Syna

  • Instalación
    git submodule init # If you haven't initialized before
    git submodule add https://github.com/okkur/syna.git themes/syna
    cd themes/syna
    git checkout v0.17 # Latest release as of now is v0.17.0
    
    • Empezar proyecto desde 0 con plantilla
    git clone https://github.com/okkur/syna-start && cd syna-start
    git submodule init
    git submodule update
    
  • Documentación

CSS

Errores

  • Failed to read Git log: Git executable not found in $PATH 1
    • #enableGitInfo o apk add git

Docsy

https://www.docsy.dev/docs/

  • Requisitos
    • hugo-extended
    • postcss postcss-cli autoprefixer
  • Actualizar
    • Como submodulo
      • git submodule update --remote; git add themes/ ;
      • git commit -m "Updating theme submodule" ; git push origin master

SEO


Última modificación May 7, 2024: contexto tabla whisper (8508556)