1
0
Fork 0

Compare commits

...

7 commits

Author SHA1 Message Date
ayesc9000
f5f7a2caa1 Deployment pipeline 2026-05-18 02:09:53 -04:00
ayesc9000
cadd899309 Add dockerfile to build webserver 2026-05-18 02:09:42 -04:00
ayesc9000
424c547ee7 Fix config bug 2026-05-18 01:48:17 -04:00
ayesc9000
e6882680f7 Improve spacing between links and copyright notice 2026-05-18 01:13:46 -04:00
ayesc9000
e5b1dc3c9c Add 404 page 2026-05-18 01:13:35 -04:00
ayesc9000
086537e755 Update README 2026-05-18 01:10:06 -04:00
ayesc9000
950d82f529 Disable robots.txt 2026-05-18 01:10:00 -04:00
6 changed files with 59 additions and 2 deletions

17
.woodpecker/deploy.yaml Normal file
View file

@ -0,0 +1,17 @@
when:
- event: push
branch: main
- event: cron
cron: weekly
steps:
- name: build
image: woodpeckerci/plugin-docker-buildx
settings:
platforms: linux/amd64
registry: http://git-ci-registry/
repo: liam/offshoreshellcompany
dockerfile: Dockerfile
tags: latest

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM ghcr.io/getzola/zola:v0.22.1 AS zola
COPY . /site
WORKDIR /site
RUN ["zola", "build"]
FROM joseluisq/static-web-server AS sws
WORKDIR /
COPY --from=zola /site/public /public
CMD ["--page404", "/public/404.html"]

View file

@ -1,5 +1,8 @@
# Offshore Shell Company Website
[![status-badge](https://locus.offshoreshell.company/ci/api/badges/1/status.svg?events=deployment)](https://locus.offshoreshell.company/ci/repos/1)
![pride-badge](https://pride-badges.pony.workers.dev/static/v1?label=enbyware&labelColor=%23555&stripeWidth=8&stripeColors=fff430%2Cffffff%2C9c59d1%2C292929)
This is the tounge-in-cheek website I put together to serve as a landing page
for the domain that hosts all my services, including my Forgejo and Woodpecker
servers.

View file

@ -11,11 +11,10 @@ minify_html = true
build_search_index = false
generate_feeds = false
generate_sitemap = false
generate_robots_txt = true
generate_robots_txt = false
[markdown]
render_emoji = true
highlight_code = false
smart_punctuation = true
bottom_footnotes = true
github_alerts = true

26
templates/404.html Normal file
View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<title>Not Found</title>
<link href="/style.css" rel="stylesheet" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="application-name" content="Offshore Shell Company" />
<meta name="author" content="AyesC" />
<meta name="og:title" content="Offshore Shell Company" />
<meta name="og:type" content="website" />
<meta name="og:url" content="https://offshoreshell.company/" />
<meta name="og:locale" content="en_CA" />
</head>
<body>
<h1>OFFSHORE SHELL COMPANY</h1>
<p>Page not found. <a href="/">Go home.</a></p>
<br>
<hr>
<br>
<p>
Copyright &copy; Liam "AyesC" Hogan under
<a href="https://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International</a>
</p>
</body>
</html>

View file

@ -38,6 +38,7 @@
<p>{{ service.description }}</p>
</div>
{% endfor %}
<br>
<p>
Copyright &copy; Liam "AyesC" Hogan under
<a href="https://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International</a>