This package is abandoned and no longer maintained. No replacement package was suggested.

Export TYPO3 pages and content in a way that is able to be consumed by typo3-hugo-theme.

Maintainers

👁 sourcebroker

Package info

github.com/sourcebroker/hugo

Type:typo3-cms-extension

pkg:composer/sourcebroker/hugo

Statistics

Installs: 884

Dependents: 0

Suggesters: 0

Stars: 10

Open Issues: 0

0.7.0 2018-10-07 21:53 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

  • hugo: 0.7.0
  • typo3-ter/hugo: 0.7.0

GPL-2.0+ f42b901444af3c4a4fa639682270b153a31f2da9

This package is auto-updated.

Last update: 2021-04-04 19:39:32 UTC


README

👁 https://github.styleci.io/repos/130708818/shield?branch=master
👁 https://scrutinizer-ci.com/g/sourcebroker/hugo/badges/quality-score.png?b=master
👁 https://travis-ci.org/sourcebroker/hugo.svg?branch=master
👁 https://poser.pugx.org/sourcebroker/hugo/license

Important

This project is archived. Will no longer be developed and supported.

What does it do?

This extension allows you to export TYPO3 pages, content, media in a way that is able to be consumed by TYPO3 Hugo Theme. https://github.com/sourcebroker/hugo-typo3-theme.

Installation

Use composer:

composer require sourcebroker/hugo

Usage

Use CLI command:

typo3cms hugo:export

Exported pages are stored in ./hugo/content folder. Exported content is stored in ./hugo/data/content. Exported media are stored in ./hugo/content/-media/fileadmin (fileadmin is taken from storage record).

You can change those folder with TsConfig. Look in file Configuration/TsConfig/Page/tx_hugo.tsconfig for possible options.

Hugo binary path

On each page or content editing in TYPO3 a special hook is used to update Hugo files and make a fresh build of all pages. For this to happen you must have Hugo binary available in your $PATH. If you do not have hugo in your $PATH then you can set the exact path with this TsConfig:

tx_hugo {
 hugo.path.binary = /my/path/hugo
}

If you have different path to hugo on different instances of application (beta / live) then you can use TYPO3 conditions:

[applicationContext = */*/Live]
 tx_hugo {
 hugo.path.binary = /var/www/.local/hugo
 }
[end]

Changelog

See https://github.com/sourcebroker/hugo/blob/master/CHANGELOG.rst