diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..faa7037 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,34 @@ +name: Build and Deploy Hugo Site + +on: + push: + branches: + - main + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout source + uses: actions/checkout@v4 + with: + submodules: recursive + fetch-depth: 0 # needed for .GitInfo and lastmod + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v3 + with: + hugo-version: 'latest' + extended: true + + - name: Build site + run: hugo --minify --gc + + - name: Deploy to Caddy site directory + run: | + # Runner is on the same host as Caddy. + # /deploy is mounted into the runner container → maps to /srv/docker/caddy/site on the host. + echo "Syncing built site to /deploy ..." + rsync -av --delete public/ /deploy/ + echo "Deploy complete." diff --git a/assets/images/ats4all.jpg b/assets/images/ats4all.jpg new file mode 100644 index 0000000..98d68b0 Binary files /dev/null and b/assets/images/ats4all.jpg differ diff --git a/assets/images/www.goldenyearscompanion.com.png b/assets/images/ats4all.png similarity index 100% rename from assets/images/www.goldenyearscompanion.com.png rename to assets/images/ats4all.png diff --git a/assets/images/author.jpg b/assets/images/author.jpg new file mode 100644 index 0000000..6ab7c14 Binary files /dev/null and b/assets/images/author.jpg differ diff --git a/config/_default/_menus.en.toml b/config/_default/_menus.en.toml new file mode 100644 index 0000000..351a1b2 --- /dev/null +++ b/config/_default/_menus.en.toml @@ -0,0 +1,69 @@ +# -- Main Menu -- +# The main menu is displayed in the header at the top of the page. +# Acceptable parameters are name, pageRef, page, url, title, weight. +# +# The simplest menu configuration is to provide: +# name = The name to be displayed for this menu link +# pageRef = The identifier of the page or section to link to +# +# By default the menu is ordered alphabetically. This can be +# overridden by providing a weight value. The menu will then be +# ordered by weight from lowest to highest. + +[[main]] + name = "Blog" + pageRef = "posts" + weight = 10 + +[[main]] + name = "Parent" + weight = 20 + +[[main]] + name = "example sub-menu 1" + parent = "Parent" + pageRef = "posts" + weight = 20 + +[[main]] + name = "example sub-menu 2" + parent = "Parent" + pageRef = "posts" + weight = 20 + +[[subnavigation]] + name = "An interesting topic" + pageRef = "tags/interesting-topic" + weight = 10 + +[[subnavigation]] + name = "My Awesome Category" + pre = "github" + pageRef = "categories/awesome" + weight = 20 + +[[main]] + name = "Categories" + pageRef = "categories" + weight = 20 + +[[main]] + name = "Tags" + pageRef = "tags" + weight = 30 + + +# -- Footer Menu -- +# The footer menu is displayed at the bottom of the page, just before +# the copyright notice. Configure as per the main menu above. + + +[[footer]] + name = "Tags" + pageRef = "tags" + weight = 10 + +[[footer]] + name = "Categories" + pageRef = "categories" + weight = 20 diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml index 77de466..c5c7f1d 100644 --- a/config/_default/languages.en.toml +++ b/config/_default/languages.en.toml @@ -1,6 +1,6 @@ languageCode = "en" -title = "Affordable Technology Services" +title = "[Coming Soon] - Affordable Technology Services" [params] displayName = "ATS4ALL" @@ -8,7 +8,7 @@ title = "Affordable Technology Services" rtl = false [params.author] - name = "Affordable Technology Services" - image = "images/author.png" + name = "[Coming Soon]- Affordable Technology Services" + image = "images/author.jpg" headline = "Friendly technology help for your home." - bio = "Affordable Technology Services provides practical, patient technology support and solutions." \ No newline at end of file + bio = "Affordable Technology Services provides practical, patient technology support and solutions." diff --git a/config/_default/params.toml b/config/_default/params.toml index 6545242..aa33fa7 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -9,5 +9,5 @@ mainSections = ["posts"] [homepage] layout = "background" - homepageImage = "images/ats4all.png" + homepageImage = "images/ats4all.jpg" showRecent = false \ No newline at end of file diff --git a/content/_index.md b/content/_index.md index f14f418..9f2fd27 100644 --- a/content/_index.md +++ b/content/_index.md @@ -3,8 +3,6 @@ title: "Affordable Technology Services" description: "Affordable Technology Services provides friendly, affordable computer help, software support, and home technology solutions." --- -Friendly technology help for your home. - Technology should make life easier, not more frustrating. Whether your computer is running slowly, your Wi-Fi isn't cooperating, or you need help setting up a new device, Affordable Technology Services provides practical, patient support. @@ -15,4 +13,4 @@ Whether your computer is running slowly, your Wi-Fi isn't cooperating, or you ne - Software installation and support - Home Wi-Fi and networking - Data backup and recovery -- Remote assistance \ No newline at end of file +- Remote assistance