starters(minimal): upgrade to use landing pages

See #2049
This commit is contained in:
George Cushen 2022-10-24 22:48:34 +01:00
commit 340662423f
7 changed files with 30 additions and 42 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 648 KiB

View file

@ -86,7 +86,7 @@ features:
category: ''
category_id: ''
search:
provider: wowchemy
provider: ''
algolia:
app_id: ''
api_key: ''

View file

@ -0,0 +1,27 @@
---
# Leave the homepage title empty to use the site title
title:
date: 2022-10-24
type: landing
sections:
- block: about.avatar
content:
# Choose a user profile to display (a folder name within `content/authors/`)
username: admin
text: |-
👋 Hi, there! I'm **Alice**, a machine learning researcher at Netflix.
{style="font-size: 1.2rem; background: #FFB76B; background: linear-gradient(to right, #FFB76B 0%, #FFA73D 30%, #FF7C00 60%, #FF7F04 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;"}
design:
background:
color: black
text_color_light: true
image:
# Add your image background to `assets/media/`.
filename: space.jpg
filters:
brightness: 0.4
size: cover
position: center
parallax: false
css_class: d-flex fullscreen align-items-center
---

View file

@ -1,7 +0,0 @@
---
# Files in this folder represent a Widget Page (homepage)
type: widget_page
# Homepage is headless, other widget pages are not.
headless: true
---

View file

@ -1,33 +0,0 @@
---
# Use the Intro widget of the Blog template
widget: about.avatar
# This file represents a page section.
headless: true
# Order that this section will appear in.
weight: 10
author: admin
design:
# Choose how many columns the section has. Valid values: 1 or 2.
columns: '1'
background:
# Apply a background color, gradient, or image.
# Uncomment (by removing `#`) an option to apply it.
# Choose a light or dark text color by setting `text_color_light`.
# Any HTML color name or Hex value is valid.
color: black
# gradient_start: DarkGreen
# gradient_end: ForestGreen
image: hello.jpg # Name of image in `static/media/`.
image_darken: 0.4
image_size: cover
image_position: right
image_parallax: true
text_color_light: true
css_class: d-flex fullscreen align-items-center
---
👋 Hi, there! I'm **Alice**, a machine learning researcher at Netflix.
{style="font-size: 1.2rem; background: #FFB76B; background: linear-gradient(to right, #FFB76B 0%, #FFA73D 30%, #FF7C00 60%, #FF7F04 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;"}

View file

@ -4,5 +4,6 @@ go 1.15
require (
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify v1.0.0 // indirect
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.6.0 // indirect
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms v1.0.0 // indirect
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.7.1-0.20221024214304-ad466232017f
)