mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-25 10:50:50 +02:00
starters: add Landing Page
This commit is contained in:
parent
d684873cd0
commit
dced0cd824
20 changed files with 382 additions and 2 deletions
2
.github/workflows/split-packages.yaml
vendored
2
.github/workflows/split-packages.yaml
vendored
|
@ -37,6 +37,8 @@ jobs:
|
|||
split_repository: 'theme-research-group'
|
||||
- local_path: 'second-brain'
|
||||
split_repository: 'theme-second-brain'
|
||||
- local_path: 'landing-page'
|
||||
split_repository: 'theme-landing-page'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
2
starters/blog/assets/dist/wc.css
vendored
2
starters/blog/assets/dist/wc.css
vendored
File diff suppressed because one or more lines are too long
2
starters/landing-page/.github/FUNDING.yml
vendored
Normal file
2
starters/landing-page/.github/FUNDING.yml
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
github: gcushen
|
||||
custom: https://hugoblox.com/sponsor/
|
BIN
starters/landing-page/.github/preview.webp
vendored
Normal file
BIN
starters/landing-page/.github/preview.webp
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 50 KiB |
70
starters/landing-page/.github/workflows/publish.yaml
vendored
Normal file
70
starters/landing-page/.github/workflows/publish.yaml
vendored
Normal file
|
@ -0,0 +1,70 @@
|
|||
name: Deploy website to GitHub Pages
|
||||
|
||||
env:
|
||||
WC_HUGO_VERSION: '0.119.0'
|
||||
|
||||
on:
|
||||
# Trigger the workflow every time you push to the `main` branch
|
||||
push:
|
||||
branches: ["main"]
|
||||
# Allows you to run this workflow manually from the Actions tab on GitHub.
|
||||
workflow_dispatch:
|
||||
|
||||
# Provide permission to clone the repo and deploy it to GitHub Pages
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
# Build website
|
||||
build:
|
||||
if: github.repository_owner != 'HugoBlox'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
# Fetch history for Hugo's .GitInfo and .Lastmod
|
||||
fetch-depth: 0
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: ${{ env.WC_HUGO_VERSION }}
|
||||
extended: true
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: /tmp/hugo_cache_runner/
|
||||
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.mod') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-hugomod-
|
||||
- name: Setup Pages
|
||||
id: pages
|
||||
uses: actions/configure-pages@v3
|
||||
- name: Build with Hugo
|
||||
env:
|
||||
HUGO_ENVIRONMENT: production
|
||||
run: |
|
||||
echo "Hugo Cache Dir: $(hugo config | grep cachedir)"
|
||||
hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
with:
|
||||
path: ./public
|
||||
|
||||
# Deploy website to GitHub Pages hosting
|
||||
deploy:
|
||||
if: github.repository_owner != 'HugoBlox'
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
1
starters/landing-page/.gitignore
vendored
Normal file
1
starters/landing-page/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
resources/
|
21
starters/landing-page/LICENSE.md
Normal file
21
starters/landing-page/LICENSE.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2020-present George Cushen
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
32
starters/landing-page/README.md
Normal file
32
starters/landing-page/README.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# [Hugo Landing Page Theme](https://github.com/HugoBlox/theme-landing-page)
|
||||
|
||||
[](https://hugoblox.com/templates/)
|
||||
|
||||
The Hugo **Landing Page Template** empowers you to easily create startup websites, marketing websites, and landing pages to accelerate your business growth.
|
||||
|
||||
️**Trusted by 250,000+ creators, teams, and organizations.** Highly customizable via the integrated **no-code, block-based website builder**, making every site truly personalized ⭐⭐⭐⭐⭐
|
||||
|
||||
[](https://hugoblox.com/templates/)
|
||||
[](https://discord.com/channels/722225264733716590/742892432458252370/742895548159492138)
|
||||
[](https://twitter.com/GetResearchDev)
|
||||
|
||||
[Check out the latest demo](https://hugoblox.com/templates/) of what you'll get in less than 10 minutes, or [view the showcase](https://hugoblox.com/creators/).
|
||||
|
||||
The integrated [**Hugo Blox**](https://hugoblox.com) website builder and CMS makes it easy to create a beautiful website for free. Edit your site in the CMS (or your favorite editor), generate it with [Hugo](https://github.com/gohugoio/hugo), and deploy with GitHub or Netlify. Customize anything on your site with widgets, light/dark themes, and language packs.
|
||||
|
||||
- 👉 [**Get Started**](https://hugoblox.com/templates/)
|
||||
- 📚 [View the **documentation**](https://docs.hugoblox.com/)
|
||||
- 💬 [Chat with the **Hugo Blox Builder community**](https://discord.gg/z8wNYzb) or [**Hugo community**](https://discourse.gohugo.io)
|
||||
- ⬇️ **Automatically import citations from BibTeX** with the [Hugo Academic CLI](https://github.com/GetRD/academic-file-converter)
|
||||
- 🐦 Share your new site with the community: [@GetResearchDev](https://twitter.com/GetResearchDev) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithHugoBlox](https://twitter.com/search?q=%23MadeWithHugoBlox&src=typed_query)
|
||||
- 🗳 [Take the survey and help us improve #OpenSource](https://forms.gle/NioD9VhUg7PNmdCAA)
|
||||
- 🚀 [Contribute improvements](https://github.com/HugoBlox/hugo-blox-builder/blob/main/CONTRIBUTING.md) or [suggest improvements](https://github.com/HugoBlox/hugo-blox-builder/issues)
|
||||
- ⬆️ **Updating?** View the [Update Guide](https://docs.hugoblox.com/) and [Release Notes](https://github.com/HugoBlox/hugo-blox-builder/releases)
|
||||
|
||||
## We ask you, humbly, to support this open source movement
|
||||
|
||||
Today we ask you to defend the open source independence of the Hugo Blox Builder and themes 🐧
|
||||
|
||||
We're an open source movement that depends on your support to stay online and thriving, but 99.9% of our creators don't give; they simply look the other way.
|
||||
|
||||
### [❤️ Click here to become a GitHub Sponsor, unlocking awesome perks such as _exclusive academic templates and widgets_](https://github.com/sponsors/gcushen)
|
1
starters/landing-page/assets/media/bg-triangles.svg
Normal file
1
starters/landing-page/assets/media/bg-triangles.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns='http://www.w3.org/2000/svg' viewBox="0 0 1080 900"><defs><linearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='100%' gradientTransform='rotate(350,780,493)'><stop offset='0' stop-color='#1500FF'/><stop offset='1' stop-color='#C600FF'/></linearGradient><pattern patternUnits='userSpaceOnUse' id='b' width='540' height='450' x='0' y='0' viewBox='0 0 1080 900'><g fill-opacity='0.1'><polygon fill='#444' points='90 150 0 300 180 300'/><polygon points='90 150 180 0 0 0'/><polygon fill='#AAA' points='270 150 360 0 180 0'/><polygon fill='#DDD' points='450 150 360 300 540 300'/><polygon fill='#999' points='450 150 540 0 360 0'/><polygon points='630 150 540 300 720 300'/><polygon fill='#DDD' points='630 150 720 0 540 0'/><polygon fill='#444' points='810 150 720 300 900 300'/><polygon fill='#FFF' points='810 150 900 0 720 0'/><polygon fill='#DDD' points='990 150 900 300 1080 300'/><polygon fill='#444' points='990 150 1080 0 900 0'/><polygon fill='#DDD' points='90 450 0 600 180 600'/><polygon points='90 450 180 300 0 300'/><polygon fill='#666' points='270 450 180 600 360 600'/><polygon fill='#AAA' points='270 450 360 300 180 300'/><polygon fill='#DDD' points='450 450 360 600 540 600'/><polygon fill='#999' points='450 450 540 300 360 300'/><polygon fill='#999' points='630 450 540 600 720 600'/><polygon fill='#FFF' points='630 450 720 300 540 300'/><polygon points='810 450 720 600 900 600'/><polygon fill='#DDD' points='810 450 900 300 720 300'/><polygon fill='#AAA' points='990 450 900 600 1080 600'/><polygon fill='#444' points='990 450 1080 300 900 300'/><polygon fill='#222' points='90 750 0 900 180 900'/><polygon points='270 750 180 900 360 900'/><polygon fill='#DDD' points='270 750 360 600 180 600'/><polygon points='450 750 540 600 360 600'/><polygon points='630 750 540 900 720 900'/><polygon fill='#444' points='630 750 720 600 540 600'/><polygon fill='#AAA' points='810 750 720 900 900 900'/><polygon fill='#666' points='810 750 900 600 720 600'/><polygon fill='#999' points='990 750 900 900 1080 900'/><polygon fill='#999' points='180 0 90 150 270 150'/><polygon fill='#444' points='360 0 270 150 450 150'/><polygon fill='#FFF' points='540 0 450 150 630 150'/><polygon points='900 0 810 150 990 150'/><polygon fill='#222' points='0 300 -90 450 90 450'/><polygon fill='#FFF' points='0 300 90 150 -90 150'/><polygon fill='#FFF' points='180 300 90 450 270 450'/><polygon fill='#666' points='180 300 270 150 90 150'/><polygon fill='#222' points='360 300 270 450 450 450'/><polygon fill='#FFF' points='360 300 450 150 270 150'/><polygon fill='#444' points='540 300 450 450 630 450'/><polygon fill='#222' points='540 300 630 150 450 150'/><polygon fill='#AAA' points='720 300 630 450 810 450'/><polygon fill='#666' points='720 300 810 150 630 150'/><polygon fill='#FFF' points='900 300 810 450 990 450'/><polygon fill='#999' points='900 300 990 150 810 150'/><polygon points='0 600 -90 750 90 750'/><polygon fill='#666' points='0 600 90 450 -90 450'/><polygon fill='#AAA' points='180 600 90 750 270 750'/><polygon fill='#444' points='180 600 270 450 90 450'/><polygon fill='#444' points='360 600 270 750 450 750'/><polygon fill='#999' points='360 600 450 450 270 450'/><polygon fill='#666' points='540 600 630 450 450 450'/><polygon fill='#222' points='720 600 630 750 810 750'/><polygon fill='#FFF' points='900 600 810 750 990 750'/><polygon fill='#222' points='900 600 990 450 810 450'/><polygon fill='#DDD' points='0 900 90 750 -90 750'/><polygon fill='#444' points='180 900 270 750 90 750'/><polygon fill='#FFF' points='360 900 450 750 270 750'/><polygon fill='#AAA' points='540 900 630 750 450 750'/><polygon fill='#FFF' points='720 900 810 750 630 750'/><polygon fill='#222' points='900 900 990 750 810 750'/><polygon fill='#222' points='1080 300 990 450 1170 450'/><polygon fill='#FFF' points='1080 300 1170 150 990 150'/><polygon points='1080 600 990 750 1170 750'/><polygon fill='#666' points='1080 600 1170 450 990 450'/><polygon fill='#DDD' points='1080 900 1170 750 990 750'/></g></pattern></defs><rect x='0' y='0' fill='url(#a)' width='100%' height='100%'/><rect x='0' y='0' fill='url(#b)' width='100%' height='100%'/></svg>
|
After Width: | Height: | Size: 4.1 KiB |
BIN
starters/landing-page/assets/media/build-website.png
Normal file
BIN
starters/landing-page/assets/media/build-website.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
starters/landing-page/assets/media/coffee.jpg
Normal file
BIN
starters/landing-page/assets/media/coffee.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 109 KiB |
0
starters/landing-page/assets/media/icons/.gitkeep
Normal file
0
starters/landing-page/assets/media/icons/.gitkeep
Normal file
53
starters/landing-page/config/_default/hugo.yaml
Normal file
53
starters/landing-page/config/_default/hugo.yaml
Normal file
|
@ -0,0 +1,53 @@
|
|||
# Configuration of Hugo
|
||||
# Guide: https://docs.hugoblox.com/tutorial/
|
||||
# Hugo Documentation: https://gohugo.io/getting-started/configuration/#all-configuration-settings
|
||||
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/
|
||||
|
||||
title: Creator's Landing Page | Hugo Theme # Website name
|
||||
baseURL: 'https://example.com/' # Website URL
|
||||
|
||||
############################
|
||||
## LANGUAGE
|
||||
############################
|
||||
|
||||
defaultContentLanguage: en
|
||||
hasCJKLanguage: false
|
||||
defaultContentLanguageInSubdir: false
|
||||
removePathAccents: true
|
||||
|
||||
############################
|
||||
## ADVANCED
|
||||
############################
|
||||
|
||||
build:
|
||||
writeStats: true
|
||||
enableGitInfo: false
|
||||
summaryLength: 30
|
||||
paginate: 10
|
||||
enableEmoji: true
|
||||
enableRobotsTXT: true
|
||||
footnotereturnlinkcontents: <sup>^</sup>
|
||||
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
|
||||
permalinks:
|
||||
authors: '/author/:slug/'
|
||||
tags: '/tag/:slug/'
|
||||
categories: '/category/:slug/'
|
||||
disableAliases: true
|
||||
outputs:
|
||||
home: [HTML, RSS, headers, redirects]
|
||||
section: [HTML, RSS]
|
||||
imaging:
|
||||
resampleFilter: lanczos
|
||||
quality: 95
|
||||
anchor: smart
|
||||
timeout: 600000
|
||||
taxonomies:
|
||||
author: authors
|
||||
markup:
|
||||
_merge: deep
|
||||
highlight:
|
||||
lineNos: false
|
||||
security:
|
||||
_merge: deep
|
||||
sitemap:
|
||||
_merge: deep
|
22
starters/landing-page/config/_default/languages.yaml
Normal file
22
starters/landing-page/config/_default/languages.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Languages
|
||||
# Create a section for each of your site's languages.
|
||||
# Documentation: https://docs.hugoblox.com/reference/language/
|
||||
|
||||
# Default language
|
||||
en:
|
||||
languageCode: en-us
|
||||
# Uncomment for multi-lingual sites, and move English content into `en` sub-folder.
|
||||
#contentDir: content/en
|
||||
|
||||
# Uncomment the lines below to configure your website in a second language.
|
||||
#zh:
|
||||
# languageCode: zh-Hans
|
||||
# contentDir: content/zh
|
||||
# title: Chinese website title...
|
||||
# params:
|
||||
# description: Site description in Chinese...
|
||||
# menu:
|
||||
# main:
|
||||
# - name: 传
|
||||
# url: '#about'
|
||||
# weight: 1
|
15
starters/landing-page/config/_default/menus.yaml
Normal file
15
starters/landing-page/config/_default/menus.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Navigation Links
|
||||
# To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
|
||||
# desired widget in your `content/home/` folder.
|
||||
# The weight parameter defines the order that the links will appear in.
|
||||
|
||||
main:
|
||||
- name: Home
|
||||
url: /
|
||||
weight: 10
|
||||
- name: Features
|
||||
url: /#features
|
||||
weight: 20
|
||||
- name: Solutions
|
||||
url: /#solutions
|
||||
weight: 30
|
9
starters/landing-page/config/_default/module.yaml
Normal file
9
starters/landing-page/config/_default/module.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
############################
|
||||
## HUGO MODULES
|
||||
## Install or uninstall themes and plugins here.
|
||||
## Docs: https://gohugo.io/hugo-modules/
|
||||
############################
|
||||
|
||||
imports:
|
||||
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify
|
||||
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind
|
45
starters/landing-page/config/_default/params.yaml
Normal file
45
starters/landing-page/config/_default/params.yaml
Normal file
|
@ -0,0 +1,45 @@
|
|||
# SITE SETUP
|
||||
# Guide: https://docs.hugoblox.com/tutorial/
|
||||
# Documentation: https://docs.hugoblox.com/
|
||||
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/
|
||||
|
||||
# Appearance
|
||||
appearance:
|
||||
mode: light
|
||||
color: indigo
|
||||
|
||||
# SEO
|
||||
marketing:
|
||||
seo:
|
||||
site_type: Person
|
||||
local_business_type: ''
|
||||
org_name: ''
|
||||
description: 'A highly-customizable Hugo landing page theme powered by Hugo Blox website builder.'
|
||||
twitter: 'GetResearchDev'
|
||||
analytics:
|
||||
google_analytics: ''
|
||||
baidu_tongji: ''
|
||||
plausible: ''
|
||||
fathom: ''
|
||||
pirsch: ''
|
||||
verification:
|
||||
google: ''
|
||||
baidu: ''
|
||||
|
||||
# Site header
|
||||
header:
|
||||
navbar:
|
||||
enable: true
|
||||
blox: navbar
|
||||
show_search: false
|
||||
show_theme_chooser: true
|
||||
|
||||
# Site footer
|
||||
footer:
|
||||
copyright:
|
||||
notice: '© {year} Me'
|
||||
|
||||
# Localization
|
||||
locale:
|
||||
date_format: 'Jan 2, 2006'
|
||||
time_format: '3:04 PM'
|
80
starters/landing-page/content/_index.md
Normal file
80
starters/landing-page/content/_index.md
Normal file
|
@ -0,0 +1,80 @@
|
|||
---
|
||||
title: 'Home'
|
||||
date: 2023-10-24
|
||||
type: landing
|
||||
|
||||
sections:
|
||||
- block: hero
|
||||
content:
|
||||
title: Build Your Landing Pages with Hugo Blox
|
||||
text: 🧱 EASY. FREE (OPEN SOURCE). NO-CODE 🧱
|
||||
primary_action:
|
||||
text: Get Started
|
||||
url: https://hugoblox.com/templates/
|
||||
icon: sparkles
|
||||
secondary_action:
|
||||
text: Read the docs
|
||||
url: https://docs.hugoblox.com
|
||||
announcement:
|
||||
text: Announcing the release of version 1.
|
||||
link:
|
||||
text: Read more
|
||||
url: https://hugoblox.com/blog/
|
||||
design:
|
||||
css_class: dark
|
||||
background:
|
||||
image:
|
||||
# Add your image background to `assets/media/`.
|
||||
filename: bg-triangles.svg
|
||||
filters:
|
||||
brightness: 0.5
|
||||
- block: features
|
||||
id: features
|
||||
content:
|
||||
title: Features
|
||||
text: Build your site with blocks 🧱
|
||||
items:
|
||||
- name: Optimized SEO
|
||||
icon: magnifying-glass
|
||||
description: Automatic sitemaps, RSS feeds, and rich metadata take the pain out of SEO and syndication.
|
||||
- name: Fast
|
||||
icon: bolt
|
||||
description: Super fast page load with Tailwind CSS and super fast site building with Hugo.
|
||||
- name: Easy
|
||||
icon: sparkles
|
||||
description: Connecting with your friends and family as well as discovering new ones is easy with features like Groups.
|
||||
- name: No-Code
|
||||
icon: code-bracket
|
||||
description: Edit and design your site just using rich text (Markdown) and configurable YAML parameters.
|
||||
- name: Highly Rated
|
||||
icon: star
|
||||
description: Rated 5-stars by the community.
|
||||
- name: Swappable Blocks
|
||||
icon: rectangle-group
|
||||
description: Build your pages with blocks - no coding required!
|
||||
- block: cta-image-paragraph
|
||||
id: solutions
|
||||
content:
|
||||
items:
|
||||
- title: Build your future-proof website
|
||||
text: As easy as 1, 2, 3!
|
||||
# Upload image to `assets/media/` and reference the filename here
|
||||
image: build-website.png
|
||||
button:
|
||||
text: Get Started
|
||||
url: https://hugoblox.com/templates/
|
||||
- title: Large Community
|
||||
text: Join our large community - ask questions and share your Hugo knowledge with others.
|
||||
# Upload image to `assets/media/` and reference the filename here
|
||||
image: coffee.jpg
|
||||
button:
|
||||
text: Join Discord
|
||||
url: https://discord.gg/z8wNYzb
|
||||
- block: cta-card
|
||||
content:
|
||||
title: Build your future-proof website
|
||||
text: As easy as 1, 2, 3!
|
||||
button:
|
||||
text: Get Started
|
||||
url: https://hugoblox.com/templates/
|
||||
---
|
8
starters/landing-page/go.mod
Normal file
8
starters/landing-page/go.mod
Normal file
|
@ -0,0 +1,8 @@
|
|||
module my_website
|
||||
|
||||
go 1.19
|
||||
|
||||
require (
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b
|
||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.1.2-0.20231203173437-d684873cd041
|
||||
)
|
21
starters/landing-page/netlify.toml
Normal file
21
starters/landing-page/netlify.toml
Normal file
|
@ -0,0 +1,21 @@
|
|||
[build]
|
||||
command = "hugo --gc --minify -b $URL"
|
||||
publish = "public"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.119.0"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_ENV = "production"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[[plugins]]
|
||||
package = "netlify-plugin-hugo-cache-resources"
|
||||
[plugins.inputs]
|
||||
debug = true
|
Loading…
Add table
Add a link
Reference in a new issue