Credibility pass: drop dead deploy plumbing, reconcile docs
Remove the unused USER variable and the placeholder guard on a constant DIR from deploy. Move the index's two inline styles into the stylesheet, delete a selector that matched nothing, and use a plain apostrophe in the description. Bring the README and CLAUDE.md file lists and "Adding a build" steps in line with what the pages carry. Credibility pass over the whole repo; the next one can scope from here. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
3228416b84
commit
a7c04e5cb7
4 files changed
+19
-19
No files matched your search
@@ -10,6 +10,7 @@ A static site with no build step. Each build is a self-contained folder; the top
|
||||
|
||||
```
|
||||
index.html - Site index: one card per build
|
||||
favicon.svg - Icon shared by every page
|
||||
og.png - OpenGraph image for the index (1200 x 630); each build keeps its own og-image.jpg
|
||||
deploy - Deployment script (rsync to server)
|
||||
greenman/ - Green Man mask
|
||||
@@ -23,7 +24,9 @@ greenman/ - Green Man mask
|
||||
1. Make a folder for it, named in lowercase with no spaces (`greenman`, `atompunk`). Put its page at `<folder>/index.html`, with its images and downloads inside the folder so its links stay relative.
|
||||
2. In the top-level `index.html`, copy an `<a class="build">` card to the top of the list and change the link, image, alt text, title and the three lines of text. The newest build carries the extra class `first`, which gives it the full-width card; take `first` off the one it replaces. Card images are cropped to fit, so set `object-position` for the new image as `.greenman` does.
|
||||
3. Give the new build's page a link back to the index, as `greenman/index.html` has at its top and bottom: `<a href="../">← Kestrel's Builds</a>`.
|
||||
4. Run `./deploy -n` to check what will be uploaded, then `./deploy`.
|
||||
4. In the page's head, link the shared icon (`<link rel="icon" href="../favicon.svg">`) and add its own description, canonical and Open Graph tags. Its share image is a 1200 x 630 `og-image.jpg` in the build's folder.
|
||||
5. Retake `og.png`, a 1200 x 630 screenshot of the top of the index, since the first card has changed.
|
||||
6. Run `./deploy -n` to check what will be uploaded, then `./deploy`.
|
||||
|
||||
## Local preview
|
||||
|
||||
@@ -55,7 +58,7 @@ Each My Webapp gets a numbered folder on the server. Find this one:
|
||||
ssh social 'ls -d /var/www/my_webapp*'
|
||||
```
|
||||
|
||||
Set `DIR` in `deploy` to that folder's `www` directory, which for this site is `/var/www/my_webapp__3/www` (already set).
|
||||
Set `DIR` in `deploy` to that folder's `www` directory. For this site it is `/var/www/my_webapp__3/www`.
|
||||
|
||||
### 3. Deploy
|
||||
|
||||
@@ -64,4 +67,4 @@ Set `DIR` in `deploy` to that folder's `www` directory, which for this site is `
|
||||
./deploy
|
||||
```
|
||||
|
||||
The script rsyncs this folder to the server and deletes anything there that is no longer here. It skips the project's own files (`deploy`, `README.md`, `CLAUDE.md`, `.git`).
|
||||
The script rsyncs this folder to the server and deletes anything there that is no longer here. It skips the project's own files: the script itself, the two Markdown docs, and git and editor files.
|
||||
Reference in new issue
Block a user