added site
@@ -0,0 +1,14 @@
|
||||
; https://editorconfig.org
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
label: new-page
|
||||
hide_body: false
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: textarea
|
||||
name: description
|
||||
label: description
|
||||
- type: text
|
||||
name: layout
|
||||
label: layout
|
||||
- type: text
|
||||
name: url
|
||||
label: url
|
||||
- type: field_group
|
||||
name: banner
|
||||
label: banner
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
- type: textarea
|
||||
name: description
|
||||
label: description
|
||||
@@ -0,0 +1,45 @@
|
||||
---
|
||||
new_page_extension: md
|
||||
auto_deploy: false
|
||||
admin_path: ''
|
||||
webhook_url:
|
||||
sections:
|
||||
- type: heading
|
||||
label: All Pages
|
||||
- type: directory
|
||||
path: content
|
||||
label: All Pages
|
||||
create: all
|
||||
match: "**/*"
|
||||
templates:
|
||||
- new-page
|
||||
- type: heading
|
||||
label: Configuration
|
||||
- type: document
|
||||
path: config/_default/config.toml
|
||||
label: Configuration
|
||||
- type: document
|
||||
path: config/_default/params.toml
|
||||
label: Parameters
|
||||
- type: document
|
||||
path: config.toml
|
||||
label: Variables & Plugins
|
||||
- type: document
|
||||
path: config/_default/menus.toml
|
||||
label: Menu
|
||||
upload_dir: assets/images
|
||||
public_path: "/images"
|
||||
front_matter_path: ''
|
||||
use_front_matter_path: false
|
||||
file_template: ":filename:"
|
||||
build:
|
||||
preview_env:
|
||||
- HUGO_ENV=staging
|
||||
- HUGO_VERSION=0.98.0
|
||||
preview_output_directory: public
|
||||
preview_docker_image: forestryio/hugo:latest
|
||||
mount_path: "/srv"
|
||||
working_dir: "/srv"
|
||||
instant_preview_command: hugo server -D -E -F --port 8080 --bind 0.0.0.0 --renderToDisk
|
||||
-d public
|
||||
version: 0.98.0
|
||||
@@ -0,0 +1,39 @@
|
||||
name: github pages
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main # Set a branch that will trigger a deployment
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
- name: Hugo setup
|
||||
uses: peaceiris/actions-hugo@v2.6.0
|
||||
with:
|
||||
hugo-version: "0.105.0"
|
||||
extended: true
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: /tmp/hugo_cache
|
||||
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-hugomod-
|
||||
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
if: github.ref == 'refs/heads/main'
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./public
|
||||
@@ -0,0 +1,15 @@
|
||||
Thumbs.db
|
||||
.DS_Store
|
||||
.dist
|
||||
.tmp
|
||||
.sass-cache
|
||||
npm-debug.log
|
||||
node_modules
|
||||
builds
|
||||
package-lock.json
|
||||
public
|
||||
resources
|
||||
.hugo_build.lock
|
||||
jsconfig.json
|
||||
hugo_stats.json
|
||||
go.sum
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
# meta keywords
|
||||
keywords: []
|
||||
# meta description
|
||||
description: "This is meta description"
|
||||
# save as draft
|
||||
draft: false
|
||||
---
|
||||
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 9.4 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 6.6 KiB |
|
After Width: | Height: | Size: 6.6 KiB |
|
After Width: | Height: | Size: 8.7 KiB |
|
After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 8.8 KiB |
|
After Width: | Height: | Size: 8.1 KiB |