Compare commits
3 commits
main
...
experiment
Author | SHA1 | Date | |
---|---|---|---|
a | 6afaebd6f8 | ||
a | 53e8cdbb68 | ||
a | ba19b3aeae |
21
.experiments/astro/.gitignore
vendored
Normal file
21
.experiments/astro/.gitignore
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
# build output
|
||||
dist/
|
||||
# generated types
|
||||
.astro/
|
||||
|
||||
# dependencies
|
||||
node_modules/
|
||||
|
||||
# logs
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
|
||||
|
||||
# environment variables
|
||||
.env
|
||||
.env.production
|
||||
|
||||
# macOS-specific files
|
||||
.DS_Store
|
4
.experiments/astro/.vscode/extensions.json
vendored
Normal file
4
.experiments/astro/.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"recommendations": ["astro-build.astro-vscode"],
|
||||
"unwantedRecommendations": []
|
||||
}
|
11
.experiments/astro/.vscode/launch.json
vendored
Normal file
11
.experiments/astro/.vscode/launch.json
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"command": "./node_modules/.bin/astro dev",
|
||||
"name": "Development server",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
}
|
||||
]
|
||||
}
|
47
.experiments/astro/README.md
Normal file
47
.experiments/astro/README.md
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Astro Starter Kit: Minimal
|
||||
|
||||
```
|
||||
npm create astro@latest -- --template minimal
|
||||
```
|
||||
|
||||
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal)
|
||||
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/minimal)
|
||||
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/minimal/devcontainer.json)
|
||||
|
||||
> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun!
|
||||
|
||||
## 🚀 Project Structure
|
||||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
|
||||
```
|
||||
/
|
||||
├── public/
|
||||
├── src/
|
||||
│ └── pages/
|
||||
│ └── index.astro
|
||||
└── package.json
|
||||
```
|
||||
|
||||
Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
|
||||
|
||||
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
|
||||
|
||||
Any static assets, like images, can be placed in the `public/` directory.
|
||||
|
||||
## 🧞 Commands
|
||||
|
||||
All commands are run from the root of the project, from a terminal:
|
||||
|
||||
| Command | Action |
|
||||
| :------------------------ | :----------------------------------------------- |
|
||||
| `npm install` | Installs dependencies |
|
||||
| `npm run dev` | Starts local dev server at `localhost:3000` |
|
||||
| `npm run build` | Build your production site to `./dist/` |
|
||||
| `npm run preview` | Preview your build locally, before deploying |
|
||||
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
|
||||
| `npm run astro -- --help` | Get help using the Astro CLI |
|
||||
|
||||
## 👀 Want to learn more?
|
||||
|
||||
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).
|
9
.experiments/astro/astro.config.mjs
Normal file
9
.experiments/astro/astro.config.mjs
Normal file
|
@ -0,0 +1,9 @@
|
|||
import { defineConfig } from 'astro/config';
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
experimental: {
|
||||
assets: true
|
||||
},
|
||||
site: 'https://abdullahtarawneh.com'
|
||||
});
|
8723
.experiments/astro/package-lock.json
generated
Normal file
8723
.experiments/astro/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
15
.experiments/astro/package.json
Normal file
15
.experiments/astro/package.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"name": "",
|
||||
"type": "module",
|
||||
"version": "0.0.1",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^2.5.6"
|
||||
}
|
||||
}
|
43
.experiments/astro/src/components/Avatar.astro
Normal file
43
.experiments/astro/src/components/Avatar.astro
Normal file
|
@ -0,0 +1,43 @@
|
|||
---
|
||||
const { name } = Astro.props;
|
||||
|
||||
let avif = await Astro.glob(
|
||||
'/public/people/*/*.avif'
|
||||
).then(
|
||||
result => result.find(
|
||||
file => file.default.includes(name + '.avif')
|
||||
).default
|
||||
)
|
||||
|
||||
let webp = await Astro.glob(
|
||||
'/public/people/*/*.webp'
|
||||
).then(
|
||||
result => result.find(
|
||||
file => file.default.src.includes(name + '.webp')
|
||||
).default.src
|
||||
)
|
||||
|
||||
let jpg = await Astro.glob(
|
||||
'/public/people/*/*.jpg'
|
||||
).then(
|
||||
result => result.find(
|
||||
file => file.default.src.includes(name + '.jpg')
|
||||
)
|
||||
)
|
||||
|
||||
let png = await Astro.glob(
|
||||
'/public/people/*/*.png'
|
||||
).then(
|
||||
result => result.find(
|
||||
file => file.default.src.includes(name + '.png')
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
import { Debug } from 'astro/components';
|
||||
---
|
||||
<picture>
|
||||
<source srcset={avif} type="image/avif">
|
||||
<source srcset={webp} type="image/webp">
|
||||
<img src={png ? png : jpg} alt={name + "'s avatar"} width=48 height=48 class="avatar">
|
||||
</picture>
|
24
.experiments/astro/src/components/SEO.astro
Normal file
24
.experiments/astro/src/components/SEO.astro
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
const { title, siteTitle, description, image } = Astro.props;
|
||||
|
||||
let pageTitle = title ? title + ' | ' + siteTitle : siteTitle
|
||||
|
||||
---
|
||||
|
||||
<title>{pageTitle}</title>
|
||||
<meta property="og:title" itemprop="name" content={title ? title : siteTitle} />
|
||||
<meta name="application-name" property="og:site_name" content={siteTitle} />
|
||||
|
||||
{
|
||||
description &&
|
||||
<meta name="description" property="og:description" itemprop="description" content={description} />
|
||||
}
|
||||
|
||||
<base href={Astro.url.toString()} />
|
||||
<link rel="canonical" href={Astro.url.toString()} />
|
||||
<meta name="url" property="og:url" itemprop="url" content={Astro.url.toString()} />
|
||||
|
||||
{
|
||||
image &&
|
||||
<meta property="og:image" itemprop="image" content={image.src} />
|
||||
}
|
1
.experiments/astro/src/env.d.ts
vendored
Normal file
1
.experiments/astro/src/env.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/// <reference types="astro/client-image" />
|
36
.experiments/astro/src/layouts/Article.astro
Normal file
36
.experiments/astro/src/layouts/Article.astro
Normal file
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
import Page from '@layouts/Page.astro';
|
||||
const { frontmatter } = Astro.props;
|
||||
---
|
||||
|
||||
<Page title={frontmatter.title} description={frontmatter.summary} image={frontmatter.cover}>
|
||||
<article class="article">
|
||||
<header class="meta">
|
||||
<div class="container">
|
||||
{frontmatter.title && <h1>{frontmatter.title}</h1>}
|
||||
{frontmatter.summary && <p>{frontmatter.summary}</p>}
|
||||
{frontmatter.published && <time datetime="">{frontmatter.published}</time>}
|
||||
</div>
|
||||
</header>
|
||||
<section class="content">
|
||||
<div class="container">
|
||||
<slot />
|
||||
</div>
|
||||
</section>
|
||||
<footer class="footnotes">
|
||||
<div class="container">
|
||||
<h2>Footnotes</h2>
|
||||
<ol>
|
||||
<li>
|
||||
Some notes here.
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</footer>
|
||||
</article>
|
||||
<footer>
|
||||
<div class="container">
|
||||
<p>This is the end of the article. Maybe I will add some auxiliary stuff here later.</p>
|
||||
</div>
|
||||
</footer>
|
||||
</Page>
|
16
.experiments/astro/src/layouts/Page.astro
Normal file
16
.experiments/astro/src/layouts/Page.astro
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
import Skeleton from '@layouts/Skeleton.astro';
|
||||
const { title, description, image } = Astro.props;
|
||||
---
|
||||
|
||||
<Skeleton title={title} description={description} image={image}>
|
||||
<header>
|
||||
|
||||
</header>
|
||||
<main>
|
||||
<slot />
|
||||
</main>
|
||||
<footer>
|
||||
|
||||
</footer>
|
||||
</Skeleton>
|
36
.experiments/astro/src/layouts/Skeleton.astro
Normal file
36
.experiments/astro/src/layouts/Skeleton.astro
Normal file
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
const { title, description, image } = Astro.props;
|
||||
const siteTitle = 'Abdullah Tarawneh';
|
||||
import siteIcon from '/src/public/people/trwnh/trwnh.png';
|
||||
|
||||
import SEO from '../components/SEO.astro';
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<SEO
|
||||
title={title}
|
||||
siteTitle={siteTitle}
|
||||
description={description}
|
||||
image={image ? image : siteIcon}
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<slot />
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<style is:global>
|
||||
html {
|
||||
--container-max: 120rem;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-inline-size: var(--container-max);
|
||||
margin-inline: auto;
|
||||
}
|
||||
</style>
|
12
.experiments/astro/src/pages/index.astro
Normal file
12
.experiments/astro/src/pages/index.astro
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
import Page from '@layouts/Page.astro';
|
||||
---
|
||||
|
||||
<Page>
|
||||
<header class="hero">
|
||||
<div class="container">
|
||||
<h1>who am i</h1>
|
||||
<p>abdullah tarawneh is a power user. a problem solver. a thinker.</p>
|
||||
</div>
|
||||
</header>
|
||||
</Page>
|
16
.experiments/astro/src/pages/work/index.astro
Normal file
16
.experiments/astro/src/pages/work/index.astro
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
import Skeleton from '@layouts/Skeleton.astro';
|
||||
---
|
||||
|
||||
<Skeleton
|
||||
title="Work"
|
||||
description="Things I've done."
|
||||
>
|
||||
<main class="work">
|
||||
<header class="hero">
|
||||
<div class="container">
|
||||
<h1 class="">things i've done</h1>
|
||||
</div>
|
||||
</header>
|
||||
</main>
|
||||
</Skeleton>
|
461
.experiments/astro/src/pages/work/mastodon/index.astro
Normal file
461
.experiments/astro/src/pages/work/mastodon/index.astro
Normal file
|
@ -0,0 +1,461 @@
|
|||
---
|
||||
import Page from '@layouts/Page.astro';
|
||||
import Avatar from '@components/Avatar.astro';
|
||||
|
||||
const title = "Mastodon documentation"
|
||||
const summary = "I reorganized and rewrote the docs for an open-source project with millions of users."
|
||||
---
|
||||
|
||||
<Page
|
||||
title={title}
|
||||
description={summary}
|
||||
>
|
||||
<header class="page-header section">
|
||||
<div class="container">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 216.4144 232.00976">
|
||||
<path fill="#fff" d="M211.80734 139.0875c-3.18125 16.36625-28.4925 34.2775-57.5625 37.74875-15.15875 1.80875-30.08375 3.47125-45.99875 2.74125-26.0275-1.1925-46.565-6.2125-46.565-6.2125 0 2.53375.15625 4.94625.46875 7.2025 3.38375 25.68625 25.47 27.225 46.39125 27.9425 21.11625.7225 39.91875-5.20625 39.91875-5.20625l.8675 19.09s-14.77 7.93125-41.08125 9.39c-14.50875.7975-32.52375-.365-53.50625-5.91875C9.23234 213.82 1.40609 165.31125.20859 116.09125c-.365-14.61375-.14-28.39375-.14-39.91875 0-50.33 32.97625-65.0825 32.97625-65.0825C49.67234 3.45375 78.20359.2425 107.86484 0h.72875c29.66125.2425 58.21125 3.45375 74.8375 11.09 0 0 32.975 14.7525 32.975 65.0825 0 0 .41375 37.13375-4.59875 62.915"/>
|
||||
<path fill="#3088d4" d="M177.50984 80.077v60.94125h-24.14375v-59.15c0-12.46875-5.24625-18.7975-15.74-18.7975-11.6025 0-17.4175 7.5075-17.4175 22.3525v32.37625H96.20734V85.42325c0-14.845-5.81625-22.3525-17.41875-22.3525-10.49375 0-15.74 6.32875-15.74 18.7975v59.15H38.90484V80.077c0-12.455 3.17125-22.3525 9.54125-29.675 6.56875-7.3225 15.17125-11.07625 25.85-11.07625 12.355 0 21.71125 4.74875 27.8975 14.2475l6.01375 10.08125 6.015-10.08125c6.185-9.49875 15.54125-14.2475 27.8975-14.2475 10.6775 0 19.28 3.75375 25.85 11.07625 6.36875 7.3225 9.54 17.22 9.54 29.675"/>
|
||||
</svg>
|
||||
<h1 class="title">I reorganized and rewrote the docs for an open-source project with millions of users.
|
||||
</h1>
|
||||
</div>
|
||||
</header>
|
||||
<section class="section" id="about">
|
||||
<div class="container">
|
||||
<h2 class="title">About the client</h2>
|
||||
<p><a href="https://joinmastodon.org" target="_blank">Mastodon</a> is a free and libre open-source software
|
||||
project that aims to let anyone easily host their own Twitter-like social media website. Started in 2016,
|
||||
the project has since grown due to various migrations, usually spurred by the failures and mistakes of the
|
||||
dominant, centralized social platforms.</p>
|
||||
<p>I have been using Mastodon since November 2016 -- you can <a href="https://mastodon.social/@trwnh"
|
||||
target="_blank">view my profile at mastodon.social/@trwnh</a> if you would like -- and I have grown to
|
||||
quite enjoy my experience there over the years. It reminds me a lot of the early days of Twitter... before
|
||||
<a href="/blog/twitter-not-social" target="_blank">they gave up on being a social network</a>, anyway.</p>
|
||||
<p>One of the things I love most about the culture on there is that it's very much focused on people rather
|
||||
than content or engagement. This significantly lowers social friction and makes everyone more or less
|
||||
approachable. So approachable, in fact, that I could casually reply to the creator and founder of Mastodon
|
||||
and get this gig out of nowhere:</p>
|
||||
|
||||
<div class="conversation">
|
||||
<!--
|
||||
<iframe src="https://mastodon.social/@Gargron/102640868158739158/embed" class="mastodon-embed"
|
||||
style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe>
|
||||
<script src="https://mastodon.social/embed.js" async="async"></script>
|
||||
|
||||
<iframe src="https://mastodon.social/@trwnh/102640952580526770/embed" class="mastodon-embed"
|
||||
style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe>
|
||||
<script src="https://mastodon.social/embed.js" async="async"></script>
|
||||
|
||||
<iframe src="https://mastodon.social/@Gargron/102641022258942590/embed" class="mastodon-embed"
|
||||
style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe>
|
||||
<script src="https://mastodon.social/embed.js" async="async"></script>
|
||||
-->
|
||||
|
||||
<Avatar name="trwnh"/>
|
||||
|
||||
<article style="width: 100%; max-width: 80ch; padding: 1em; background: #313543; color: #fff; border-bottom: 1px solid #393f4f;">
|
||||
<a target="_blank" href="https://mastodon.social/@Gargron" style="color: inherit; text-decoration: none; display: flex; margin-bottom: 15px;">
|
||||
<div style="border-radius: 4px; overflow: hidden; margin-right: 10px; width: 48px; height: 48px;">
|
||||
<Avatar name="gargron"/>
|
||||
</div>
|
||||
<div style="line-height: 1.5">
|
||||
<div style="font-weight: 500;">Eugen</div>
|
||||
<div style="color: #d9e1e8">@Gargron@mastodon.social</div>
|
||||
</div>
|
||||
</a>
|
||||
<div style="font-size: 19px; line-height: 24px;">
|
||||
<p style="margin-bottom: 25px;">
|
||||
I really want the Mastodon documentation to have a good structure rather than just all information thrown together in a pile. I'm not sure how though.
|
||||
</p>
|
||||
<a target="_blank" href="https://mastodon.social/@Gargron/102640868158739158" style="font-size: 14px; line-height: 18px; margin-top: 25px; color: #606984; display: block;">August 18, 2019, 7:42 PM</a>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article style="width: 100%; max-width: 80ch; padding: 1em; background: #313543; color: #fff; border-bottom: 1px solid #393f4f;">
|
||||
<a target="_blank" href="https://mastodon.social/@trwnh" style="color: inherit; text-decoration: none; display: flex; margin-bottom: 15px;">
|
||||
<div style="border-radius: 4px; overflow: hidden; margin-right: 10px; width: 48px; height: 48px;">
|
||||
<Avatar name="trwnh"/>
|
||||
</div>
|
||||
<div style="line-height: 1.5">
|
||||
<div style="font-weight: 500;">infinite love ⴳ</div>
|
||||
<div style="color: #d9e1e8">@trwnh@mastodon.social</div>
|
||||
</div>
|
||||
</a>
|
||||
<div style="font-size: 19px; line-height: 24px;">
|
||||
<p style="margin-bottom: 25px;">
|
||||
<a style="color: #d9e1e8" href="https://mastodon.social/@Gargron">@Gargron</a> i'd be willing to take a stab at it, having just cleaned up a lot of docs for pixelfed. it's still incomplete but it's much less messy than it used to be. i would need to sit down and try to map it out with you first, though.
|
||||
</p>
|
||||
<a target="_blank" href="https://mastodon.social/@trwnh/102640952580526770" style="font-size: 14px; line-height: 18px; margin-top: 25px; color: #606984; display: block;">August 18, 2019, 8:04 PM</a>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article style="width: 100%; max-width: 80ch; padding: 1em; background: #313543; color: #fff;">
|
||||
<a target="_blank" href="https://mastodon.social/@Gargron" style="color: inherit; text-decoration: none; display: flex; margin-bottom: 15px;">
|
||||
<div style="border-radius: 4px; overflow: hidden; margin-right: 10px; width: 48px; height: 48px;">
|
||||
<Avatar name="gargron"/>
|
||||
</div>
|
||||
<div style="line-height: 1.5">
|
||||
<div style="font-weight: 500;">Eugen</div>
|
||||
<div style="color: #d9e1e8">@Gargron@mastodon.social</div>
|
||||
</div>
|
||||
</a>
|
||||
<div style="font-size: 19px; line-height: 24px;">
|
||||
<p style="margin-bottom: 25px;">
|
||||
<a style="color: #d9e1e8" href="https://mastodon.social/@trwnh">@trwnh</a> Okay, let's do it. Paid, of course.
|
||||
</p>
|
||||
<a target="_blank" href="https://mastodon.social/@Gargron/102641022258942590" style="font-size: 14px; line-height: 18px; margin-top: 25px; color: #606984; display: block;">August 18, 2019, 8:21 PM</a>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
|
||||
<p>So... yeah, that's how this all happened.</p>
|
||||
</div>
|
||||
</section>
|
||||
<!--
|
||||
<section class="section" id="overview">
|
||||
<div class="container">
|
||||
<h2 class="title">So, what did all this entail?</h2>
|
||||
<section id="ia">
|
||||
<h3 class="subtitle">Information Architecture</h3>
|
||||
<p></p>
|
||||
</section>
|
||||
<section id="writing">
|
||||
<h3 class="subtitle">Documentation Writing</h3>
|
||||
<p></p>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
-->
|
||||
<section class="section" id="process">
|
||||
<div class="container">
|
||||
<h2 class="title">Let me show you what I did.</h2>
|
||||
<section id="user">
|
||||
<h3 class="subtitle">A brand new user guide</h3>
|
||||
<div class="structure">
|
||||
<div class="old card">
|
||||
<h4 class="card__head">User guide</h4>
|
||||
<ul class="card__body">
|
||||
<li>Basics</li>
|
||||
<li>Decentralization</li>
|
||||
<li>Privacy</li>
|
||||
<li>Moderation</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>Many of the pages in the old user guide did not actually deal with teaching people how to use Mastodon,
|
||||
so the content within them was reworked into a more general landing page that explained the benefits of
|
||||
Mastodon. This new landing page explains the basics of microblogging and federation, before moving into
|
||||
the practical implications that these decisions have for user freedom, privacy, and safety. Select
|
||||
quotations were included from previously published promotional material on the Mastodon blog.</p>
|
||||
|
||||
<div class="structure">
|
||||
<div class="new card">
|
||||
<h4 class="card__head">What is Mastodon?</h4>
|
||||
<ul class="card__body">
|
||||
<li>What is a microblog?</li>
|
||||
<li>What is federation?</li>
|
||||
<li>What is ActivityPub?</li>
|
||||
<li>Practical implications</li>
|
||||
<ul>
|
||||
<li>Choice of server provider and policy</li>
|
||||
<li>Funding and monetization</li>
|
||||
<li>Interoperability between different software</li>
|
||||
<li>Free/libre software</li>
|
||||
</ul>
|
||||
<li>Choose your path</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>After this, an entirely new user guide was outlined from scratch, covering the user life cycle from start
|
||||
to end (or new beginning).</p>
|
||||
|
||||
<div class="structure">
|
||||
<div class="new card">
|
||||
<h4 class="card__head">Using Mastodon</h4>
|
||||
<ul class="card__body">
|
||||
<li>Signing up for a new account</li>
|
||||
<li>Setting up your profile</li>
|
||||
<li>Posting toots</li>
|
||||
<li>Using the network features</li>
|
||||
<li>Dealing with unwanted content</li>
|
||||
<li>Promoting yourself and others</li>
|
||||
<li>Set your preferences</li>
|
||||
<li>More settings</li>
|
||||
<li>Using Mastodon externally</li>
|
||||
<li>Moving or leaving accounts</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
With the information architecture phase done, writing the user guide was a straightforward task.
|
||||
Explanations of each feature and setting were added to the appropriate pages, as well as screenshots
|
||||
demonstrating proper usage. Tip boxes are included throughout in order to highlight important points.
|
||||
</p>
|
||||
|
||||
</section>
|
||||
<section id="admin">
|
||||
<h3 class="subtitle">A more expressive admin guide</h3>
|
||||
<div class="structure">
|
||||
<div class="old card">
|
||||
<h4 class="card__head">Admin guide</h4>
|
||||
<ul class="card__body">
|
||||
<li>Installation</li>
|
||||
<li>Configuration</li>
|
||||
<li>Post-installation steps</li>
|
||||
<li>Scaling up</li>
|
||||
<li>Optional features</li>
|
||||
<li>Upgrading to a new release</li>
|
||||
<li>Migrating servers</li>
|
||||
<li>Troubleshooting</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="new card">
|
||||
<h4 class="card__head">Running Mastodon</h4>
|
||||
<ul class="card__body">
|
||||
<li>Preparing your machine</li>
|
||||
<li>Installing from source</li>
|
||||
<li>Configuring your environment</li>
|
||||
<li>Installing optional features</li>
|
||||
<li>Setting up your new instance</li>
|
||||
<li>Using the admin CLI</li>
|
||||
<li>Upgrading to a new release</li>
|
||||
<li>Backing up your server</li>
|
||||
<li>Migrating to a new machine</li>
|
||||
<li>Scaling up your server</li>
|
||||
<li>Moderation actions</li>
|
||||
<li>Troubleshooting errors</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>This section was mostly straightened out already, but could still use some improvements. A
|
||||
pre-installation page was split out from the old installation page. Backup instructions were moved out of
|
||||
"Optional features" and into a dedicated page. Pages were added for moderation and CLI usage.</p>
|
||||
</section>
|
||||
<section id="dev">
|
||||
<h3 class="subtitle">Giving developers more complete documentation</h3>
|
||||
<div class="structure">
|
||||
<div class="old card">
|
||||
<h4 class="card__head">Development guide</h4>
|
||||
<ul class="card__body">
|
||||
<li>Overview</li>
|
||||
<li>ActivityPub compliance</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>The old "overview" page contained a mixture of information about setting up a dev environment, libraries
|
||||
used, code structure, and useful commands to run for testing.</p>
|
||||
<p>The first step in cleaning this up was to split this page into multiple discrete pages, each with its own
|
||||
purpose. As "development" is a vague term, two new sections were created to replace it: one for client
|
||||
development (merged with API), and one for server development. The old "overview" pages were nested under
|
||||
the server development section, as they dealt primarily with server development.</p>
|
||||
<p>Next, "ActivityPub compliance" was moved into a dedicated section for spec compliance, and pages were
|
||||
created for documenting how various significant specifications were used and implemented within Mastodon.
|
||||
</p>
|
||||
<div class="structure">
|
||||
<div class="new card">
|
||||
<h4 class="card__head">Contributing to Mastodon</h4>
|
||||
<ul class="card__body">
|
||||
<li>Technical overview</li>
|
||||
<li>Setting up a dev environment</li>
|
||||
<li>Code structure</li>
|
||||
<li>Routes</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="new card">
|
||||
<h4 class="card__head">Spec compliance</h4>
|
||||
<ul class="card__body">
|
||||
<li>ActivityPub</li>
|
||||
<li>WebFinger</li>
|
||||
<li>Security</li>
|
||||
<li>Microformats</li>
|
||||
<li>OAuth</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
While the basics of ActivityPub federation were already written, the format of the old document simply
|
||||
pointed toward the server-to-server spec, as well as HTTP Signatures and Linked Data Signatures (with no
|
||||
real explanation beyond that). Therefore, I rewrote this page into multiple separate pages, each
|
||||
detailing the spec in question. The "ActivityPub" page now covers status federation and profile
|
||||
federation, the properties and types used in each, HTML payload sanitization, namespacing, and extensions
|
||||
(with sample payloads). "WebFinger" explains what, why, and how to use WebFinger for actor URI
|
||||
resolution. "Security" explains HTTP and LD signatures. "Microformats" explains the use of Microformats
|
||||
2.0 and how they may be parsed, and "OAuth" covers the endpoints and flows implemented within Mastodon
|
||||
for obtaining a token.
|
||||
</p>
|
||||
</section>
|
||||
<section id="api">
|
||||
<h3 class="subtitle">Helping client apps use the API</h3>
|
||||
<div class="structure">
|
||||
<div class="old card">
|
||||
<h4 class="card__head">API Overview</h4>
|
||||
<ul class="card__body">
|
||||
<li>Guidelines</li>
|
||||
<li>Libraries</li>
|
||||
<li>Authentication</li>
|
||||
<li>Permissions</li>
|
||||
<li>Entities</li>
|
||||
<li>Parameters</li>
|
||||
<li>Streaming API</li>
|
||||
<li>Web Push API</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="old card">
|
||||
<h4 class="card__head">REST API</h4>
|
||||
<ul class="card__body">
|
||||
<li>Accounts</li>
|
||||
<li>Apps</li>
|
||||
<li>...</li>
|
||||
<li>Timelines</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>This was the majority of the work. Mastodon's REST API documentation was really messy, and it showed.
|
||||
Finding something generally entailed flipping back and forth between multiple pages and searching within
|
||||
them, and each page was very long.</p>
|
||||
<p>The first step was to promote methods and entities into their own sections. The "Entities" page was split
|
||||
into multiple pages, one per entity, and alphabetized. Tables were converted into headings, to allow for
|
||||
providing more information about each field.</p>
|
||||
<p>Methods were grouped by namespace rather than by feature-set, and with one level of nesting depending on
|
||||
whether the methods within pertained to accounts, statuses, timelines, notifications, etc. The pages for
|
||||
the Streaming and Web Push APIs were moved out of the overview section and into the methods section.</p>
|
||||
<p>Finally, a new section was created for a client development guide. The guide would cover the basics of
|
||||
REST API, how to make requests, how responses are structured, and authentication/authorization.</p>
|
||||
<div class="structure new">
|
||||
<div class="new card">
|
||||
<h4 class="card__head">Developing Mastodon Apps</h4>
|
||||
<ul class="card__body">
|
||||
<li>Getting started with the API</li>
|
||||
<li>Playing with public data</li>
|
||||
<li>Obtaining client app access</li>
|
||||
<li>Logging in with an account</li>
|
||||
<li>Guidelines and best practices</li>
|
||||
<li>Libraries and implementations</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="new card">
|
||||
<h4 class="card__head">REST API</h4>
|
||||
<ul class="card__body">
|
||||
<li>OAuth Scopes</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="new card methods">
|
||||
<h4 class="card__head">API Methods</h4>
|
||||
<ul class="card__body">
|
||||
<li>apps</li>
|
||||
<ul>
|
||||
<li>oauth</li>
|
||||
</ul>
|
||||
<li>accounts</li>
|
||||
<ul>
|
||||
<li>bookmarks</li>
|
||||
<li>favourites</li>
|
||||
<li>mutes</li>
|
||||
<li>...</li>
|
||||
</ul>
|
||||
<li>statuses</li>
|
||||
<ul>
|
||||
<li>media</li>
|
||||
<li>polls</li>
|
||||
<li>scheduled_statuses</li>
|
||||
</ul>
|
||||
<li>timelines</li>
|
||||
<ul>
|
||||
<li>conversations</li>
|
||||
<li>lists</li>
|
||||
<li>markers</li>
|
||||
<li>streaming</li>
|
||||
</ul>
|
||||
<li>notifications</li>
|
||||
<ul>
|
||||
<li>push</li>
|
||||
</ul>
|
||||
<li>search</li>
|
||||
<li>instance</li>
|
||||
<ul>
|
||||
<li>trends</li>
|
||||
<li>directory</li>
|
||||
<li>custom_emoji</li>
|
||||
</ul>
|
||||
<li>admin</li>
|
||||
<li>proofs</li>
|
||||
<li>oembed</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="new card entities">
|
||||
<h4 class="card__head">API Entities</h4>
|
||||
<ul class="card__body">
|
||||
<li>Account</li>
|
||||
<li>Activity</li>
|
||||
<li>Admin::Account</li>
|
||||
<li>Admin::Report</li>
|
||||
<li>...</li>
|
||||
<li>Status</li>
|
||||
<li>Tag</li>
|
||||
<li>Token</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>Writing this section taught me a lot about the basics of REST APIs, understanding HTTP requests and
|
||||
responses, providing parameters, and how OAuth works -- all information that I included in the client
|
||||
development guide.</p>
|
||||
<p>While documenting the REST API, I had to consult the Ruby on Rails routing config file extensively, so I
|
||||
took it as an opportunity to write a page about how routes work and how to read the routes file.</p>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
<section class="section" id="outcomes">
|
||||
<div class="container">
|
||||
<h2 class="title">The results were very much appreciated.</h2>
|
||||
<blockquote class="praise">
|
||||
bless you for being here to work on the docs btw it's a big relief
|
||||
</blockquote>
|
||||
<div class="attribution">
|
||||
<Avatar name="gargron"/>
|
||||
<cite><em>Eugen "Gargron" Rochko</em><br>Mastodon founder<br>& lead developer</cite>
|
||||
</div>
|
||||
<section class="benefit one">
|
||||
<h3 class="subtitle">There was much less missing information.</h3>
|
||||
<p>During the information architecture phase, a new skeleton was created as a proposed alternative structure.
|
||||
This process made the existing gaps in the old structure more obvious, and therefore those gaps could be
|
||||
filled during the technical writing phase.</p>
|
||||
</section>
|
||||
<section class="benefit two">
|
||||
<h3 class="subtitle">It was also easier to make additions in an appropriate place.</h3>
|
||||
<p>For example, the following pages were added after completion:</p>
|
||||
<ul>
|
||||
<li>"Rate limits" was added under "REST API", describing how to deal with rate limits on requests made to
|
||||
the REST API.</li>
|
||||
<li>"Bug bounties and responsible disclosure" was added under "Contributing to Mastodon", describing where
|
||||
serious issues should be reported if found.</li>
|
||||
<li>"Running your own server" was added under "Using Mastodon", describing the reasons why a user might want
|
||||
to run their own server and linking to the "Running Mastodon" section.</li>
|
||||
</ul>
|
||||
<p>The clear structure left in place by my information architecture work meant that it was almost immediately
|
||||
clear where to add these pages.</p>
|
||||
</section>
|
||||
<section class="benefit three">
|
||||
<h3 class="subtitle">The quality and formatting of the docs was vastly improved.</h3>
|
||||
<p>Methods now include the HTTP verb, endpoint, description, return type, OAuth scope, version history, request
|
||||
parameters, and sample response code and payload.</p>
|
||||
<p>Entities now include example payloads, as well as each attribute and its description, type, and version
|
||||
history.</p>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
<hr class="separator">
|
||||
<section class="section" id="cta">
|
||||
<div class="container">
|
||||
<h2 class="title">Maybe you'd appreciate me doing something similar for you?</h2>
|
||||
<img src="/images/cover/mastodocs.jpg" alt="Mastodon documentation landing page" width=1280 height=720>
|
||||
<div class="buttons">
|
||||
<a href="https://docs.joinmastodon.org" class="demo secondary button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" width=16><path fill="currentColor" d="M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z"/></svg>Check out the live
|
||||
version</a>
|
||||
<a href="mailto:a@trwnh.com" class="email primary button"><svg version="1.1" viewBox="0 -256 1850 1850" width=16 height=16 xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <g transform="matrix(1 0 0 -1 30.373 1252.3)"> <path d="m1792 826v-794q0-66-47-113t-113-47h-1472q-66 0-113 47t-47 113v794q44-49 101-87 362-246 497-345 57-42 92.5-65.5t94.5-48 110-24.5h2q51 0 110 24.5t94.5 48 92.5 65.5q170 123 498 345 57 39 100 87zm0 294q0-79-49-151t-122-123q-376-261-468-325-10-7-42.5-30.5t-54-38-52-32.5-57.5-27-50-9h-2q-23 0-50 9t-57.5 27-52 32.5-54 38-42.5 30.5q-91 64-262 182.5t-205 142.5q-62 42-117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5-47t47.5-113z" fill="currentColor"/> </g> </svg>Email me a proposal</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</Page>
|
11
.experiments/astro/tsconfig.json
Normal file
11
.experiments/astro/tsconfig.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"extends": "astro/tsconfigs/base",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@layouts/*": ["src/layouts/*"],
|
||||
"@components/*": ["src/components/*"],
|
||||
"@assets/*": ["src/assets/*"]
|
||||
}
|
||||
}
|
||||
}
|
13
.experiments/sveltekit/.eslintignore
Normal file
13
.experiments/sveltekit/.eslintignore
Normal file
|
@ -0,0 +1,13 @@
|
|||
.DS_Store
|
||||
node_modules
|
||||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Ignore files for PNPM, NPM and YARN
|
||||
pnpm-lock.yaml
|
||||
package-lock.json
|
||||
yarn.lock
|
30
.experiments/sveltekit/.eslintrc.cjs
Normal file
30
.experiments/sveltekit/.eslintrc.cjs
Normal file
|
@ -0,0 +1,30 @@
|
|||
module.exports = {
|
||||
root: true,
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'plugin:svelte/recommended',
|
||||
'prettier'
|
||||
],
|
||||
parser: '@typescript-eslint/parser',
|
||||
plugins: ['@typescript-eslint'],
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
ecmaVersion: 2020,
|
||||
extraFileExtensions: ['.svelte']
|
||||
},
|
||||
env: {
|
||||
browser: true,
|
||||
es2017: true,
|
||||
node: true
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
files: ['*.svelte'],
|
||||
parser: 'svelte-eslint-parser',
|
||||
parserOptions: {
|
||||
parser: '@typescript-eslint/parser'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
10
.experiments/sveltekit/.gitignore
vendored
Normal file
10
.experiments/sveltekit/.gitignore
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
.DS_Store
|
||||
node_modules
|
||||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
vite.config.js.timestamp-*
|
||||
vite.config.ts.timestamp-*
|
2
.experiments/sveltekit/.npmrc
Normal file
2
.experiments/sveltekit/.npmrc
Normal file
|
@ -0,0 +1,2 @@
|
|||
engine-strict=true
|
||||
resolution-mode=highest
|
13
.experiments/sveltekit/.prettierignore
Normal file
13
.experiments/sveltekit/.prettierignore
Normal file
|
@ -0,0 +1,13 @@
|
|||
.DS_Store
|
||||
node_modules
|
||||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Ignore files for PNPM, NPM and YARN
|
||||
pnpm-lock.yaml
|
||||
package-lock.json
|
||||
yarn.lock
|
9
.experiments/sveltekit/.prettierrc
Normal file
9
.experiments/sveltekit/.prettierrc
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"useTabs": true,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "none",
|
||||
"printWidth": 100,
|
||||
"plugins": ["prettier-plugin-svelte"],
|
||||
"pluginSearchDirs": ["."],
|
||||
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
|
||||
}
|
38
.experiments/sveltekit/README.md
Normal file
38
.experiments/sveltekit/README.md
Normal file
|
@ -0,0 +1,38 @@
|
|||
# create-svelte
|
||||
|
||||
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
|
||||
|
||||
## Creating a project
|
||||
|
||||
If you're seeing this, you've probably already done this step. Congrats!
|
||||
|
||||
```bash
|
||||
# create a new project in the current directory
|
||||
npm create svelte@latest
|
||||
|
||||
# create a new project in my-app
|
||||
npm create svelte@latest my-app
|
||||
```
|
||||
|
||||
## Developing
|
||||
|
||||
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
|
||||
# or start the server and open the app in a new browser tab
|
||||
npm run dev -- --open
|
||||
```
|
||||
|
||||
## Building
|
||||
|
||||
To create a production version of your app:
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
||||
You can preview the production build with `npm run preview`.
|
||||
|
||||
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
|
4949
.experiments/sveltekit/package-lock.json
generated
Normal file
4949
.experiments/sveltekit/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
32
.experiments/sveltekit/package.json
Normal file
32
.experiments/sveltekit/package.json
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"name": "sveltekit",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||
"lint": "prettier --plugin-search-dir . --check . && eslint .",
|
||||
"format": "prettier --plugin-search-dir . --write ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/adapter-auto": "^2.0.0",
|
||||
"@sveltejs/kit": "^1.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
||||
"@typescript-eslint/parser": "^5.45.0",
|
||||
"eslint": "^8.28.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-svelte": "^2.26.0",
|
||||
"prettier": "^2.8.0",
|
||||
"prettier-plugin-svelte": "^2.8.1",
|
||||
"sass": "^1.63.4",
|
||||
"svelte": "^3.54.0",
|
||||
"svelte-check": "^3.0.1",
|
||||
"tslib": "^2.4.1",
|
||||
"typescript": "^5.0.0",
|
||||
"vite": "^4.3.0"
|
||||
},
|
||||
"type": "module"
|
||||
}
|
12
.experiments/sveltekit/src/app.d.ts
vendored
Normal file
12
.experiments/sveltekit/src/app.d.ts
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
// See https://kit.svelte.dev/docs/types#app
|
||||
// for information about these interfaces
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
// interface Locals {}
|
||||
// interface PageData {}
|
||||
// interface Platform {}
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
12
.experiments/sveltekit/src/app.html
Normal file
12
.experiments/sveltekit/src/app.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
%sveltekit.head%
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover">
|
||||
%sveltekit.body%
|
||||
</body>
|
||||
</html>
|
80
.experiments/sveltekit/src/routes/+layout.svelte
Normal file
80
.experiments/sveltekit/src/routes/+layout.svelte
Normal file
|
@ -0,0 +1,80 @@
|
|||
<header class="site-header">
|
||||
<a href="/"
|
||||
><img src="/favicon.png" width="16" height="16" alt="icon" class="site-masthead__icon" /></a
|
||||
>
|
||||
<span class="site-masthead__title">Abdullah Tarawneh</span>
|
||||
</header>
|
||||
<nav class="site-nav">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="/" class="site-nav__link">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
class="site-nav__link__icon"
|
||||
width="1em"
|
||||
height="1em"
|
||||
viewBox="0 0 20 20"
|
||||
fill="currentColor"
|
||||
>
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-5.5-2.5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zM10 12a5.99 5.99 0 00-4.793 2.39A6.483 6.483 0 0010 16.5a6.483 6.483 0 004.793-2.11A5.99 5.99 0 0010 12z"
|
||||
clip-rule="evenodd"
|
||||
/>
|
||||
</svg>
|
||||
<span class="text">Me</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/work" class="site-nav__link">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
class="site-nav__link__icon"
|
||||
width="1em"
|
||||
height="1em"
|
||||
viewBox="0 0 20 20"
|
||||
fill="currentColor"
|
||||
>
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
d="M6 3.75A2.75 2.75 0 018.75 1h2.5A2.75 2.75 0 0114 3.75v.443c.572.055 1.14.122 1.706.2C17.053 4.582 18 5.75 18 7.07v3.469c0 1.126-.694 2.191-1.83 2.54-1.952.599-4.024.921-6.17.921s-4.219-.322-6.17-.921C2.694 12.73 2 11.665 2 10.539V7.07c0-1.321.947-2.489 2.294-2.676A41.047 41.047 0 016 4.193V3.75zm6.5 0v.325a41.622 41.622 0 00-5 0V3.75c0-.69.56-1.25 1.25-1.25h2.5c.69 0 1.25.56 1.25 1.25zM10 10a1 1 0 00-1 1v.01a1 1 0 001 1h.01a1 1 0 001-1V11a1 1 0 00-1-1H10z"
|
||||
clip-rule="evenodd"
|
||||
/>
|
||||
<path
|
||||
d="M3 15.055v-.684c.126.053.255.1.39.142 2.092.642 4.313.987 6.61.987 2.297 0 4.518-.345 6.61-.987.135-.041.264-.089.39-.142v.684c0 1.347-.985 2.53-2.363 2.686a41.454 41.454 0 01-9.274 0C3.985 17.585 3 16.402 3 15.055z"
|
||||
/>
|
||||
</svg>
|
||||
<span>Work</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/code" class="site-nav__link">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
class="site-nav__link__icon"
|
||||
width="1em"
|
||||
height="1em"
|
||||
viewBox="0 0 20 20"
|
||||
fill="currentColor"
|
||||
>
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
d="M6.28 5.22a.75.75 0 010 1.06L2.56 10l3.72 3.72a.75.75 0 01-1.06 1.06L.97 10.53a.75.75 0 010-1.06l4.25-4.25a.75.75 0 011.06 0zm7.44 0a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L17.44 10l-3.72-3.72a.75.75 0 010-1.06zM11.377 2.011a.75.75 0 01.612.867l-2.5 14.5a.75.75 0 01-1.478-.255l2.5-14.5a.75.75 0 01.866-.612z"
|
||||
clip-rule="evenodd"
|
||||
/>
|
||||
</svg>
|
||||
|
||||
<span>Code</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<slot />
|
||||
<footer class="site-footer">
|
||||
</footer>
|
||||
|
||||
<style global>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
14
.experiments/sveltekit/src/routes/+page.svelte
Normal file
14
.experiments/sveltekit/src/routes/+page.svelte
Normal file
|
@ -0,0 +1,14 @@
|
|||
<main>
|
||||
<h1>Abdullah Tarawneh</h1>
|
||||
<aside><p>(from abdullahtarawneh.com, the free website)</p></aside>
|
||||
<p><span class="subject">Abdullah Tarawneh</span>, known more commonly online as <span class="subject">a</span> or <span class="subject">trwnh</span>, is a Jordanian-American technologist, .</p>
|
||||
<h2>Notable work</h2>
|
||||
<h3>Mastodon documentation</h3>
|
||||
<p>In late 2019, they were contracted to <a href="/work/mastodon">revamp and rewrite the documentation</a> for the Mastodon project.</p>
|
||||
</main>
|
||||
|
||||
<style global>
|
||||
.subject {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
574
.experiments/sveltekit/src/routes/work/mastodon/+page.svelte
Normal file
574
.experiments/sveltekit/src/routes/work/mastodon/+page.svelte
Normal file
|
@ -0,0 +1,574 @@
|
|||
<main>
|
||||
<header class="page-header section">
|
||||
<div class="container">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 216.4144 232.00976"
|
||||
>
|
||||
<path
|
||||
fill="#3088d4"
|
||||
d="M211.80734 139.0875c-3.18125 16.36625-28.4925 34.2775-57.5625 37.74875-15.15875 1.80875-30.08375 3.47125-45.99875 2.74125-26.0275-1.1925-46.565-6.2125-46.565-6.2125 0 2.53375.15625 4.94625.46875 7.2025 3.38375 25.68625 25.47 27.225 46.39125 27.9425 21.11625.7225 39.91875-5.20625 39.91875-5.20625l.8675 19.09s-14.77 7.93125-41.08125 9.39c-14.50875.7975-32.52375-.365-53.50625-5.91875C9.23234 213.82 1.40609 165.31125.20859 116.09125c-.365-14.61375-.14-28.39375-.14-39.91875 0-50.33 32.97625-65.0825 32.97625-65.0825C49.67234 3.45375 78.20359.2425 107.86484 0h.72875c29.66125.2425 58.21125 3.45375 74.8375 11.09 0 0 32.975 14.7525 32.975 65.0825 0 0 .41375 37.13375-4.59875 62.915"
|
||||
/>
|
||||
<path
|
||||
fill="#fff"
|
||||
d="M177.50984 80.077v60.94125h-24.14375v-59.15c0-12.46875-5.24625-18.7975-15.74-18.7975-11.6025 0-17.4175 7.5075-17.4175 22.3525v32.37625H96.20734V85.42325c0-14.845-5.81625-22.3525-17.41875-22.3525-10.49375 0-15.74 6.32875-15.74 18.7975v59.15H38.90484V80.077c0-12.455 3.17125-22.3525 9.54125-29.675 6.56875-7.3225 15.17125-11.07625 25.85-11.07625 12.355 0 21.71125 4.74875 27.8975 14.2475l6.01375 10.08125 6.015-10.08125c6.185-9.49875 15.54125-14.2475 27.8975-14.2475 10.6775 0 19.28 3.75375 25.85 11.07625 6.36875 7.3225 9.54 17.22 9.54 29.675"
|
||||
/>
|
||||
</svg>
|
||||
<h1 class="title">
|
||||
I reorganized and rewrote the docs for an open-source project with millions of users.
|
||||
</h1>
|
||||
</div>
|
||||
</header>
|
||||
<section class="section" id="about">
|
||||
<div class="container">
|
||||
<h2 class="title">About the client</h2>
|
||||
<p>
|
||||
<a href="https://joinmastodon.org" target="_blank">Mastodon</a> is a free and libre open-source
|
||||
software project that aims to let anyone easily host their own Twitter-like social media website.
|
||||
Started in 2016, the project has since grown due to various migrations, usually spurred by the
|
||||
failures and mistakes of the dominant, centralized social platforms.
|
||||
</p>
|
||||
<p>
|
||||
I have been using Mastodon since November 2016 -- you can <a
|
||||
href="https://mastodon.social/@trwnh"
|
||||
target="_blank">view my profile at mastodon.social/@trwnh</a
|
||||
>
|
||||
if you would like -- and I have grown to quite enjoy my experience there over the years. It
|
||||
reminds me a lot of the early days of Twitter... before
|
||||
<a href="/blog/twitter-not-social" target="_blank">they gave up on being a social network</a
|
||||
>, anyway.
|
||||
</p>
|
||||
<p>
|
||||
One of the things I love most about the culture on there is that it's very much focused on
|
||||
people rather than content or engagement. This significantly lowers social friction and
|
||||
makes everyone more or less approachable. So approachable, in fact, that I could casually
|
||||
reply to the creator and founder of Mastodon and get this gig out of nowhere:
|
||||
</p>
|
||||
|
||||
<div class="conversation">
|
||||
<!--
|
||||
<iframe src="https://mastodon.social/@Gargron/102640868158739158/embed" class="mastodon-embed"
|
||||
style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe>
|
||||
<script src="https://mastodon.social/embed.js" async="async"></script>
|
||||
|
||||
<iframe src="https://mastodon.social/@trwnh/102640952580526770/embed" class="mastodon-embed"
|
||||
style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe>
|
||||
<script src="https://mastodon.social/embed.js" async="async"></script>
|
||||
|
||||
<iframe src="https://mastodon.social/@Gargron/102641022258942590/embed" class="mastodon-embed"
|
||||
style="max-width: 100%; border: 0" width="400" allowfullscreen="allowfullscreen"></iframe>
|
||||
<script src="https://mastodon.social/embed.js" async="async"></script>
|
||||
-->
|
||||
|
||||
<article
|
||||
style="width: 100%; max-width: 80ch; padding: 1em; background: #313543; color: #fff; border-bottom: 1px solid #393f4f;"
|
||||
>
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://mastodon.social/@Gargron"
|
||||
style="color: inherit; text-decoration: none; display: flex; margin-bottom: 15px;"
|
||||
>
|
||||
<div
|
||||
style="border-radius: 4px; overflow: hidden; margin-right: 10px; width: 48px; height: 48px;"
|
||||
>
|
||||
<!-- gargron -->
|
||||
</div>
|
||||
<div style="line-height: 1.5">
|
||||
<div style="font-weight: 500;">Eugen</div>
|
||||
<div style="color: #d9e1e8">@Gargron@mastodon.social</div>
|
||||
</div>
|
||||
</a>
|
||||
<div style="font-size: 19px; line-height: 24px;">
|
||||
<p style="margin-bottom: 25px;">
|
||||
I really want the Mastodon documentation to have a good structure rather than just all
|
||||
information thrown together in a pile. I'm not sure how though.
|
||||
</p>
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://mastodon.social/@Gargron/102640868158739158"
|
||||
style="font-size: 14px; line-height: 18px; margin-top: 25px; color: #606984; display: block;"
|
||||
>August 18, 2019, 7:42 PM</a
|
||||
>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article
|
||||
style="width: 100%; max-width: 80ch; padding: 1em; background: #313543; color: #fff; border-bottom: 1px solid #393f4f;"
|
||||
>
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://mastodon.social/@trwnh"
|
||||
style="color: inherit; text-decoration: none; display: flex; margin-bottom: 15px;"
|
||||
>
|
||||
<div
|
||||
style="border-radius: 4px; overflow: hidden; margin-right: 10px; width: 48px; height: 48px;"
|
||||
>
|
||||
<!-- trwnh -->
|
||||
</div>
|
||||
<div style="line-height: 1.5">
|
||||
<div style="font-weight: 500;">infinite love ⴳ</div>
|
||||
<div style="color: #d9e1e8">@trwnh@mastodon.social</div>
|
||||
</div>
|
||||
</a>
|
||||
<div style="font-size: 19px; line-height: 24px;">
|
||||
<p style="margin-bottom: 25px;">
|
||||
<a style="color: #d9e1e8" href="https://mastodon.social/@Gargron">@Gargron</a> i'd be willing
|
||||
to take a stab at it, having just cleaned up a lot of docs for pixelfed. it's still incomplete
|
||||
but it's much less messy than it used to be. i would need to sit down and try to map it
|
||||
out with you first, though.
|
||||
</p>
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://mastodon.social/@trwnh/102640952580526770"
|
||||
style="font-size: 14px; line-height: 18px; margin-top: 25px; color: #606984; display: block;"
|
||||
>August 18, 2019, 8:04 PM</a
|
||||
>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article
|
||||
style="width: 100%; max-width: 80ch; padding: 1em; background: #313543; color: #fff;"
|
||||
>
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://mastodon.social/@Gargron"
|
||||
style="color: inherit; text-decoration: none; display: flex; margin-bottom: 15px;"
|
||||
>
|
||||
<div
|
||||
style="border-radius: 4px; overflow: hidden; margin-right: 10px; width: 48px; height: 48px;"
|
||||
>
|
||||
<!-- gargron -->
|
||||
</div>
|
||||
<div style="line-height: 1.5">
|
||||
<div style="font-weight: 500;">Eugen</div>
|
||||
<div style="color: #d9e1e8">@Gargron@mastodon.social</div>
|
||||
</div>
|
||||
</a>
|
||||
<div style="font-size: 19px; line-height: 24px;">
|
||||
<p style="margin-bottom: 25px;">
|
||||
<a style="color: #d9e1e8" href="https://mastodon.social/@trwnh">@trwnh</a> Okay, let's
|
||||
do it. Paid, of course.
|
||||
</p>
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://mastodon.social/@Gargron/102641022258942590"
|
||||
style="font-size: 14px; line-height: 18px; margin-top: 25px; color: #606984; display: block;"
|
||||
>August 18, 2019, 8:21 PM</a
|
||||
>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
<p>So... yeah, that's how this all happened.</p>
|
||||
</div>
|
||||
</section>
|
||||
<!--
|
||||
<section class="section" id="overview">
|
||||
<div class="container">
|
||||
<h2 class="title">So, what did all this entail?</h2>
|
||||
<section id="ia">
|
||||
<h3 class="subtitle">Information Architecture</h3>
|
||||
<p></p>
|
||||
</section>
|
||||
<section id="writing">
|
||||
<h3 class="subtitle">Documentation Writing</h3>
|
||||
<p></p>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
-->
|
||||
<section class="section" id="process">
|
||||
<div class="container">
|
||||
<h2 class="title">Let me show you what I did.</h2>
|
||||
<section id="user">
|
||||
<h3 class="subtitle">A brand new user guide</h3>
|
||||
<div class="structure">
|
||||
<div class="old card">
|
||||
<h4 class="card__head">User guide</h4>
|
||||
<ul class="card__body">
|
||||
<li>Basics</li>
|
||||
<li>Decentralization</li>
|
||||
<li>Privacy</li>
|
||||
<li>Moderation</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
Many of the pages in the old user guide did not actually deal with teaching people how to
|
||||
use Mastodon, so the content within them was reworked into a more general landing page
|
||||
that explained the benefits of Mastodon. This new landing page explains the basics of
|
||||
microblogging and federation, before moving into the practical implications that these
|
||||
decisions have for user freedom, privacy, and safety. Select quotations were included from
|
||||
previously published promotional material on the Mastodon blog.
|
||||
</p>
|
||||
|
||||
<div class="structure">
|
||||
<div class="new card">
|
||||
<h4 class="card__head">What is Mastodon?</h4>
|
||||
<ul class="card__body">
|
||||
<li>What is a microblog?</li>
|
||||
<li>What is federation?</li>
|
||||
<li>What is ActivityPub?</li>
|
||||
<li>Practical implications</li>
|
||||
<ul>
|
||||
<li>Choice of server provider and policy</li>
|
||||
<li>Funding and monetization</li>
|
||||
<li>Interoperability between different software</li>
|
||||
<li>Free/libre software</li>
|
||||
</ul>
|
||||
<li>Choose your path</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
After this, an entirely new user guide was outlined from scratch, covering the user life
|
||||
cycle from start to end (or new beginning).
|
||||
</p>
|
||||
|
||||
<div class="structure">
|
||||
<div class="new card">
|
||||
<h4 class="card__head">Using Mastodon</h4>
|
||||
<ul class="card__body">
|
||||
<li>Signing up for a new account</li>
|
||||
<li>Setting up your profile</li>
|
||||
<li>Posting toots</li>
|
||||
<li>Using the network features</li>
|
||||
<li>Dealing with unwanted content</li>
|
||||
<li>Promoting yourself and others</li>
|
||||
<li>Set your preferences</li>
|
||||
<li>More settings</li>
|
||||
<li>Using Mastodon externally</li>
|
||||
<li>Moving or leaving accounts</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
With the information architecture phase done, writing the user guide was a straightforward
|
||||
task. Explanations of each feature and setting were added to the appropriate pages, as
|
||||
well as screenshots demonstrating proper usage. Tip boxes are included throughout in order
|
||||
to highlight important points.
|
||||
</p>
|
||||
</section>
|
||||
<section id="admin">
|
||||
<h3 class="subtitle">A more expressive admin guide</h3>
|
||||
<div class="structure">
|
||||
<div class="old card">
|
||||
<h4 class="card__head">Admin guide</h4>
|
||||
<ul class="card__body">
|
||||
<li>Installation</li>
|
||||
<li>Configuration</li>
|
||||
<li>Post-installation steps</li>
|
||||
<li>Scaling up</li>
|
||||
<li>Optional features</li>
|
||||
<li>Upgrading to a new release</li>
|
||||
<li>Migrating servers</li>
|
||||
<li>Troubleshooting</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="new card">
|
||||
<h4 class="card__head">Running Mastodon</h4>
|
||||
<ul class="card__body">
|
||||
<li>Preparing your machine</li>
|
||||
<li>Installing from source</li>
|
||||
<li>Configuring your environment</li>
|
||||
<li>Installing optional features</li>
|
||||
<li>Setting up your new instance</li>
|
||||
<li>Using the admin CLI</li>
|
||||
<li>Upgrading to a new release</li>
|
||||
<li>Backing up your server</li>
|
||||
<li>Migrating to a new machine</li>
|
||||
<li>Scaling up your server</li>
|
||||
<li>Moderation actions</li>
|
||||
<li>Troubleshooting errors</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
This section was mostly straightened out already, but could still use some improvements. A
|
||||
pre-installation page was split out from the old installation page. Backup instructions
|
||||
were moved out of "Optional features" and into a dedicated page. Pages were added for
|
||||
moderation and CLI usage.
|
||||
</p>
|
||||
</section>
|
||||
<section id="dev">
|
||||
<h3 class="subtitle">Giving developers more complete documentation</h3>
|
||||
<div class="structure">
|
||||
<div class="old card">
|
||||
<h4 class="card__head">Development guide</h4>
|
||||
<ul class="card__body">
|
||||
<li>Overview</li>
|
||||
<li>ActivityPub compliance</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
The old "overview" page contained a mixture of information about setting up a dev
|
||||
environment, libraries used, code structure, and useful commands to run for testing.
|
||||
</p>
|
||||
<p>
|
||||
The first step in cleaning this up was to split this page into multiple discrete pages,
|
||||
each with its own purpose. As "development" is a vague term, two new sections were created
|
||||
to replace it: one for client development (merged with API), and one for server
|
||||
development. The old "overview" pages were nested under the server development section, as
|
||||
they dealt primarily with server development.
|
||||
</p>
|
||||
<p>
|
||||
Next, "ActivityPub compliance" was moved into a dedicated section for spec compliance, and
|
||||
pages were created for documenting how various significant specifications were used and
|
||||
implemented within Mastodon.
|
||||
</p>
|
||||
<div class="structure">
|
||||
<div class="new card">
|
||||
<h4 class="card__head">Contributing to Mastodon</h4>
|
||||
<ul class="card__body">
|
||||
<li>Technical overview</li>
|
||||
<li>Setting up a dev environment</li>
|
||||
<li>Code structure</li>
|
||||
<li>Routes</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="new card">
|
||||
<h4 class="card__head">Spec compliance</h4>
|
||||
<ul class="card__body">
|
||||
<li>ActivityPub</li>
|
||||
<li>WebFinger</li>
|
||||
<li>Security</li>
|
||||
<li>Microformats</li>
|
||||
<li>OAuth</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
While the basics of ActivityPub federation were already written, the format of the old
|
||||
document simply pointed toward the server-to-server spec, as well as HTTP Signatures and
|
||||
Linked Data Signatures (with no real explanation beyond that). Therefore, I rewrote this
|
||||
page into multiple separate pages, each detailing the spec in question. The "ActivityPub"
|
||||
page now covers status federation and profile federation, the properties and types used in
|
||||
each, HTML payload sanitization, namespacing, and extensions (with sample payloads).
|
||||
"WebFinger" explains what, why, and how to use WebFinger for actor URI resolution.
|
||||
"Security" explains HTTP and LD signatures. "Microformats" explains the use of
|
||||
Microformats 2.0 and how they may be parsed, and "OAuth" covers the endpoints and flows
|
||||
implemented within Mastodon for obtaining a token.
|
||||
</p>
|
||||
</section>
|
||||
<section id="api">
|
||||
<h3 class="subtitle">Helping client apps use the API</h3>
|
||||
<div class="structure">
|
||||
<div class="old card">
|
||||
<h4 class="card__head">API Overview</h4>
|
||||
<ul class="card__body">
|
||||
<li>Guidelines</li>
|
||||
<li>Libraries</li>
|
||||
<li>Authentication</li>
|
||||
<li>Permissions</li>
|
||||
<li>Entities</li>
|
||||
<li>Parameters</li>
|
||||
<li>Streaming API</li>
|
||||
<li>Web Push API</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="old card">
|
||||
<h4 class="card__head">REST API</h4>
|
||||
<ul class="card__body">
|
||||
<li>Accounts</li>
|
||||
<li>Apps</li>
|
||||
<li>...</li>
|
||||
<li>Timelines</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
This was the majority of the work. Mastodon's REST API documentation was really messy, and it showed. Finding something generally entailed flipping back and forth between multiple pages and searching within them, and each page was very long.
|
||||
</p>
|
||||
<p>
|
||||
The first step was to promote methods and entities into their own sections. The "Entities" page was split into multiple pages, one per entity, and alphabetized. Tables were converted into headings, to allow for providing more information about each field.
|
||||
</p>
|
||||
<p>
|
||||
Methods were grouped by namespace rather than by feature-set, and with one level of nesting depending on whether the methods within pertained to accounts, statuses, timelines, notifications, etc. The pages for the Streaming and Web Push APIs were moved out of the overview section and into the methods section.
|
||||
</p>
|
||||
<p>
|
||||
Finally, a new section was created for a client development guide. The guide would cover the basics of REST API, how to make requests, how responses are structured, and authentication/authorization.
|
||||
</p>
|
||||
<div class="structure new">
|
||||
<div class="new card">
|
||||
<h4 class="card__head">Developing Mastodon Apps</h4>
|
||||
<ul class="card__body">
|
||||
<li>Getting started with the API</li>
|
||||
<li>Playing with public data</li>
|
||||
<li>Obtaining client app access</li>
|
||||
<li>Logging in with an account</li>
|
||||
<li>Guidelines and best practices</li>
|
||||
<li>Libraries and implementations</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="new card">
|
||||
<h4 class="card__head">REST API</h4>
|
||||
<ul class="card__body">
|
||||
<li>OAuth Scopes</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="new card methods">
|
||||
<h4 class="card__head">API Methods</h4>
|
||||
<ul class="card__body">
|
||||
<li>apps</li>
|
||||
<ul>
|
||||
<li>oauth</li>
|
||||
</ul>
|
||||
<li>accounts</li>
|
||||
<ul>
|
||||
<li>bookmarks</li>
|
||||
<li>favourites</li>
|
||||
<li>mutes</li>
|
||||
<li>...</li>
|
||||
</ul>
|
||||
<li>statuses</li>
|
||||
<ul>
|
||||
<li>media</li>
|
||||
<li>polls</li>
|
||||
<li>scheduled_statuses</li>
|
||||
</ul>
|
||||
<li>timelines</li>
|
||||
<ul>
|
||||
<li>conversations</li>
|
||||
<li>lists</li>
|
||||
<li>markers</li>
|
||||
<li>streaming</li>
|
||||
</ul>
|
||||
<li>notifications</li>
|
||||
<ul>
|
||||
<li>push</li>
|
||||
</ul>
|
||||
<li>search</li>
|
||||
<li>instance</li>
|
||||
<ul>
|
||||
<li>trends</li>
|
||||
<li>directory</li>
|
||||
<li>custom_emoji</li>
|
||||
</ul>
|
||||
<li>admin</li>
|
||||
<li>proofs</li>
|
||||
<li>oembed</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="new card entities">
|
||||
<h4 class="card__head">API Entities</h4>
|
||||
<ul class="card__body">
|
||||
<li>Account</li>
|
||||
<li>Activity</li>
|
||||
<li>Admin::Account</li>
|
||||
<li>Admin::Report</li>
|
||||
<li>...</li>
|
||||
<li>Status</li>
|
||||
<li>Tag</li>
|
||||
<li>Token</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
Writing this section taught me a lot about the basics of REST APIs, understanding HTTP requests and responses, providing parameters, and how OAuth works -- all information that I included in the client development guide.
|
||||
</p>
|
||||
<p>
|
||||
While documenting the REST API, I had to consult the Ruby on Rails routing config file extensively, so I took it as an opportunity to write a page about how routes work and how to read the routes file.
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
<section class="section" id="outcomes">
|
||||
<div class="container">
|
||||
<h2 class="title">The results were very much appreciated.</h2>
|
||||
<blockquote class="praise">
|
||||
bless you for being here to work on the docs btw it's a big relief
|
||||
</blockquote>
|
||||
<div class="attribution">
|
||||
<!-- gargron -->
|
||||
<cite><em>Eugen "Gargron" Rochko</em><br />Mastodon founder<br />& lead developer</cite>
|
||||
</div>
|
||||
<section class="benefit one">
|
||||
<h3 class="subtitle">There was much less missing information.</h3>
|
||||
<p>
|
||||
During the information architecture phase, a new skeleton was created as a proposed
|
||||
alternative structure. This process made the existing gaps in the old structure more
|
||||
obvious, and therefore those gaps could be filled during the technical writing phase.
|
||||
</p>
|
||||
</section>
|
||||
<section class="benefit two">
|
||||
<h3 class="subtitle">It was also easier to make additions in an appropriate place.</h3>
|
||||
<p>For example, the following pages were added after completion:</p>
|
||||
<ul>
|
||||
<li>
|
||||
"Rate limits" was added under "REST API", describing how to deal with rate limits on
|
||||
requests made to the REST API.
|
||||
</li>
|
||||
<li>
|
||||
"Bug bounties and responsible disclosure" was added under "Contributing to Mastodon",
|
||||
describing where serious issues should be reported if found.
|
||||
</li>
|
||||
<li>
|
||||
"Running your own server" was added under "Using Mastodon", describing the reasons why a
|
||||
user might want to run their own server and linking to the "Running Mastodon" section.
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
The clear structure left in place by my information architecture work meant that it was
|
||||
almost immediately clear where to add these pages.
|
||||
</p>
|
||||
</section>
|
||||
<section class="benefit three">
|
||||
<h3 class="subtitle">The quality and formatting of the docs was vastly improved.</h3>
|
||||
<p>
|
||||
Methods now include the HTTP verb, endpoint, description, return type, OAuth scope,
|
||||
version history, request parameters, and sample response code and payload.
|
||||
</p>
|
||||
<p>
|
||||
Entities now include example payloads, as well as each attribute and its description,
|
||||
type, and version history.
|
||||
</p>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
<hr class="separator" />
|
||||
<section class="section" id="cta">
|
||||
<div class="container">
|
||||
<h2 class="title">Maybe you'd appreciate me doing something similar for you?</h2>
|
||||
<img
|
||||
src="/images/cover/mastodocs.jpg"
|
||||
alt="Mastodon documentation landing page"
|
||||
width="1280"
|
||||
height="720"
|
||||
/>
|
||||
<div class="buttons">
|
||||
<a href="https://docs.joinmastodon.org" class="demo secondary button"
|
||||
><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" width="16"
|
||||
><path
|
||||
fill="currentColor"
|
||||
d="M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z"
|
||||
/></svg
|
||||
>Check out the live version</a
|
||||
>
|
||||
<a href="mailto:a@trwnh.com" class="email primary button"
|
||||
><svg
|
||||
version="1.1"
|
||||
viewBox="0 -256 1850 1850"
|
||||
width="16"
|
||||
height="16"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
>
|
||||
<g transform="matrix(1 0 0 -1 30.373 1252.3)">
|
||||
<path
|
||||
d="m1792 826v-794q0-66-47-113t-113-47h-1472q-66 0-113 47t-47 113v794q44-49 101-87 362-246 497-345 57-42 92.5-65.5t94.5-48 110-24.5h2q51 0 110 24.5t94.5 48 92.5 65.5q170 123 498 345 57 39 100 87zm0 294q0-79-49-151t-122-123q-376-261-468-325-10-7-42.5-30.5t-54-38-52-32.5-57.5-27-50-9h-2q-23 0-50 9t-57.5 27-52 32.5-54 38-42.5 30.5q-91 64-262 182.5t-205 142.5q-62 42-117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5-47t47.5-113z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
</g>
|
||||
</svg>Email me a proposal</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
BIN
.experiments/sveltekit/static/favicon.png
Normal file
BIN
.experiments/sveltekit/static/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
18
.experiments/sveltekit/svelte.config.js
Normal file
18
.experiments/sveltekit/svelte.config.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
import adapter from '@sveltejs/adapter-auto';
|
||||
import preprocess from 'svelte-preprocess';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
||||
// for more information about preprocessors
|
||||
preprocess: preprocess(),
|
||||
|
||||
kit: {
|
||||
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
|
||||
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
||||
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
||||
adapter: adapter()
|
||||
}
|
||||
};
|
||||
|
||||
export default config;
|
17
.experiments/sveltekit/tsconfig.json
Normal file
17
.experiments/sveltekit/tsconfig.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"extends": "./.svelte-kit/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true
|
||||
}
|
||||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
||||
//
|
||||
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
||||
// from the referenced tsconfig.json - TypeScript does not merge them in
|
||||
}
|
6
.experiments/sveltekit/vite.config.ts
Normal file
6
.experiments/sveltekit/vite.config.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [sveltekit()]
|
||||
});
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "themes/basis"]
|
||||
path = themes/basis
|
||||
url = https://github.com/trwnh/hugo-theme-basis
|
5
content/_index.html
Normal file
5
content/_index.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
+++
|
||||
title = "Root"
|
||||
summary = "Abdullah Tarawneh is an information architect, designer, developer, photographer, and all-around creative, especially for the web."
|
||||
tags = ["abdullah", "tarawneh", "birmingham", "hoover", "alabama", "design", "designer", "web", "developer", "consultant", "creative", "freelance", "freelancer", "photography", "photographer"]
|
||||
+++
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
title: "Root"
|
||||
summary: "Abdullah Tarawneh is an information architect, designer, developer, photographer, and all-around creative, especially for the web."
|
||||
tags: ["abdullah", "tarawneh", "birmingham", "hoover", "alabama", "design", "designer", "web", "developer", "consultant", "creative", "freelance", "freelancer", "photography", "photographer"]
|
||||
---
|
|
@ -1,5 +1,10 @@
|
|||
---
|
||||
title: "Code written"
|
||||
summary: "My personal projects and contributions to open source and free software."
|
||||
tags: ["abdullah tarawneh", "coding", "code", "open source", "free software", "github", "pull request", "dev", "development", "project", "projects"]
|
||||
---
|
||||
+++
|
||||
title = "Code written"
|
||||
summary = "My personal projects and contributions to open source and free software."
|
||||
tags = ["abdullah tarawneh", "coding", "code", "open source", "free software", "github", "pull request", "dev", "development", "project", "projects"]
|
||||
+++
|
||||
|
||||
gitea
|
||||
: [git.trwnh.com](https://git.trwnh.com)
|
||||
github
|
||||
: [github.com/trwnh](https://github.com/trwnh)
|
|
@ -1,3 +1,5 @@
|
|||
---
|
||||
title: "Work"
|
||||
---
|
||||
+++
|
||||
title = "Work"
|
||||
+++
|
||||
|
||||
[resume](/resume)
|
359
content/work/mastodon/style.scss
Normal file
359
content/work/mastodon/style.scss
Normal file
|
@ -0,0 +1,359 @@
|
|||
main {
|
||||
overflow: hidden;
|
||||
background: #16191f;
|
||||
color: #9baec8;
|
||||
.page-header {
|
||||
background: #3088D4;
|
||||
color: white;
|
||||
.container {
|
||||
display: grid;
|
||||
@media (min-width: 51.75em) {
|
||||
grid-template-columns: auto 1fr;
|
||||
}
|
||||
gap: 2em;
|
||||
justify-items: center;
|
||||
align-items: center;
|
||||
svg {width: 6em;height:auto;}
|
||||
}
|
||||
.title {
|
||||
line-height: 1;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
.title {
|
||||
font-size: 2em;
|
||||
line-height: 1.4;
|
||||
font-weight: 700;
|
||||
margin-bottom: 1em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
p {
|
||||
line-height: 1.4;
|
||||
font-size: 1.2em;
|
||||
margin-bottom: 1.4em;
|
||||
a {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
.subtitle {
|
||||
font-size: 1.6em;
|
||||
font-weight: 700;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.conversation {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
align-items: center;
|
||||
margin-bottom: 1.4em;
|
||||
iframe {
|
||||
width: 80ch
|
||||
}
|
||||
}
|
||||
#about {
|
||||
.container {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
gap: 1em;
|
||||
}
|
||||
.title {
|
||||
position: relative;
|
||||
&::before {
|
||||
content: 'about';
|
||||
position: absolute;
|
||||
top: -0.6em;
|
||||
left: -0.55em;
|
||||
font-size: 3em;
|
||||
font-weight: 900;
|
||||
opacity: 0.15;
|
||||
}
|
||||
}
|
||||
}
|
||||
#overview {
|
||||
.title {
|
||||
position: relative;
|
||||
&::before {
|
||||
content: 'overview';
|
||||
position: absolute;
|
||||
top: -0.6em;
|
||||
left: -0.5em;
|
||||
font-size: 3em;
|
||||
font-weight: 900;
|
||||
opacity: 0.15;
|
||||
}
|
||||
}
|
||||
}
|
||||
#process {
|
||||
.title {
|
||||
position: relative;
|
||||
&::before {
|
||||
content: 'process';
|
||||
position: absolute;
|
||||
top: -0.6em;
|
||||
left: -0.5em;
|
||||
font-size: 3em;
|
||||
font-weight: 900;
|
||||
opacity: 0.15;
|
||||
}
|
||||
}
|
||||
.subtitle {
|
||||
margin-top: 8em;
|
||||
margin-bottom: 2em;
|
||||
position: relative;
|
||||
&:before {
|
||||
position: absolute;
|
||||
top: -1em;
|
||||
right: 0em;
|
||||
font-size: 4em;
|
||||
font-weight: 900;
|
||||
color: #3088D4;
|
||||
}
|
||||
}
|
||||
}
|
||||
#user {
|
||||
.subtitle {
|
||||
&::before {
|
||||
content: '01';
|
||||
}
|
||||
}
|
||||
.structure {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
#admin {
|
||||
.subtitle {
|
||||
&::before {
|
||||
content: '02';
|
||||
}
|
||||
}
|
||||
}
|
||||
#dev {
|
||||
.subtitle {
|
||||
&::before {
|
||||
content: '03';
|
||||
}
|
||||
}
|
||||
.old {grid-column: span 2}
|
||||
}
|
||||
#api {
|
||||
.subtitle {
|
||||
&::before {
|
||||
content: '4+5';
|
||||
}
|
||||
}
|
||||
}
|
||||
.structure {
|
||||
font-size: 1.2em;
|
||||
line-height: 1.4;
|
||||
margin-bottom: 2em;
|
||||
display: grid;
|
||||
@media (min-width: 40em) {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
&.new {
|
||||
grid-auto-flow: column;
|
||||
grid-template-rows: auto auto 1fr;
|
||||
}
|
||||
.methods {
|
||||
grid-row: span 3;
|
||||
grid-column: 2;
|
||||
}
|
||||
}
|
||||
gap: 1em;
|
||||
ul {
|
||||
list-style-type: number;
|
||||
}
|
||||
ul > ul {
|
||||
margin-left: 1.25em;
|
||||
}
|
||||
li {
|
||||
margin-left: 1em;
|
||||
&::marker {
|
||||
font-weight: 700;
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
}
|
||||
.card {
|
||||
margin-top: 1em;
|
||||
}
|
||||
.card__head {
|
||||
position: relative;
|
||||
&:before {
|
||||
position: absolute;
|
||||
top: -1.675em;
|
||||
right: -1em;
|
||||
font-size: 2em;
|
||||
font-weight: 900;
|
||||
background: #16191f;
|
||||
border-radius: 100em;
|
||||
padding: 0 0.5em;
|
||||
border: 0.25em solid #303643;
|
||||
background: #16191f;
|
||||
}
|
||||
}
|
||||
.old .card__head:before {
|
||||
content: 'OLD';
|
||||
color: #c89bae;
|
||||
}
|
||||
|
||||
.new .card__head:before {
|
||||
content: 'NEW';
|
||||
color: #aec89b;
|
||||
}
|
||||
.methods ul, .entities ul {
|
||||
list-style-type: disc;
|
||||
}
|
||||
}
|
||||
.card {
|
||||
background: #303643;
|
||||
color: #d9e1e8;
|
||||
padding: 2em;
|
||||
border-radius: 1em;
|
||||
&__head {
|
||||
font-weight: 700;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
&__body {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
gap: 0.5em;
|
||||
}
|
||||
}
|
||||
#outcomes {
|
||||
.title {
|
||||
margin-bottom: 3em;
|
||||
position: relative;
|
||||
&::before {
|
||||
content: 'outcomes';
|
||||
position: absolute;
|
||||
top: -0.6em;
|
||||
left: -0.5em;
|
||||
font-size: 3em;
|
||||
font-weight: 900;
|
||||
opacity: 0.15;
|
||||
}
|
||||
}
|
||||
.praise {
|
||||
background: #303643;
|
||||
color: #d9e1e8;
|
||||
font-size: 1.8em;
|
||||
line-height: 1.2;
|
||||
text-align: center;
|
||||
padding: 1em;
|
||||
font-family: monospace;
|
||||
position: relative;
|
||||
&:before{
|
||||
content: '“';
|
||||
font-family: serif;
|
||||
font-size: 2em;
|
||||
position: absolute;
|
||||
top: -0.4em;
|
||||
left: -0.2em;
|
||||
}
|
||||
&:after {
|
||||
content: '”';
|
||||
font-family: serif;
|
||||
font-size: 2em;
|
||||
position: absolute;
|
||||
bottom: -0.8em;
|
||||
right: -0.2em;
|
||||
}
|
||||
}
|
||||
cite {
|
||||
margin-top: 1em;
|
||||
text-align: right;
|
||||
em {
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
.attribution {
|
||||
margin-bottom: 5em;
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
align-items: end;
|
||||
img {
|
||||
width: auto;
|
||||
height: 3em;
|
||||
margin-right: 1em;
|
||||
border-radius: 100em;
|
||||
}
|
||||
}
|
||||
ul {
|
||||
line-height: 1.4;
|
||||
font-size: 1.2em;
|
||||
list-style-type: disc;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
li {
|
||||
margin-left: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.benefit {
|
||||
position: relative;
|
||||
margin-top: 8em;
|
||||
&:before {
|
||||
position: absolute;
|
||||
font-size: 4em;
|
||||
font-weight: 700;
|
||||
top: -1.25em;
|
||||
color: #3088d4;
|
||||
}
|
||||
&.one:before {
|
||||
content: '01';
|
||||
}
|
||||
&.two:before {
|
||||
content: '02';
|
||||
}
|
||||
&.three:before {
|
||||
content: '03';
|
||||
}
|
||||
}
|
||||
}
|
||||
.separator {
|
||||
width: 10em;
|
||||
height: 0.5em;
|
||||
border-radius: 100em;
|
||||
border: none;
|
||||
background: white;
|
||||
}
|
||||
#cta {
|
||||
.container {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
}
|
||||
.title {
|
||||
text-align: center;
|
||||
max-width: 41rem;
|
||||
margin: 0 auto;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
.buttons {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: center;
|
||||
margin-top: 1em;
|
||||
gap: 1em;
|
||||
}
|
||||
.button {
|
||||
width: 100%;
|
||||
flex-basis: 20em;
|
||||
i {
|
||||
margin-right: 1em;
|
||||
}
|
||||
&.demo {
|
||||
background: transparent;
|
||||
border: 2px solid white;
|
||||
color: white;
|
||||
&:hover {
|
||||
background: rgba(255,255,255,0.2);
|
||||
}
|
||||
}
|
||||
&.email {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,8 +1,16 @@
|
|||
baseURL = "https://abdullahtarawneh.com"
|
||||
languageCode = "en-us"
|
||||
title = "Abdullah Tarawneh"
|
||||
theme = "at"
|
||||
enableGitInfo = true
|
||||
|
||||
[build.buildStats]
|
||||
enable = true
|
||||
|
||||
[[build.cacheBusters]]
|
||||
source = 'content/.*\.(scss)'
|
||||
target = 'style.scss'
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
|
||||
|
@ -13,24 +21,24 @@ category = "category"
|
|||
[menu]
|
||||
|
||||
[[menu.main]]
|
||||
identifier = ""
|
||||
identifier = "home"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" width=16 height=16><path fill="currentColor" d="M488 312.7V456c0 13.3-10.7 24-24 24H348c-6.6 0-12-5.4-12-12V356c0-6.6-5.4-12-12-12h-72c-6.6 0-12 5.4-12 12v112c0 6.6-5.4 12-12 12H112c-13.3 0-24-10.7-24-24V312.7c0-3.6 1.6-7 4.4-9.3l188-154.8c4.4-3.6 10.8-3.6 15.3 0l188 154.8c2.7 2.3 4.3 5.7 4.3 9.3zm83.6-60.9L488 182.9V44.4c0-6.6-5.4-12-12-12h-56c-6.6 0-12 5.4-12 12V117l-89.5-73.7c-17.7-14.6-43.3-14.6-61 0L4.4 251.8c-5.1 4.2-5.8 11.8-1.6 16.9l25.5 31c4.2 5.1 11.8 5.8 16.9 1.6l235.2-193.7c4.4-3.6 10.8-3.6 15.3 0l235.2 193.7c5.1 4.2 12.7 3.5 16.9-1.6l25.5-31c4.2-5.2 3.4-12.7-1.7-16.9z"/></svg>'
|
||||
name = "Home"
|
||||
url = "/"
|
||||
pageref = "/"
|
||||
weight = 10
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "work"
|
||||
pre = '<?xml version="1.0" encoding="UTF-8"?> <svg version="1.1" viewBox="0 -256 1850 1850" width=16 height=16 xmlns="http://www.w3.org/2000/svg"> <g transform="matrix(1 0 0 -1 37.966 1313.1)"> <path d="m640 1152h512v128h-512v-128zm1152-640v-480q0-66-47-113t-113-47h-1472q-66 0-113 47t-47 113v480h672v-160q0-26 19-45t45-19h320q26 0 45 19t19 45v160h672zm-768 0v-128h-256v128h256zm768 480v-384h-1792v384q0 66 47 113t113 47h352v160q0 40 28 68t68 28h576q40 0 68-28t28-68v-160h352q66 0 113-47t47-113z" fill="currentColor"/> </g> </svg>'
|
||||
name = "Work"
|
||||
url = "/work/"
|
||||
pageref = "/work/"
|
||||
weight = 20
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "code"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" width=16 height=16><path fill="currentColor" d="M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"/></svg>'
|
||||
name = "Code"
|
||||
url = "/code/"
|
||||
pageref = "/code/"
|
||||
weight = 30
|
||||
|
||||
#[[menu.main]]
|
||||
|
@ -44,5 +52,5 @@ weight = 30
|
|||
identifier = "blog"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width=16 height=16><path fill="currentColor" d="M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"/></svg>'
|
||||
name = "Blog"
|
||||
url = "/blog/"
|
||||
pageref = "/blog/"
|
||||
weight = 50
|
61
hugo_stats.json
Normal file
61
hugo_stats.json
Normal file
|
@ -0,0 +1,61 @@
|
|||
{
|
||||
"htmlElements": {
|
||||
"tags": [
|
||||
"a",
|
||||
"article",
|
||||
"base",
|
||||
"body",
|
||||
"br",
|
||||
"dd",
|
||||
"div",
|
||||
"dl",
|
||||
"dt",
|
||||
"footer",
|
||||
"h1",
|
||||
"h2",
|
||||
"head",
|
||||
"header",
|
||||
"hr",
|
||||
"html",
|
||||
"li",
|
||||
"link",
|
||||
"main",
|
||||
"meta",
|
||||
"nav",
|
||||
"p",
|
||||
"script",
|
||||
"section",
|
||||
"style",
|
||||
"time",
|
||||
"title",
|
||||
"ul"
|
||||
],
|
||||
"classes": [
|
||||
"active",
|
||||
"blog",
|
||||
"code",
|
||||
"container",
|
||||
"content",
|
||||
"headline",
|
||||
"home",
|
||||
"list",
|
||||
"list-header",
|
||||
"list-title",
|
||||
"nav-main",
|
||||
"page",
|
||||
"page-date",
|
||||
"page-published-at",
|
||||
"page-summary",
|
||||
"page-title",
|
||||
"pages",
|
||||
"pages-in-list",
|
||||
"section",
|
||||
"section-heading",
|
||||
"site-footer",
|
||||
"site-header",
|
||||
"site-title",
|
||||
"work"
|
||||
],
|
||||
"ids": null
|
||||
}
|
||||
}
|
|
@ -1,119 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{.Site.Language.Lang }}" xml:lang="{{.Site.Language.Lang }}">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
{{ $style := resources.Get "scss/main.scss" | toCSS | minify | fingerprint }}
|
||||
{{ $js := resources.Get "js/main.js" | minify | minify | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}" media="screen">
|
||||
<script type="text/javascript" src="{{ $js.Permalink }}" integrity="{{ $js.Data.Integrity }}"></script>
|
||||
{{ $icon := "images/people/avatar.png" | absURL }}
|
||||
<link rel="shortcut icon" href='{{ $icon }}' sizes="400x400">
|
||||
{{ if .IsPage }}<meta name="keywords" content='{{ delimit .Params.tags " "}}'>{{ end }}
|
||||
{{ if .IsHome }}<title>{{ .Site.Title }}</title>
|
||||
<title itemprop="name">{{ .Site.Title }}</title>
|
||||
<meta property="og:title" content="{{ .Site.Title }}" />
|
||||
<meta name="twitter:title" content="{{ .Site.Title }}" />
|
||||
<meta itemprop="name" content="{{ .Site.Title }}" />
|
||||
{{ else }}<title>{{ .Title }} | {{ .Site.Title }}</title>
|
||||
<title itemprop="name">{{ .Title }} | {{ .Site.Title }}</title>
|
||||
<meta property="og:title" content="{{ .Title }} | {{ .Site.Title }}" />
|
||||
<meta name="twitter:title" content="{{ .Title }} | {{ .Site.Title }}" />
|
||||
<meta itemprop="name" content="{{ .Title }} | {{ .Site.Title }}" />{{ end }}
|
||||
<meta name="application-name" content="{{ .Site.Title }}" />
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
||||
<meta name="description" content="{{ .Summary }}">
|
||||
<meta itemprop="description" content="{{ .Summary }}" />
|
||||
<meta property="og:description" content="{{ .Summary }}" />
|
||||
<meta name="twitter:description" content="{{ .Summary }}" />
|
||||
<base href="{{ .Permalink }}">
|
||||
<link rel="canonical" href="{{ .Permalink }}" itemprop="url" />
|
||||
<meta name="url" content="{{ .Permalink }}" />
|
||||
<meta name="twitter:url" content="{{ .Permalink }}" />
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
{{ with .Params.cover }}<meta itemprop="image" content="{{ . | absURL }}" />
|
||||
<meta property="og:image" content="{{ . | absURL }}" />
|
||||
<meta name="twitter:image" content="{{ . | absURL }}" />
|
||||
<meta name="twitter:image:src" content="{{ . | absURL }}" />{{ else }}
|
||||
<meta itemprop="image" content='{{ $icon }}' />
|
||||
<meta property="og:image" content='{{ $icon }}' />
|
||||
<meta name="twitter:image" content='{{ $icon }}' />
|
||||
<meta name="twitter:image:src" content='{{ $icon }}' />{{ end }}
|
||||
<meta property="og:updated_time" content={{ .Lastmod.Format "2006-01-02T15:04:05Z0700" | safeHTML }} />
|
||||
{{ if isset .Params "date" }}<meta property="og:type" content="article" />
|
||||
<script defer type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "Article",
|
||||
"headline": {{ .Title }},
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "{{ .Params.author }}"
|
||||
},
|
||||
"datePublished": "{{ .Date.Format "2006-01-02" }}",
|
||||
"description": {{ .Summary }},
|
||||
"wordCount": {{ .WordCount }},
|
||||
"mainEntityOfPage": "True",
|
||||
"dateModified": "{{ .Lastmod.Format "2006-01-02" }}",
|
||||
"image": {
|
||||
"@type": "imageObject",
|
||||
"url": "{{ with .Params.cover }}{{ . }}{{ end }}"
|
||||
},
|
||||
"publisher": {
|
||||
"@type": "Person",
|
||||
"name": "{{ .Site.Title }}",
|
||||
"logo": {
|
||||
"@type": "imageObject",
|
||||
"url": {{ $icon }}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
{{ else }}<meta property="og:type" content="website" />
|
||||
<meta name="author" content="{{ .Params.author }}" />
|
||||
<script defer type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "WebSite",
|
||||
"url": {{ .Permalink }},
|
||||
"name": "{{ .Title }}",
|
||||
"logo": {{ $icon }}
|
||||
}
|
||||
</script>{{ end }}
|
||||
<meta property="article:publisher" content="{{ .Params.author }}" />
|
||||
{{ with.Params.author }}<meta property="og:article:author" content="{{ . }}" />
|
||||
<meta property="article:author" content="{{ . }}" />
|
||||
<meta name="author" content="{{ . }}" />{{ end }}
|
||||
{{ with.Params.category }}<meta name="news_keywords" content="{{ . }}" />
|
||||
<meta property="article:section" content="{{ . }}" />{{ end }}
|
||||
<meta property="og:article:published_time" content={{ .Date.Format "2006-01-02T15:04:05Z0700" | safeHTML }} />
|
||||
<meta property="article:published_time" content={{ .Date.Format "2006-01-02T15:04:05Z0700" | safeHTML }} />
|
||||
<link rel="sitemap" type="application/xml" title="Sitemap" href="{{ .Site.BaseURL }}sitemap.xml" />
|
||||
{{ with .OutputFormats.Get "RSS" }}<link href="{{ .Permalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
||||
<link href="{{ .Permalink }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />{{ end }}
|
||||
<meta name="robots" content="index,follow" />
|
||||
<meta name="googlebot" content="index,follow" />
|
||||
<link rel="manifest" href="{{ .Site.BaseURL }}manifest.json" />
|
||||
<meta name="theme-color" content="#ffffff" />
|
||||
<meta name="msapplication-TileColor" content="#ffffff" />
|
||||
<meta name="imagemode" content="force" />
|
||||
<meta name="coverage" content="Worldwide" />
|
||||
<meta name="distribution" content="Global" />
|
||||
<meta name="HandheldFriendly" content="True" />
|
||||
<meta name="msapplication-tap-highlight" content="no" />
|
||||
<meta name="apple-mobile-web-app-title" content="{{ .Site.Title }}" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||
<meta name="apple-touch-fullscreen" content="yes" />
|
||||
{{ block "head" . }}
|
||||
{{ end }}
|
||||
</head>
|
||||
<body>
|
||||
{{ partial "site-header.html" . }}
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
{{ partial "site-footer.html" .}}
|
||||
</body>
|
||||
</html>
|
|
@ -1,25 +0,0 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<header class="section page-header">
|
||||
<div class="container">
|
||||
<h1 class="page-title">{{ .Title }}</h1>
|
||||
</div>
|
||||
</header>
|
||||
<section class="section list">
|
||||
<div class="container">
|
||||
{{ range .Pages }}
|
||||
<article class="list-item">
|
||||
<a class="list-item__link" href="{{ .Permalink }}">
|
||||
{{ with .Params.cover }}
|
||||
<img class="list-item__image" src="{{.}}">
|
||||
{{end}}
|
||||
<h2 class="list-item__title">{{ .Title }}</h2>
|
||||
</a>
|
||||
<p class="list-item__summary">{{.Summary}}</p>
|
||||
<datetime class="list-item__date">{{ .Date.Format "January 2, 2006" }}</datetime>
|
||||
</article>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
{{ end }}
|
|
@ -1,37 +0,0 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<article class="page">
|
||||
<header class="section page-header">
|
||||
<div class="container">
|
||||
<h1 class="page-title">{{ .Title }}</h1>
|
||||
<p class="page-summary">{{.Summary}}</p>
|
||||
{{ with .Params.cover }}
|
||||
<img class="page-cover" src="{{.}}">
|
||||
{{end}}
|
||||
</div>
|
||||
</header>
|
||||
<aside class="meta section">
|
||||
<div class="container">
|
||||
<datetime class="date"> {{ .Date.Format "Mon Jan 2, 2006" }} </datetime>
|
||||
<p class="wordcount"> {{.WordCount}} words</p>
|
||||
|
||||
{{ with .Params.tags }}
|
||||
<p>Keywords:</p>
|
||||
<ul class="tags">
|
||||
{{ range . }}
|
||||
<li><a href='{{"tags/" | absURL }}{{. | urlize}}'>{{.}}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
</aside>
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
</main>
|
||||
{{ end }}
|
|
@ -1,33 +0,0 @@
|
|||
{{ define "main" }}
|
||||
<main id="blog">
|
||||
<header class="section page-header">
|
||||
<div class="container">
|
||||
<h1 class="page-title">{{ .Title }}</h1>
|
||||
</div>
|
||||
</header>
|
||||
<section class="section list">
|
||||
<div class="container">
|
||||
{{ range .Pages }}
|
||||
<article class="list-item">
|
||||
<a class="list-item__link" href="{{ .Permalink }}">
|
||||
{{ with .Params.cover }}
|
||||
<img class="list-item__image" src="{{.}}">
|
||||
{{end}}
|
||||
<h2 class="list-item__title">{{ .Title }}</h2>
|
||||
</a>
|
||||
<p class="list-item__summary">{{.Summary}}</p>
|
||||
<div class="list-item__meta">
|
||||
<datetime class="list-item__date">{{ .Date.Format "January 2, 2006" }}</datetime>
|
||||
<span class="list-item__wordcount">{{.WordCount}} words</span>
|
||||
{{ with .Params.tags }}
|
||||
{{ range . }}
|
||||
<a class="tag" href='{{"tags/" | absURL }}{{. | urlize}}'>{{.}}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
{{ end }}
|
|
@ -1,141 +0,0 @@
|
|||
{{ define "main" }}
|
||||
<main id="code">
|
||||
<header class="section page-header" id="intro">
|
||||
<div class="container">
|
||||
<h1 class="tagline">i like to participate in the world of free and libre open source software.</h1>
|
||||
<div id="gitea" class="explainer">
|
||||
<div class="image">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="16" viewBox="0 0 2240 1792">
|
||||
<path fill="currentColor" d="M365.814 256.033c-80.77-.23-174.758 28.37-247.533 93.332C45.507 414.33-5.459 515.927.468 659.21c9.228 223.095 116.556 347.02 241.385 413.903 121.864 65.293 259.55 77.271 341.309 79.467 6.075 22.373 20.605 53.19 41.24 88.794 22.617 39.021 52.476 83.218 86.237 125.355 67.52 84.276 149.666 161.198 224.778 169.267h614.778c96.394-7.216 183.852-91.338 258.812-210.925 74.96-119.587 137.637-275.74 182.444-431.18 44.808-155.44 71.718-310.045 74.6-426.875 1.44-58.414-3.015-107.346-14.834-142.878-5.91-17.766-13.683-32.287-24.042-42.774-10.36-10.486-23.609-16.672-38.437-17.01l-.311-.006h-.313c-337.54 17.872-537.496 26.865-708.892 28.377V682.72l-53.502-26.574-.356-363.22c-196.715-.1-369.84-10.354-698.87-28.58l-.184-.009-.185-.002c-40.235-.43-97.974-8.164-160.312-8.342zm22.4 172.51c3.664 0 7.49 0 11.265.1 21.927 217.03 57.703 349.276 127.414 541.945-88.094-12.62-168.73-34.048-230.92-77.682-65.365-45.861-111.249-115.832-125.726-228.654-7.647-59.598 2.08-119.8 37.762-164.15 33.452-41.58 90.067-70.34 180.205-71.54zm729.623 214.068c13.174.1 26.557 3.011 39.24 9.174l63.954 31.074-45.88 93.968a57.354 57.354 0 0 0-20.566 3.315 57.354 57.354 0 0 0-34.542 73.388 57.354 57.354 0 0 0 9.503 16.703l-79.045 161.895a57.354 57.354 0 0 0-19.008 3.32 57.354 57.354 0 0 0-34.538 73.389 57.354 57.354 0 0 0 73.387 34.54 57.354 57.354 0 0 0 34.541-73.388 57.354 57.354 0 0 0-13.468-21.105l77.029-157.766a57.354 57.354 0 0 0 24.99-3.049 57.354 57.354 0 0 0 18.224-10.699c30.01 14.23 53.952 25.373 71.541 35.162 26.351 14.668 35.672 24.346 38.496 35.014 2.824 10.667-.312 30.978-15.185 66.703-11.338 27.233-28.654 62.702-51.112 108.785a57.354 57.354 0 0 0-21.47 3.308 57.354 57.354 0 0 0-34.54 73.39 57.354 57.354 0 0 0 73.388 34.539 57.354 57.354 0 0 0 34.54-73.388 57.354 57.354 0 0 0-11.722-19.289c22.242-45.59 39.623-81.153 51.765-110.32 16.026-38.496 24.462-67.304 17.119-95.043-7.345-27.74-29.958-45.76-59.774-62.355-19.75-10.992-43.966-22.274-73.47-36.23a57.354 57.354 0 0 0-3.262-22.964 57.354 57.354 0 0 0-12.43-20.025l45.172-92.515 249.678 121.316c45.096 21.911 63.76 75.857 41.848 120.954l-171.672 353.314c-21.912 45.096-75.856 63.761-120.952 41.849l-353.315-171.673c-45.096-21.912-63.76-75.855-41.848-120.952l171.672-353.316c15.75-32.413 48.046-51.172 81.712-51.023z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<p>I host my own code with <a href="https://git.trwnh.com">Gitea</a>. currently, i host the source code for
|
||||
some websites i've built, including this one.</p>
|
||||
</div>
|
||||
<div id="github" class="explainer">
|
||||
<div class="image">
|
||||
<svg width="16" height="16" viewBox="0 0 1024 1024" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z" transform="scale(64)" fill="currentColor"/>
|
||||
</svg>
|
||||
</div>
|
||||
<p>i also have a <a href="https://github.com/trwnh">Github</a> account. i mainly use this account to
|
||||
contribute to open-source projects using pull requests instead of sending patch files via email.</p>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<section class="section" id="projects">
|
||||
<div class="container">
|
||||
<h2 class="title"><a href="#projects">#</a>Original projects</h2>
|
||||
<section class="project-list">
|
||||
{{ range .Pages }}
|
||||
{{ if not (in .Params.tags "pull request") }}
|
||||
<a class="project {{ .Permalink | relURL | anchorize }}" href="{{ .Permalink }}">
|
||||
|
||||
<h3 class="project__title">{{ .Title }}</h3>
|
||||
|
||||
<p class="project__summary">{{.Summary}}</p>
|
||||
|
||||
{{ with .Params.cover }}
|
||||
<img width=280 class="project__image" src="{{.}}">
|
||||
{{end}}
|
||||
|
||||
<!--datetime class="project__date">{{ .Date.Format "January 2, 2006" }}</datetime-->
|
||||
<span class="project__hint">Read more</span>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
<section class="section" id="contributions">
|
||||
<div class="container">
|
||||
<h2 class="title"><a href="#contributions">#</a>Contributions to other projects</h2>
|
||||
<section class="contribution-list">
|
||||
{{ range where .Pages ".Params.tags" "intersect" (slice "pull request") }}
|
||||
<article class="pr {{ .Permalink | relURL | anchorize }}">
|
||||
{{ partial "pr-icon" . }}
|
||||
<a class="pr__link" href="{{ .Permalink }}">
|
||||
<h3 class="pr__title">{{ .Title }}</h3>
|
||||
</a>
|
||||
<p class="pr__summary">{{.Summary}}</p>
|
||||
</article>
|
||||
{{ end }}
|
||||
<article class="commit pixelfed-docs">
|
||||
{{ partial "commit-icon" . }}
|
||||
<a href="https://github.com/pixelfed/docs/commits?author=trwnh" class="commit__link">
|
||||
<h3 class="commit__title">pixelfed/docs</h3>
|
||||
</a>
|
||||
<p class="commit__summary">59 commits</p>
|
||||
</article>
|
||||
<article class="commit pixelfed">
|
||||
{{ partial "commit-icon" . }}
|
||||
<a href="https://github.com/pixelfed/pixelfed/commits?author=trwnh" class="commit__link">
|
||||
<h3 class="commit__title">pixelfed/pixelfed</h3>
|
||||
</a>
|
||||
<p class="commit__summary">57 commits</p>
|
||||
</article>
|
||||
<article class="commit mastodon">
|
||||
{{ partial "commit-icon" . }}
|
||||
<a href="https://github.com/mastodon/mastodon/commits?author=trwnh" class="commit__link">
|
||||
<h3 class="commit__title">mastodon/mastodon</h3>
|
||||
</a>
|
||||
<p class="commit__summary">18 commits</p>
|
||||
</article>
|
||||
<article class="commit mastodocs">
|
||||
{{ partial "commit-icon" . }}
|
||||
<a href="https://github.com/mastodon/documentation/commits?author=trwnh" class="commit__link">
|
||||
<h3 class="commit__title">mastodon/documentation</h3>
|
||||
</a>
|
||||
<p class="commit__summary">13 commits</p>
|
||||
</article>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<section class="section" id="support">
|
||||
<div class="container">
|
||||
<h2 class="title"><a href="#support">#</a>Support me.</h2>
|
||||
<p>If you appreciate any of what I've done, please send me money. Your contributions and generosity will
|
||||
directly fund my creative efforts, which would otherwise go unpaid. The more I receive, the more time I can
|
||||
justifiably devote to continuing to do what I do.</p>
|
||||
<div id="liberapay" class="explainer">
|
||||
<div class="image">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" width=16 height=16><g transform="translate(-78.37-208.06)" fill="currentColor"><path d="m104.28 271.1c-3.571 0-6.373-.466-8.41-1.396-2.037-.93-3.495-2.199-4.375-3.809-.88-1.609-1.308-3.457-1.282-5.544.025-2.086.313-4.311.868-6.675l9.579-40.05 11.69-1.81-10.484 43.44c-.202.905-.314 1.735-.339 2.489-.026.754.113 1.421.415 1.999.302.579.817 1.044 1.546 1.395.729.353 1.747.579 3.055.679l-2.263 9.278"/><path d="m146.52 246.14c0 3.671-.604 7.03-1.811 10.07-1.207 3.043-2.879 5.669-5.01 7.881-2.138 2.213-4.702 3.935-7.693 5.167-2.992 1.231-6.248 1.848-9.767 1.848-1.71 0-3.42-.151-5.129-.453l-3.394 13.651h-11.162l12.52-52.19c2.01-.603 4.311-1.143 6.901-1.622 2.589-.477 5.393-.716 8.41-.716 2.815 0 5.242.428 7.278 1.282 2.037.855 3.708 2.024 5.02 3.507 1.307 1.484 2.274 3.219 2.904 5.205.627 1.987.942 4.11.942 6.373m-27.378 15.461c.854.202 1.91.302 3.167.302 1.961 0 3.746-.364 5.355-1.094 1.609-.728 2.979-1.747 4.111-3.055 1.131-1.307 2.01-2.877 2.64-4.714.628-1.835.943-3.858.943-6.071 0-2.161-.479-3.998-1.433-5.506-.956-1.508-2.615-2.263-4.978-2.263-1.61 0-3.118.151-4.525.453l-5.28 21.948"/></g></svg>
|
||||
</div>
|
||||
<p>Recurring or one-time donation via Liberapay: <a
|
||||
href="https://liberapay.com/trwnh">liberapay.com/trwnh</a></p>
|
||||
</div>
|
||||
<div id="patreon" class="explainer">
|
||||
<div class="image">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 180 180" width=16 height=16>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M108.8135992 26.06720125c-26.468266 0-48.00213212 21.53066613-48.00213212 47.99733213 0 26.38653268 21.53386613 47.85426547 48.00213213 47.85426547 26.38639937 0 47.8530655-21.4677328 47.8530655-47.85426547 0-26.466666-21.46666613-47.99733213-47.85306547-47.99733213"
|
||||
/>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M23.333335 153.93333178V26.0666679h23.46666576v127.8666639z"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<p>Monthly patronage on Patreon: <a href="https://patreon.com/trwnh">patreon.com/trwnh</a></p>
|
||||
</div>
|
||||
<div id="paypal" class="explainer">
|
||||
<div class="image">
|
||||
<svg width=16 height=16 viewBox="0 0 1536 1728" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill="currentColor" d="M1519 646c13 60 10 129-4 204-65 330-284 444-565 444h-44c-34 0-62 25-68 59l-4 19-55 346-2 15c-7 34-35 59-69 59H457c-28 0-46-23-42-51 18-112 35-224 53-336s36-223 54-335c3-24 19-37 43-37 40 0 80-1 131 0 72 1 155-3 236-21 108-24 206-68 287-144 73-68 122-152 155-246 15-44 27-88 35-133 2-12 5-10 12-5 55 41 86 96 98 162zm-172-282c0 82-19 160-46 236-52 151-150 259-302 315-81 29-166 41-252 42-60 1-120 0-180 0-65 0-106 32-118 96-14 76-69 430-85 530-1 7-4 10-12 10H57c-30 0-52-26-48-55L241 67c6-38 40-67 79-67h598c43 0 142 19 209 45 142 55 220 167 220 319z"/>
|
||||
</svg>
|
||||
|
||||
</div>
|
||||
<p>For direct, one-time contributions, you can use Paypal with my email address <b>a@trwnh.com</b></p>
|
||||
</div>
|
||||
<div id="cashapp" class="explainer">
|
||||
<div class="image">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="app-icon" width=16 height=16 viewBox="8 8 48 48"><path d="M42.47 23.8c.5.5 1.33.5 1.8-.0l2.5-2.6c.53-.5.5-1.4-.06-1.94a19.73 19.73 0 0 0-6.72-3.84l.79-3.8c.17-.83-.45-1.61-1.28-1.61h-4.84a1.32 1.32 0 0 0-1.28 1.06l-.7 3.38c-6.44.33-11.9 3.6-11.9 10.3 0 5.8 4.51 8.29 9.28 10 4.51 1.72 6.9 2.36 6.9 4.78 0 2.49-2.38 3.95-5.9 3.95-3.2 0-6.56-1.07-9.16-3.68a1.3 1.3 0 0 0-1.84-.0l-2.7 2.7a1.36 1.36 0 0 0 .0 1.92c2.1 2.07 4.76 3.57 7.792 4.4l-.74 3.57c-.17.83.44 1.6 1.27 1.61l4.85.04a1.32 1.32 0 0 0 1.3-1.06l.7-3.39C40.28 49.07 45 44.8 45 38.57c0-5.74-4.7-8.16-10.4-10.13-3.26-1.21-6.08-2.04-6.08-4.53 0-2.42 2.63-3.38 5.27-3.38 3.36 0 6.59 1.39 8.7 3.29z" fill="currentColor"/></svg>
|
||||
</div>
|
||||
<p>You can also use Cashapp if you'd prefer: <a href="https://cash.me/$trwnh">$trwnh</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
{{ end }}
|
|
@ -1,62 +1,11 @@
|
|||
{{ define "main" }}
|
||||
<main id="index">
|
||||
<header class="section" id="summary">
|
||||
<div class="container">
|
||||
<article class="vcard h-card">
|
||||
<div class="banner"><img src="/images/people/avatar.png" alt="me" class="photo u-photo"></div>
|
||||
<dl>
|
||||
<dt>full name</dt>
|
||||
<dd class="fn n p-name"><span class="given-name">abdullah</span> <span class="family-name">tarawneh</span></dd>
|
||||
<dt>preferred name</dt>
|
||||
<dd class="nickname p-nickname">a</dd>
|
||||
<dt>email (smtp)</dt>
|
||||
<dd><a href="mailto:a@trwnh.com" class="email u-email">a@trwnh.com</a></dd>
|
||||
<dt>chat (xmpp)</dt>
|
||||
<dd><a href="xmpp:a@trwnh.com" class="url u-impp">a@trwnh.com</a></dd>
|
||||
<dt>social (activitypub)</dt>
|
||||
<dd><a href="https://mastodon.social/@trwnh" rel="me" class="url u-url">mastodon.social/@trwnh</a></dd>
|
||||
<dt>notes</dt>
|
||||
<dd class="note p-note">i have approximate knowledge of many things. perpetual student. (nb/ace/they)</dd>
|
||||
</dl>
|
||||
</article>
|
||||
<div class="quotes">
|
||||
<h2 class="heading">things people have said to me</h2>
|
||||
<div class="quotes-container">
|
||||
<blockquote>
|
||||
<p>it's scary how much you know.</p>
|
||||
</blockquote>
|
||||
<blockquote style="text-align: right">
|
||||
<p>you're the first person i've met that keeps a spreadsheet of their lightbulbs.</p>
|
||||
</blockquote>
|
||||
<blockquote style="text-align: center">
|
||||
<p>VERY MUCH not garbage [...] a worthwhile human</p>
|
||||
</blockquote>
|
||||
<blockquote>
|
||||
<p>honestly, i trust your judgement more than i trust my own.</p>
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<main>
|
||||
<header>
|
||||
<div class="container"></div>
|
||||
</header>
|
||||
<section class="" id="birdsounds">
|
||||
<section>
|
||||
<div class="container">
|
||||
<div class="info">
|
||||
<picture>
|
||||
<source type="image/avif" srcset="/images/logos/koken_y.avif">
|
||||
<img class="logo" src="/images/logos/koken_y.png" alt="birdsounds.media logo">
|
||||
</picture>
|
||||
<a href="https://birdsounds.media" class="">view my photos</a>
|
||||
</div>
|
||||
<picture>
|
||||
<source type="image/avif" srcset="/images/soulpunx.avif">
|
||||
<img class="photo" src="/images/soulpunx.jpg" alt="#soulpunx">
|
||||
</picture>
|
||||
</div>
|
||||
</section>
|
||||
<section class="section" id="updates">
|
||||
<div class="container">
|
||||
<h2 class="heading">latest updates</h2>
|
||||
<p>2022-07-04: currently working on my websites, trying to do some documentation for a personal project, and looking for work. check out the "work" tab of this site for my elevator pitch.</p>
|
||||
{{.Content}}
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{{ if .IsTranslated }}
|
||||
{{ range .Translations }}
|
||||
<a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
|
@ -1,35 +0,0 @@
|
|||
<footer class="site-footer">
|
||||
<hr>
|
||||
<div class="container">
|
||||
<ul class="breadcrumbs">
|
||||
{{ template "breadcrumb" (dict "p1" . "p2" .) }}
|
||||
</ul>
|
||||
<a href="#top">back to top</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{{ define "breadcrumb" }}
|
||||
{{ if .p1.Parent }}
|
||||
{{ template "breadcrumb" (dict "p1" .p1.Parent "p2" .p2 ) }}
|
||||
{{ else if not .p1.IsHome }}
|
||||
{{ template "breadcrumb" (dict "p1" .p1.Site.Home "p2" .p2 ) }}
|
||||
{{ end }}
|
||||
<li{{ if eq .p1 .p2 }} class="active"{{ end }}>
|
||||
<a href="{{ .p1.RelPermalink }}">{{ .p1.Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
<script type="text/javascript">
|
||||
var sc_project=12701041;
|
||||
var sc_invisible=1;
|
||||
var sc_security="006094ec";
|
||||
</script>
|
||||
<script type="text/javascript"
|
||||
src="https://www.statcounter.com/counter/counter.js"
|
||||
async></script>
|
||||
<noscript><div class="statcounter"><a title="Web Analytics
|
||||
Made Easy - Statcounter" href="https://statcounter.com/"
|
||||
target="_blank"><img class="statcounter"
|
||||
src="https://c.statcounter.com/12701041/0/006094ec/1/"
|
||||
alt=""
|
||||
referrerPolicy="no-referrer-when-downgrade"></a></div></noscript>
|
|
@ -1,29 +0,0 @@
|
|||
<header class="site-header">
|
||||
<div class="container">
|
||||
<a href="/" class="site-masthead">
|
||||
<img class="site-icon" width=32 src="/images/people/avatar.png">
|
||||
<p class="site-title">i'm abdullah tarawneh, creative and technical consultant.</p>
|
||||
</a>
|
||||
<nav class="site-nav">
|
||||
<ul>
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
<li class='
|
||||
{{ if or ($currentPage.IsMenuCurrent "main" .) (eq $currentPage.Section .Identifier) }}
|
||||
active
|
||||
{{ end }}'>
|
||||
<a href="{{ .URL | absLangURL }}">
|
||||
{{ .Pre }}
|
||||
<span>{{ .Name }}</span>
|
||||
{{ .Post }}
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ partial "i18nlist.html" . }}
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
<div style="position: relative;">
|
||||
<div id="top" style="scroll-margin-top: var(--header-height);"></div>
|
||||
</div>
|
|
@ -1,90 +0,0 @@
|
|||
{{ define "main" }}
|
||||
<main id="work">
|
||||
<header class="section" id="intro">
|
||||
<div class="container">
|
||||
<h1 class="tagline">i can help you<br> <em>figure out the hard parts.</em></h1>
|
||||
<p class="blurb">need something done? perhaps a website, some documentation, or simply advice on a project? i'm here for you.</p>
|
||||
<a href="mailto:a@trwnh.com" class="primary button"><svg version="1.1" viewBox="0 -256 1850 1850" width=16 height=16 xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <g transform="matrix(1 0 0 -1 30.373 1252.3)"> <path d="m1792 826v-794q0-66-47-113t-113-47h-1472q-66 0-113 47t-47 113v794q44-49 101-87 362-246 497-345 57-42 92.5-65.5t94.5-48 110-24.5h2q51 0 110 24.5t94.5 48 92.5 65.5q170 123 498 345 57 39 100 87zm0 294q0-79-49-151t-122-123q-376-261-468-325-10-7-42.5-30.5t-54-38-52-32.5-57.5-27-50-9h-2q-23 0-50 9t-57.5 27-52 32.5-54 38-42.5 30.5q-91 64-262 182.5t-205 142.5q-62 42-117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5-47t47.5-113z" fill="currentColor"/> </g> </svg><span>email me</span></a>
|
||||
</div>
|
||||
</header>
|
||||
<section class="section" id="process">
|
||||
<div class="container">
|
||||
<h2 class="title"><a href="#process">#</a>a <strong>no-nonsense</strong> approach <br>to making things <em>make sense.</em></h2>
|
||||
<section>
|
||||
<h3 class="subtitle">
|
||||
your needs come first.
|
||||
</h3>
|
||||
<p class="blurb">we'll sit down and figure out <br>exactly what your problem is, <br>and what your requirements are.</p>
|
||||
</section>
|
||||
<section>
|
||||
<h3 class="subtitle">
|
||||
|
||||
</h3>
|
||||
<p class="blurb"></p>
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
<section class="section" id="praise">
|
||||
<div class="container">
|
||||
<h2 class="title"><a href="#praise">#</a>what others have said:</h2>
|
||||
<div class="testimonials">
|
||||
<div class="testimonial">
|
||||
{{ template "shortcodes/people/khalil.html" . }}
|
||||
<p class="name">Khalil Saadiq,<br>former classmate</p>
|
||||
<blockquote class="bubble">it's scary how much you know.</blockquote>
|
||||
</div>
|
||||
<div class="testimonial">
|
||||
{{ template "shortcodes/people/gargron.html" . }}
|
||||
<p class="name">Eugen Rochko,<br>Mastodon developer</p>
|
||||
<blockquote class="bubble">bless you for being here to work on the docs btw. it's a big relief.</blockquote>
|
||||
</div>
|
||||
<div class="testimonial">
|
||||
{{ template "shortcodes/people/dansup.html" . }}
|
||||
<p class="name">Daniel Supernault,<br>Pixelfed developer</p>
|
||||
<blockquote class="bubble">i don't trust anyone as much as you to shape the direction of the project.</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="section" id="interstitial">
|
||||
<div class="container">
|
||||
<h2 class="title">i bet i can make <em class="you">you</em> feel the same way.</h2>
|
||||
<p class="blurb">do you want a <strong>knowledgeable</strong> person you can <strong>trust</strong> to do the work <strong>right</strong>, as well? i'd love to add <em class="you">your</em> praise above.</p>
|
||||
<a href="mailto:a@trwnh.com" class="email button primary"><svg version="1.1" viewBox="0 -256 1850 1850" width=16 height=16 xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <g transform="matrix(1 0 0 -1 30.373 1252.3)"> <path d="m1792 826v-794q0-66-47-113t-113-47h-1472q-66 0-113 47t-47 113v794q44-49 101-87 362-246 497-345 57-42 92.5-65.5t94.5-48 110-24.5h2q51 0 110 24.5t94.5 48 92.5 65.5q170 123 498 345 57 39 100 87zm0 294q0-79-49-151t-122-123q-376-261-468-325-10-7-42.5-30.5t-54-38-52-32.5-57.5-27-50-9h-2q-23 0-50 9t-57.5 27-52 32.5-54 38-42.5 30.5q-91 64-262 182.5t-205 142.5q-62 42-117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5-47t47.5-113z" fill="currentColor"/> </g> </svg> Email me</a>
|
||||
</div>
|
||||
</section>
|
||||
<section class="section" id="timeline">
|
||||
<div class="container">
|
||||
<h2 class="title"><a href="#timeline">#</a>here's a timeline of work i've done.</h2>
|
||||
<div class="timeline">
|
||||
{{ range .Pages.ByDate }}
|
||||
<article class="timeline-item {{ .Permalink | relURL | anchorize }}">
|
||||
<h3 class="timeline-item__title">{{ .Params.position }}</h3>
|
||||
<p class="timeline-item__summary">{{.Summary}}</p>
|
||||
<span class="timeline-item__daterange">
|
||||
<datetime class="timeline-item__date">{{ .Params.start }}</datetime> – <datetime class="timeline-item__date">{{ .Params.end }}</datetime>
|
||||
</span>
|
||||
<span class="timeline-item__at">at {{ .Params.at }}</span>
|
||||
<a class="timeline-item__readmore button primary" href="{{ .Permalink }}">Read more...</a>
|
||||
</article>
|
||||
{{ end }}
|
||||
<section class="you timeline-item" id="hireme">
|
||||
<h3 class="timeline-item__title">You could be here.</h3>
|
||||
<p class="timeline-item__summary">i'm currently <strong>available</strong> for work. let's get in touch.</p>
|
||||
<span class="timeline-item__daterange">Today</span>
|
||||
<span class="timeline-item__at">at your service</span>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="section" id="cta">
|
||||
<div class="container">
|
||||
<div class="buttons">
|
||||
<a href="mailto:a@trwnh.com" class="email button primary"><svg version="1.1" viewBox="0 -256 1850 1850" width=16 height=16 xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <g transform="matrix(1 0 0 -1 30.373 1252.3)"> <path d="m1792 826v-794q0-66-47-113t-113-47h-1472q-66 0-113 47t-47 113v794q44-49 101-87 362-246 497-345 57-42 92.5-65.5t94.5-48 110-24.5h2q51 0 110 24.5t94.5 48 92.5 65.5q170 123 498 345 57 39 100 87zm0 294q0-79-49-151t-122-123q-376-261-468-325-10-7-42.5-30.5t-54-38-52-32.5-57.5-27-50-9h-2q-23 0-50 9t-57.5 27-52 32.5-54 38-42.5 30.5q-91 64-262 182.5t-205 142.5q-62 42-117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5-47t47.5-113z" fill="currentColor"/> </g> </svg> Email me</a>
|
||||
<a href="/resume" class="resume button secondary"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" width=16 height=16><path d="M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H303.2c.9-4.5.8 3.6.8-22.4 0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6 0 26-.2 17.9.8 22.4H48V144h480v288zm-168-80h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm-168 96c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64z"/></svg> Résume (HTML)</a>
|
||||
<a href="/resume/abdullah-tarawneh_resume.pdf" class="resume button secondary"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" width=16 height=16><path d="M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm76.45 211.36l-96.42 95.7c-6.65 6.61-17.39 6.61-24.04 0l-96.42-95.7C73.42 337.29 80.54 320 94.82 320H160v-80c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v80h65.18c14.28 0 21.4 17.29 11.27 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"/></svg> Résume (PDF)</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
{{ end }}
|
|
@ -1,3 +0,0 @@
|
|||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
674
themes/at/LICENSE
Normal file
674
themes/at/LICENSE
Normal file
|
@ -0,0 +1,674 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
1
themes/at/hugo.toml
Normal file
1
themes/at/hugo.toml
Normal file
|
@ -0,0 +1 @@
|
|||
# Theme config.
|
14
themes/at/layouts/404.html
Normal file
14
themes/at/layouts/404.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<header>
|
||||
<div class="container">
|
||||
<h1>404</h1>
|
||||
</div>
|
||||
</header>
|
||||
<section>
|
||||
<div class="container">
|
||||
<p>Page not found</p>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
{{ end }}
|
19
themes/at/layouts/_default/baseof.html
Normal file
19
themes/at/layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{{- partial "seo.html" . -}}
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
.container {padding-inline: 1em;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
{{- partial "site-header.html" . -}}
|
||||
{{- block "main" . }}{{- end }}
|
||||
{{- partial "site-footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
53
themes/at/layouts/_default/list.html
Normal file
53
themes/at/layouts/_default/list.html
Normal file
|
@ -0,0 +1,53 @@
|
|||
{{ define "main" }}
|
||||
<main class="list">
|
||||
<div class="container">
|
||||
<header class="list-header">
|
||||
<h1 class="list-title">{{ .Title }}</h1>
|
||||
</header>
|
||||
<section class="content">
|
||||
{{ .Content }}
|
||||
</section>
|
||||
<section class="pages-in-list">
|
||||
<h2>Pages in this section</h2>
|
||||
<ul class="pages">
|
||||
{{ range .Pages }}
|
||||
<li class="page">
|
||||
<article>
|
||||
<a class="headline" href="{{.Permalink}}">
|
||||
<h1 class="page-title">{{ .Title }}</h1>
|
||||
<time class="page-date" datetime='{{ .Date.Format "2006-01-02" }}'>{{ .Date.Format "2006-01-02" }}</time>
|
||||
</a>
|
||||
<p class="page-summary">{{ .Summary }}</p>
|
||||
</article>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
<style>
|
||||
.pages {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
gap: 1em;
|
||||
}
|
||||
.list-title {
|
||||
|
||||
}
|
||||
.headline {
|
||||
display: flex;
|
||||
flex-flow: row-reverse wrap;
|
||||
align-items: center;
|
||||
justify-content: start;
|
||||
gap: 0.5em;
|
||||
}
|
||||
.page-title {
|
||||
margin: 0;
|
||||
}
|
||||
.page-summary {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
{{ end }}
|
0
themes/at/layouts/_default/single.html
Normal file
0
themes/at/layouts/_default/single.html
Normal file
11
themes/at/layouts/partials/nav-main.html
Normal file
11
themes/at/layouts/partials/nav-main.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<nav class="nav-main">
|
||||
<ul>
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ $active := or ($currentPage.IsMenuCurrent "main" .) (eq $currentPage.Section .Identifier)}}
|
||||
<li class='{{ .Identifier }}{{ if $active }} active{{ end }}'>
|
||||
<a href="{{.URL}}">{{.Name}}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
124
themes/at/layouts/partials/seo.html
Normal file
124
themes/at/layouts/partials/seo.html
Normal file
|
@ -0,0 +1,124 @@
|
|||
{{/* last modified 2023-08-24 */}}
|
||||
|
||||
{{ "<!-- title -->" | safeHTML }}
|
||||
<title>{{ .Title }} • {{ .Site.Title }}</title>
|
||||
<meta itemprop="name" property="og:title" content="{{ .Title }}" />
|
||||
<meta name="twitter:title" content="{{ .Title }}" />
|
||||
<meta name="application-name" property="og:site_name" content="{{ .Site.Title }}" />
|
||||
|
||||
{{- with or .Description .Summary .Site.Params.description }}
|
||||
{{ "<!-- description -->" | safeHTML }}
|
||||
<meta name="description" itemprop="description" property="og:description" content="{{.}}">
|
||||
<meta name="twitter:description" content="{{.}}" />
|
||||
{{ end -}}
|
||||
{{ "<!-- url -->" | safeHTML }}
|
||||
<base href="{{ .Permalink | absURL }}">
|
||||
<link rel="canonical" href="{{ .Permalink | absURL }}" />
|
||||
<meta name="url" property="og:url" itemprop="url" content="{{ .Permalink | absURL }}" />
|
||||
<meta name="twitter:url" content="{{ .Permalink | absURL }}" />
|
||||
|
||||
{{- $cover := ($.Resources.ByType "image").GetMatch "{*cover*,*thumbnail*,*featured*}" -}}
|
||||
{{ $icon := resources.GetMatch (default "" .Site.Params.icon) -}}
|
||||
{{- $staticIcon := "icon.png" | absURL -}}
|
||||
{{- with or $cover $icon }}
|
||||
{{ "<!-- image -->" | safeHTML }}
|
||||
<meta property="og:image" itemprop="image" content='{{ .Permalink | absURL }}' />
|
||||
{{- with .Width }}
|
||||
<meta property="og:image:width" content='{{ . }}' />
|
||||
{{- end }}
|
||||
{{- with .Height }}
|
||||
<meta property="og:image:height" content='{{ . }}' />
|
||||
{{- end }}
|
||||
{{- else }}{{/* no image found */}}
|
||||
{{ "<!-- image -->" | safeHTML }}
|
||||
<meta property="og:image" itemprop="image" content='{{ $staticIcon }}' />
|
||||
{{- end -}}
|
||||
|
||||
{{/*=== author ===*/}}
|
||||
{{ with or .Params.author .Site.Params.author -}}
|
||||
{{ "<!-- author -->" | safeHTML }}
|
||||
<meta property="article:publisher" content="{{ . }}" />
|
||||
<meta property="og:article:author" content="{{ . }}" />
|
||||
<meta property="article:author" content="{{ . }}" />
|
||||
<meta name="author" content="{{ . }}" />
|
||||
{{- end -}}
|
||||
|
||||
{{/*=== published and updated ===*/}}
|
||||
{{ "<!-- time -->" | safeHTML }}
|
||||
{{- with .Date }}
|
||||
<meta property="og:article:published_time" content={{ .Format "2006-01-02T15:04:05Z0700" | safeHTML }} />
|
||||
<meta property="article:published_time" content={{ .Format "2006-01-02T15:04:05Z0700" | safeHTML }} />
|
||||
{{ end -}}
|
||||
{{ with .Lastmod -}}
|
||||
<meta property="og:updated_time" content={{ .Format "2006-01-02T15:04:05Z0700" | safeHTML }} />
|
||||
{{ end -}}
|
||||
|
||||
{{/*=== section and keywords ===*/}}
|
||||
{{- with.Params.category -}}
|
||||
<meta name="news_keywords" content="{{ . }}" />
|
||||
<meta property="article:section" content="{{ . }}" />
|
||||
{{- end -}}
|
||||
{{- with .Params.tags }}
|
||||
<meta name="keywords" content='{{ delimit . " "}}'>
|
||||
{{- end -}}
|
||||
|
||||
{{- if isset .Params "date" -}}
|
||||
{{ "<!-- article metadata -->" | safeHTML }}
|
||||
<meta property="og:type" content="article" />
|
||||
<script defer type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "Article",
|
||||
"headline": {{ .Title }},
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "{{ or .Params.author .Site.Params.author }}"
|
||||
},
|
||||
"datePublished": "{{ .Date.Format "2006-01-02" }}",
|
||||
"description": {{ or .Description .Summary }},
|
||||
"wordCount": {{ .WordCount }},
|
||||
"mainEntityOfPage": "True",
|
||||
"dateModified": "{{ .Lastmod.Format "2006-01-02" }}",
|
||||
"image": {
|
||||
"@type": "imageObject",
|
||||
"url": "{{ with or $cover $icon }}{{ .Permalink | absURL }}{{ end }}"
|
||||
},
|
||||
"publisher": {
|
||||
"@type": "Person",
|
||||
"name": "{{ or .Params.author .Site.Params.author .Site.Title }}",
|
||||
"logo": {
|
||||
"@type": "imageObject",
|
||||
"url": {{with $icon}}{{.Permalink}}{{else}}{{$staticIcon}}{{end}}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
{{- else -}}
|
||||
{{ "<!-- webpage metadata -->" | safeHTML }}
|
||||
<meta property="og:type" content="website" />
|
||||
<script defer type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "WebSite",
|
||||
"url": {{ .Permalink }},
|
||||
"name": "{{ .Site.Title }}",
|
||||
"logo": {{with $icon}}{{.Permalink}}{{else}}{{$staticIcon}}{{end}}
|
||||
}
|
||||
</script>
|
||||
{{- end -}}
|
||||
|
||||
{{/* auxiliary info */}}
|
||||
{{ "<!-- site presentation -->" | safeHTML }}
|
||||
{{- with $icon }}
|
||||
<link rel="shortcut icon" href='{{ .Permalink }}' sizes="{{.Width}}x{{.Height}}">
|
||||
{{- else }}
|
||||
<link rel="shortcut icon" href='{{ $staticIcon }}' sizes="512x512">
|
||||
{{- end }}
|
||||
<meta name="theme-color" content="#ffffff" />
|
||||
<meta name="msapplication-TileColor" content="#ffffff" />
|
||||
<link rel="sitemap" type="application/xml" title="Sitemap" href="{{ .Site.BaseURL }}sitemap.xml" />
|
||||
{{ with .OutputFormats.Get "RSS" -}}
|
||||
<link href="{{ .Permalink }}" rel="feed alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
||||
{{- end }}
|
||||
<meta name="robots" content="index,follow" />
|
||||
<meta name="googlebot" content="index,follow" />
|
31
themes/at/layouts/partials/site-footer.html
Normal file
31
themes/at/layouts/partials/site-footer.html
Normal file
|
@ -0,0 +1,31 @@
|
|||
<footer class="site-footer">
|
||||
<hr>
|
||||
<div class="container">
|
||||
<section>
|
||||
<p class="section-heading">Sections</p>
|
||||
{{ partial "nav-main.html" . }}
|
||||
</section>
|
||||
<section>
|
||||
<p class="section-heading">Contact</p>
|
||||
<ul>
|
||||
<li>Email: <a href="mailto:a@trwnh.com">a@trwnh.com</a></li>
|
||||
<li>XMPP: <a href="xmpp:a@trwnh.com">a@trwnh.com</a></li>
|
||||
<li>Social: <a href="https://mastodon.social/@trwnh">mastodon.social/@trwnh</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
</footer>
|
||||
<style>
|
||||
.site-footer .nav-main ul {
|
||||
list-style: none;
|
||||
padding-inline-start: 0;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
gap: 0.5em;
|
||||
}
|
||||
|
||||
.site-footer .section-heading {
|
||||
font-weight: bold;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
</style>
|
35
themes/at/layouts/partials/site-header.html
Normal file
35
themes/at/layouts/partials/site-header.html
Normal file
|
@ -0,0 +1,35 @@
|
|||
<header class="site-header">
|
||||
<div class="container">
|
||||
<p class="site-title">
|
||||
<a href="{{.Site.BaseURL}}">{{.Site.Title}}</a>
|
||||
</p>
|
||||
{{ partial "nav-main.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
<style>
|
||||
.site-title {
|
||||
font-size: 1.25em;
|
||||
margin: 0;
|
||||
}
|
||||
.site-title a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
font-weight: bold;
|
||||
}
|
||||
.site-header .nav-main ul {
|
||||
list-style: none;
|
||||
padding-inline-start: 0;
|
||||
margin-block: 0;
|
||||
display: flex;
|
||||
}
|
||||
.site-header .nav-main ul li:not(:first-child) {
|
||||
margin-left: 1em;
|
||||
}
|
||||
.site-header .container {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding-block: 1em;
|
||||
}
|
||||
</style>
|
15
themes/at/theme.toml
Normal file
15
themes/at/theme.toml
Normal file
|
@ -0,0 +1,15 @@
|
|||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||
|
||||
name = "AT"
|
||||
license = "GPLv3"
|
||||
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
|
||||
description = "A theme for abdullahtarawneh.com"
|
||||
homepage = "https://abdullahtarawneh.com/"
|
||||
tags = []
|
||||
features = []
|
||||
min_version = "0.116.1"
|
||||
|
||||
[author]
|
||||
name = "Abdullah Tarawneh"
|
||||
homepage = "https://abdullahtarawneh.com"
|
1
themes/basis
Submodule
1
themes/basis
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 16efaa11ffcb05985a67f6e892c8ac4d66d4ae03
|
Loading…
Reference in a new issue