informatica:software:hugo
¡Esta es una revisión vieja del documento!
Tabla de Contenidos
Hugo
Generador de sitios webs estáticos.
Crear un nuevo sitio
hugo new site nombre-sitio
Congratulations! Your new Hugo site is created in /home/tempwin/www/hugo/foo. Just a few more steps and you're ready to go: 1. Download a theme into the same-named folder. Choose a theme from https://themes.gohugo.io/ or create your own with the "hugo new theme <THEMENAME>" command. 2. Perhaps you want to add some content. You can add single files with "hugo new <SECTIONNAME>/<FILENAME>.<FORMAT>". 3. Start the built-in live server via "hugo server". Visit https://gohugo.io/ for quickstart guide and full documentation.
Esto creará una carpeta llamada nombre-sitio en la ruta en la que nos encontremos:
archetypesconfig.tomlcontentdatalayoutsstaticthemes
Instalar tema
Nos movemos dentro de la carpeta del nuevo sitio e inicializamos un repositorio Git vacío:
git init
Descargamos, en este caso, el tema Ananke a la carpeta themes:
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
informatica/software/hugo.1617458062.txt.gz · Última modificación: por tempwin
