Hugo

De Mi caja de notas

Révision datée du 6 avril 2018 à 12:18 par Xtof (discussion | contributions) (Contenu remplacé par « cf iwc:Hugo-fr {{iwc}} »)

cf iwc:Hugo-fr

Hugo is a static site generator written in Go used by several people in the IndieWeb community to run their personal sites. It is designed to build a site based on markdown files with header information in YAML, TOML or JSON. It uses Go templates and compiles a full site very rapidly. No built-in IndieWeb support, but adding microformats to templates is relatively straightforward.

How to

How to IndieWebify a Hugo site

Amit Gawande wrote an excellent post on How to IndieWebify Your Hugo Website: Control Your Identity and Content Online

IndieWeb Examples

People currently using Hugo as their primary site:

Micropub Implementation

Articles

Migrating to Hugo

From Jekyll

migrate-jekyll-hpstr-hugo

From WordPress

There is a small nifty wordpress-to-hugo-exporter plugin for Wordpress, which exports Posts and Pages from a WordPress site into a files and directories hierarchy ready to be used with Hugo (one would still need to configure/create a theme, etc. before being able to actually compile the site).

Tested at IndieWebCamp Brighton 2016 by hotzeplotz on WordPress 4.6.1, worked perfectly (exporting around 7MB of post/pages and media to a zip file in <1 second, with content then compiled by Hugo in 150ms!)

Importing a Twitter Archive

skippy has created a rudimentary Python script to convert a Twitter export into Markdown, for use with Hugo. It relies on granary to manipulate the raw Twitter JSON.

Themes with indieweb-focussed microformat and markup support

Support present

rel-me

The rel-me support in the following themes was added via pull requests by tommorris between 2018 and 2020.

See Also

Open Source IndieWeb related projects and tools
Topics Why open source?How to open source a projectOpen for contributionsIndieWeb PrinciplesPackage managers for various languages and systems
PHP (See LAMP) b2evolutionCASSISKnownFalcon (portions) • HamsterCMSp3k (portions) • stapibasdobradoGravMiniflux-legacyProcessWireTextpatterntt-rssTwyneTYPO3
WordPress (PHP) Indieweb PluginWebmentionSemantic LinkbacksMicropubIndieAuthPost KindsSyndication LinksWebSub pluginsSee Template:WordPress for others.
Python BeautifulSoupblagBleachBridgy FedBundledjango CMSIndieWeb SearchIndieWeb Utilskakumf2utilNefelibataninkaPublPushlpython-indiewebRed WindRequestsronkyuuWoodwindgunicorn
Ruby Dark MatterFeedbinFrancisCMSGitLabMicropublishPublifyRuby on RailsSinatraSingulusTransformativewebmention.ioJekyllAuthorioruby parsermicroformats-ruby
JavaScript AerosolCMSCASSISCamelEleventyGhostIndieKitD3
Others Apache (C) • Forgejo (Go) • Hugo (Go) • Firefox (C++) • Nginx (C) • NetNewsWire (Swift) • Snac (C)


<footer>source iwc:Hugo</footer>

<footer>