Skip to content

Initialize #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jan 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Page Build

on: [push]

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .

- name: Typo check
uses: crate-ci/typos@v1.29.0

- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "latest"
extended: true

- name: Build
run: hugo

- name: Check broken links
uses: ruzickap/action-my-broken-link-checker@v2
with:
url: https://py-img-gen.github.io
pages_path: ./public
cmd_params: "\
--timeout=20 \
--buffer-size 8192 \
--max-connections=10 \
--max-response-body-size=70000000 \
--ignore-fragments \
-e t.co \
-e twitter.com \
"

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
deploy_key: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: gh-pages # deploying branch
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Created by https://www.toptal.com/developers/gitignore/api/hugo
# Edit at https://www.toptal.com/developers/gitignore?templates=hugo

### Hugo ###
# Generated files by hugo
/public/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json

# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux

# Temporary lock file while building
/.hugo_build.lock

# End of https://www.toptal.com/developers/gitignore/api/hugo
4 changes: 4 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[files]
extend-exclude = ["*.js", "*.svg"]
ignore-hidden = true
ignore-vcs = true
3 changes: 3 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
6 changes: 3 additions & 3 deletions exampleSite/config.toml → config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
######################## default configuration ####################
baseURL = "https://demo.gethugothemes.com/influencer/examplesite/"
baseURL = "https://py-img-gen.github.io"
languageCode = "en-us"
title = "Influencer"
theme = "influencer-hugo"
Expand Down Expand Up @@ -71,8 +71,8 @@ home = "Home"
# Meta data
description = "This is meta description"
author = "Themefisher"
# Google Analitycs
googleAnalitycsID = "" # Your ID
# Google Analytics
googleAnalyticsID = "" # Your ID
# copyright
copyright = "Copyright © 2021 [Gethugothemes](https://gethugothemes.com) All Rights Reserved"

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type: "post"

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus natus, consectetur? Illum libero vel
nihil nisi quae, voluptatem, sapiente necessitatibus distinctio voluptates, iusto qui. Laboriosam autem,
nam voluptate in beatae.
name voluptate in beatae.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Veniam officiis perspiciatis, eaque porro ad
facilis vel amet. Pariatur eligendi odio voluptatem provident modi eos, perferendis quas delectus.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type: "post"

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus natus, consectetur? Illum libero vel
nihil nisi quae, voluptatem, sapiente necessitatibus distinctio voluptates, iusto qui. Laboriosam autem,
nam voluptate in beatae.
name voluptate in beatae.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Veniam officiis perspiciatis, eaque porro ad
facilis vel amet. Pariatur eligendi odio voluptatem provident modi eos, perferendis quas delectus.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type: "post"

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus natus, consectetur? Illum libero vel
nihil nisi quae, voluptatem, sapiente necessitatibus distinctio voluptates, iusto qui. Laboriosam autem,
nam voluptate in beatae.
name voluptate in beatae.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Veniam officiis perspiciatis, eaque porro ad
facilis vel amet. Pariatur eligendi odio voluptatem provident modi eos, perferendis quas delectus.
Expand Down
10 changes: 5 additions & 5 deletions exampleSite/data/homepage.yml → data/homepage.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
########################## Banner #############################
banner:
enable : true
writter : "George Stewart"
writer : "George Stewart"
title : "The Man in the <br>Glass House"
image : "images/about/book.png"
content : "We work with our partners to streamline project plans that don’t just deliver on
Expand Down Expand Up @@ -54,7 +54,7 @@ service:
content : "Must explain to you how this denouncing praisig pain was give you explain to you how."

# service item loop
- title : "Targetting Vission"
- title : "Targeting Vission"
icon : "ti-email" # themify icon pack : https://themify.me/themify-icons
content : "Must explain to you how this denouncing praisig pain was give you explain to you how."

Expand Down Expand Up @@ -144,12 +144,12 @@ devices:
# feature item loop
- title : "Take a sneak peak insight"
icon : "ti-bar-chart" # themify icon pack : https://themify.me/themify-icons
content : "Sed laborum omnis earum facere culpa optio natus quaerat minus."
content : "Sed laborum omnis earum facere culpa option natus quaerat minus."

# feature item loop
- title : "Reporting & Analysis"
icon : "ti-write" # themify icon pack : https://themify.me/themify-icons
content : "Sed laborum omnis earum facere culpa optio natus quaerat minus."
content : "Sed laborum omnis earum facere culpa option natus quaerat minus."


# button
Expand Down Expand Up @@ -248,4 +248,4 @@ contact:
- title : "Location"
icon : "ti-location-pin" # themify icon pack : https://themify.me/themify-icons
list:
- listItem : "397 Lake forest drive street USA"
- listItem : "397 Lake forest drive street USA"
16 changes: 0 additions & 16 deletions exampleSite/netlify.toml

This file was deleted.

Loading
Loading