You've already forked hugo-extended
mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-09-15 22:35:31 -04:00
Update README
This commit is contained in:
@@ -9,16 +9,16 @@ const baseUrl = `https://github.com/gohugoio/hugo/releases/download/v${version}/
|
||||
// Hugo Extended supports: macOS x64, macOS ARM64, Linux x64, Windows x64.
|
||||
// all other combos fall back to vanilla Hugo.
|
||||
|
||||
/* eslint-disable indent, operator-linebreak, no-multi-spaces, unicorn/no-nested-ternary */
|
||||
/* eslint-disable indent, operator-linebreak, unicorn/no-nested-ternary */
|
||||
module.exports =
|
||||
process.platform === 'darwin' && process.arch === 'x64'
|
||||
? `${baseUrl}hugo_extended_${version}_macOS-64bit.tar.gz` :
|
||||
process.platform === 'darwin' && process.arch === 'arm64'
|
||||
? `${baseUrl}hugo_extended_${version}_macOS-ARM64.tar.gz` :
|
||||
|
||||
process.platform === 'win32' && process.arch === 'x64'
|
||||
process.platform === 'win32' && process.arch === 'x64'
|
||||
? `${baseUrl}hugo_extended_${version}_Windows-64bit.zip` :
|
||||
process.platform === 'win32' && process.arch.endsWith('32')
|
||||
process.platform === 'win32' && process.arch.endsWith('32')
|
||||
? `${baseUrl}hugo_${version}_Windows-32bit.zip` :
|
||||
|
||||
process.platform === 'linux' && process.arch === 'x64'
|
||||
@@ -49,4 +49,4 @@ module.exports =
|
||||
? `${baseUrl}hugo_${version}_OpenBSD-ARM64.tar.gz` :
|
||||
|
||||
null;
|
||||
/* eslint-enable indent, operator-linebreak, no-multi-spaces, unicorn/no-nested-ternary */
|
||||
/* eslint-enable indent, operator-linebreak, unicorn/no-nested-ternary */
|
||||
|
Reference in New Issue
Block a user