VoteIT

  • Nyheter
  • Dokumentation
  • Fallstudier
  • Gemenskap
  • GitHub
Star

What's on this Page

    • I can’t see my content!
    • Can I set configuration variables via OS environment?
    • How do I schedule posts?
    • Can I use the latest Hugo version on Netlify?
    • I get “TOCSS … this feature is not available in your current Hugo version”
TROUBLESHOOTING

Frequently Asked Questions

Solutions to some common Hugo problems.

Note: The answers/solutions presented below are short, and may not be enough to solve your problem. Visit Hugo Discourse and use the search. It that does not help, start a new topic and ask your questions.

I can’t see my content!

Is your markdown file in draft mode? When testing, run hugo server with the -D or --buildDrafts switch.

Can I set configuration variables via OS environment?

Yes you can! See Configure with Environment Variables.

How do I schedule posts?

  1. Set publishDate in the page Front Matter to a date in the future.
  2. Build and publish at intervals.

How to automate the “publish at intervals” part depends on your situation:

  • If you deploy from your own PC/server, you can automate with Cron or similar.
  • If your site is hosted on a service similar to Netlify you can use a service such as ifttt to schedule the updates.

Also see this Twitter thread:

@GoHugoIO Converted https://t.co/icCzS7Ha7q from @Medium to Hugo yesterday. Once I figure out how to do scheduled posts I will be ecstatic.

— SIG Oxymoron @ #KubeCon (@ChrisShort) February 10, 2018

Can I use the latest Hugo version on Netlify?

Yes you can! Read this.

I get “TOCSS … this feature is not available in your current Hugo version”

If you process SCSS or SASS to CSS in your Hugo project, you need the Hugo extended version, or else you may see this error message:

error: failed to transform resource: TOCSS: failed to transform "scss/main.scss" (text/x-scss): this feature is not available in your current Hugo version

We release two set of binaries for technical reasons. The extended version is not what you get by default for some installation methods. On the release page, look for archives with extended in the name. To build hugo-extended, use go install --tags extended

To confirm, run hugo version and look for the word extended.

See Also

  • Installation
  • Om
    • Om VoteIT
    • VoteIT och GDPR
    • Vad är VoteIT
    • VoteIT Funktioner
    • Fördelar med VoteIT
    • Licens
  • Kom Igång
    • Överblick
    • Snabbstart
    • Installera VoteIT
    • Grundläggande Användning
    • Konfiguration
  • Administration
    • Administration
  • Innehåll
  • Mallar
    • Mallar
  • Funktioner
    • Funktioners Snabbreferens
    • Debatt
    • Experiment - Verktyg
    • Export / Import
    • Grupper
    • Importera Deltagare
    • Instant-Runoff Vote Polls
    • Internationalisering
    • Introduktion
    • Liquid Democracy
    • Live Widget
    • Mixade Möten
    • Motioner
    • Omröstning Dutt
    • Omröstning Kombinerad Enkel
    • Omröstning Schulze
    • Omröstning STV
    • Omröstning STVer
    • Online Status
    • Personliga Anteckningar
    • Plugin - Velruse Autentisering
    • Projektorvy
    • QR-koder
    • RSS Feed
    • Röstgrupper
    • Röstlängd
    • Skriv ut mötesstruktur
    • Snabbstarta
    • Statistik
  • Variabler
  • Användarguider
  • Problemlösning
  • Verktyg
  • Drift och installation
  • Bidra
    • Utveckling
    • Dokumentation
  • Underhåll
  • content-management
    • VoteIT Open Source
  • contribute
    • Bidra till VoteIT
    • Teman
    • Översättning
  • functions
    • Bildfunktioner
  • templates
    • Bas och Block
  • tools
    • Utvecklarverktyg
    • Migrationer
    • Startkit
    • Frontend
    • Redigerare
    • Sök
    • Andra projekt
  • troubleshooting
    • Drift och Installation
    • Troubleshoot
    • FAQ
    • Installation
  • variables
    • Variabler
    • Taxonomi Variabler
“Frequently Asked Questions” was last updated: October 30, 2019: lägger till exempelinnehåll svenska doks. försök lösa docs på svenska (e24eb5c)
Improve this page
By the VoteIT Authors
VoteIT Logo
  • File an Issue
  • Get Help
  • Discuss Source Code
  • @VoteIT
  • @robin_betahaus
  • @andershultman
 
 

VoteIT Sponsors

Logo for VoteIT
Logo for Betahaus
Logo for Datatrion AB
 

The VoteIT logos are copyright © VoteIT 2011–2019.

  • Nyheter
  • Dokumentation
  • Fallstudier
  • Gemenskap
  • GitHub
  • Om
  • Kom Igång
  • Administration
  • Innehåll
  • Mallar
  • Funktioner
  • Variabler
  • Användarguider
  • Problemlösning
  • Verktyg
  • Drift och installation
  • Bidra
  • Underhåll
  • content-management
  • contribute
  • functions
  • templates
  • tools
  • troubleshooting
  • variables