Skip to content

escola-de-dados/cwa-hugo

Repository files navigation

Site Prêmio Jornalismo de Dados

Gerar galeria

  • Exportar o CSV do Airtable
  • Usar a coluna com a URL da imagem para baixar tudo em lote (wget -i listadeurls.txt)
  • Salvar as imagens na pasta statics/edicao
  • E ajustar o conteúdo da edição do ano

Customização

Alterar o arquivo CSS em themes/kross-hugo/assets/css/estilo.css

Boostrap 4.5

Converter YAML: https://onlineyamltools.com/convert-csv-to-yaml

Os templates HTML estão layouts/

Homepage

Live Preview

Kross Hugo theme is developed by Themefisher.

Requirements

  • GitHub, GitLab or BitBucket account
  • Hugo > 0.65.0 (tested with latest Hugo)

Content Management

import to Forestry

This project has been pre-configured to work with Forestry a git-based CMS, import your repository in Forestry and you'll be able to edit and preview your site ✨.

Any changes you make in Forestry will be commited back to the repo, and deployed when your Git repository is connected to Netlify.

Deployment

Netlify

Deploy to Netlify

  1. Set the build command to: hugo --gc --minify
  2. Set the publish directory to: public
  3. Make sure to set HUGO_VERSION to 0.65.0 or above (tested with latest version)
  4. Set the publish directory to: public

That's it, now your site gets deployed automatically on git push or when saving documents from Forestry.

Local development

This starter is using Hugo as a static site generator. Once imported in Forestry, clone your repository and develop locally with Hugo.

# Clone your repository
# Go in the project directory
# Start local dev server
hugo server

Feedback

Open an issue in the theme's repository.

LICENSE

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •