A tool to create symlinks for hugo multi-langs sites.
hsink tool helps you to create symbolic links for these untranslated pages of Hugo multi-lang site, so that user can see the page with the default language instead of page missing.
create
(c): create symlinksremove
(r): remove symlinks
Param | Description | Example |
---|---|---|
dir | the path of content folder | --dir=$PWD/content |
langs | supported langs | --langs="zh" --langs="zh-tw" |
skips | the folders you want to skip | --skips="iamges" |
ext | target file extension | --ext=.md (default value is .md ) |
--dir=/home/user/site/content --langs="zh" --langs="zh-tw" --skips="images" create