Skip to content

Commit 7dd2aee

Browse files
committed
Rewrite site
Replace the Jekyll theme and VM gallery with a new layout, stylesheet, and assets, and add a GitHub Pages workflow. Assisted-by: Claude:claude-fable-5-1
1 parent e2f3018 commit 7dd2aee

123 files changed

Lines changed: 599 additions & 2141 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/pages.yml‎

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Deploy Jekyll site to Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: "3.3"
25+
bundler-cache: true
26+
- id: pages
27+
uses: actions/configure-pages@v5
28+
- run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
29+
env:
30+
JEKYLL_ENV: production
31+
- uses: actions/upload-pages-artifact@v3
32+
33+
deploy:
34+
environment:
35+
name: github-pages
36+
url: ${{ steps.deployment.outputs.page_url }}
37+
runs-on: ubuntu-latest
38+
needs: build
39+
steps:
40+
- id: deployment
41+
uses: actions/deploy-pages@v4

‎.gitignore‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
_site/
2-
.sass-cache/
2+
.jekyll-cache/
33
.jekyll-metadata
4+
.sass-cache/
5+
vendor/
6+
Gemfile.lock
7+
.DS_Store

‎.ruby-version‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.3.12

‎404.html‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
title: Not Found
3-
description: This does not exist
2+
title: Page not found
43
permalink: /404.html
54
sitemap: false
65
---
6+
<p>There's nothing at this address.</p>
7+
<p><a href="{{ '/' | relative_url }}">Back to the UTM homepage →</a></p>

‎CNAME‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
mac.getutm.app
1+
getutm.app

‎Gemfile‎

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
source 'https://rubygems.org'
1+
source "https://rubygems.org"
22

3-
gem 'jekyll', '4.0.0'
3+
gem "jekyll", "~> 4.4"
44

55
group :jekyll_plugins do
6-
gem 'jekyll-archives', '2.1.1'
7-
gem 'jekyll-feed', '0.12.1'
8-
gem 'jekyll-paginate', '1.1.0'
9-
gem 'jekyll-seo-tag', '2.6.1'
10-
gem 'jekyll-sitemap', '1.3.1'
11-
gem 'jekyll-redirect-from'
6+
gem "jekyll-seo-tag", "~> 2.8"
7+
gem "jekyll-sitemap", "~> 1.4"
8+
gem "jekyll-redirect-from", "~> 0.16"
129
end

‎Gemfile.lock‎

Lines changed: 0 additions & 82 deletions
This file was deleted.

‎README.md‎

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
1-
# UTM for Mac Homepage
1+
# UTM Homepage
22

3-
[Offical site for UTM for Mac][1]. Site based off of [Hydra][2].
3+
Official site for [UTM](https://getutm.app), covering UTM for macOS, UTM SE and UTM Remote for iOS.
44

5-
[1]: https://mac.getutm.app
6-
[2]: https://github.com/CloudCannon/hydra-jekyll-template
5+
Built with Jekyll 4. The landing page is `index.html`; `licenses.md` and `privacy.md` are Markdown pages using the `page` layout; the remaining `.md` files at the root are redirects handled by `jekyll-redirect-from`.
6+
7+
## Develop
8+
9+
```sh
10+
bundle install
11+
bundle exec jekyll serve --livereload
12+
```
13+
14+
## Deploy
15+
16+
`.github/workflows/pages.yml` builds the site with GitHub Actions and publishes it to GitHub Pages on every push to `main`. In the repository settings, set Pages → Source to **GitHub Actions**.
17+
18+
## Layout
19+
20+
- `_layouts/default.html` – document shell, header and footer
21+
- `_layouts/page.html` – prose layout for Markdown pages
22+
- `assets/css/main.css` – the theme
23+
- `assets/img/`, `assets/video/` – landing page media

‎_config.yml‎

Lines changed: 24 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,43 @@
1-
# ----
21
# Site
3-
42
title: UTM
5-
url: "https://mac.getutm.app"
6-
baseurl:
7-
google_analytics_key:
8-
disqus_shortname:
9-
10-
# Values for the jekyll-seo-tag gem (https://github.com/jekyll/jekyll-seo-tag)
11-
logo: /siteicon.png
12-
description: Virtual machines for Mac
13-
author:
14-
name: osy
15-
email: dev@getutm.app
16-
twitter: UTMapp
3+
tagline: Virtual machines on Apple devices
4+
description: Securely run operating systems on your Mac. UTM SE brings virtual machines to iPhone, iPad, and Vision Pro.
5+
url: "https://getutm.app"
6+
baseurl: ""
7+
lang: en
8+
logo: /assets/img/siteicon.png
9+
twitter:
10+
username: UTMapp
11+
card: summary_large_image
1712
social:
18-
name: GitHub
13+
name: UTM
1914
links:
15+
- https://twitter.com/UTMapp
2016
- https://github.com/utmapp
2117

22-
# -----
2318
# Build
24-
2519
timezone: Etc/UTC
26-
27-
collections:
28-
virtual_machines:
29-
output: true
30-
permalink: /gallery/:name
31-
32-
paginate: 10
33-
paginate_path: "/blog/:num/"
3420
permalink: pretty
35-
36-
defaults:
37-
-
38-
scope:
39-
path: ""
40-
type: "posts"
41-
values:
42-
layout: "post"
43-
_options:
44-
content:
45-
width: 1500
46-
height: 2500
47-
-
48-
scope:
49-
path: ""
50-
type: "virtual_machines"
51-
values:
52-
layout: "virtual_machine"
53-
-
54-
scope:
55-
path: ""
56-
values:
57-
layout: "page"
58-
59-
jekyll-archives:
60-
enabled:
61-
- categories
21+
markdown: kramdown
22+
kramdown:
23+
input: GFM
24+
syntax_highlighter_opts:
25+
disable: true
6226

6327
plugins:
64-
- jekyll-archives
65-
- jekyll-sitemap
6628
- jekyll-seo-tag
67-
- jekyll-feed
68-
- jekyll-paginate
29+
- jekyll-sitemap
6930
- jekyll-redirect-from
7031

71-
whitelist:
72-
- jekyll-redirect-from
32+
defaults:
33+
- scope:
34+
path: ""
35+
values:
36+
layout: page
7337

7438
exclude:
7539
- Gemfile
7640
- Gemfile.lock
7741
- README.md
78-
- LICENCE
79-
80-
_comments:
81-
highlight: Emphasis the text
82-
color: The background colour used in the plan name and call to action.
83-
new_window: Open link in new window
42+
- vendor
43+
- node_modules

‎_data/footer.yml‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)