Compare commits
	
		
			No commits in common. "43c3c334f22793c793961981d22e0b6cf3aba370" and "170cce31ca58fd16eca8309e4827e0983d053d01" have entirely different histories.
		
	
	
		
			43c3c334f2
			...
			170cce31ca
		
	
		
					 5 changed files with 905 additions and 2231 deletions
				
			
		| 
						 | 
				
			
			@ -41,11 +41,11 @@ setup(hljs);
 | 
			
		|||
const md = markdownit({
 | 
			
		||||
  linkify: true,
 | 
			
		||||
  html: true,
 | 
			
		||||
  highlight: function (str, lang) {
 | 
			
		||||
  highlight: function(str, lang) {
 | 
			
		||||
    if (lang && hljs.getLanguage(lang)) {
 | 
			
		||||
      try {
 | 
			
		||||
        return hljs.highlight(str, { language: lang }).value;
 | 
			
		||||
      } catch (__) { }
 | 
			
		||||
      } catch (__) {}
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    return ''; // use external default escaping
 | 
			
		||||
| 
						 | 
				
			
			@ -53,7 +53,7 @@ const md = markdownit({
 | 
			
		|||
});
 | 
			
		||||
md.use(markdownitClass, markdownClassMapping);
 | 
			
		||||
 | 
			
		||||
module.exports = function (eleventyConfig) {
 | 
			
		||||
module.exports = function(eleventyConfig) {
 | 
			
		||||
  let nunjucksEnvironment = new Nunjucks.Environment(
 | 
			
		||||
    new Nunjucks.FileSystemLoader("_includes")
 | 
			
		||||
  );
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										15
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										15
									
								
								README.md
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -6,17 +6,28 @@ Uses [mise](https://mise.jdx.dev/), install necessary runtimes with `mise instal
 | 
			
		|||
 | 
			
		||||
## Developing
 | 
			
		||||
 | 
			
		||||
In two terminals
 | 
			
		||||
```sh
 | 
			
		||||
# first terminal
 | 
			
		||||
npm start
 | 
			
		||||
 | 
			
		||||
# second terminal
 | 
			
		||||
npm run start:site
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Building for production, static site
 | 
			
		||||
 | 
			
		||||
```sh
 | 
			
		||||
npm run build
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Deploy steps
 | 
			
		||||
 | 
			
		||||
Requires Docker, NodeJS
 | 
			
		||||
 | 
			
		||||
_Docker container automatically performs dependency install and build_
 | 
			
		||||
 | 
			
		||||
```sh
 | 
			
		||||
npm run deploy
 | 
			
		||||
# or...
 | 
			
		||||
docker compose up --build -d
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,7 +25,6 @@
 | 
			
		|||
    <meta property="og:image:alt" content="Gaiety's visual representation as a fursona (an original furry fandom character) depicted as an animated gif falling downward with a controlled hand outstretched. Faer hair and tail waves in the wind while their floppy dog ears flop about as well. Fae are an anthromorphic canine like a german shepherd clothed like a human in a t-shirt and denim shorts. Art is by Lynte." />
 | 
			
		||||
  {% endif %}
 | 
			
		||||
  <meta property="og:url" content="https://gaiety.me{{ page.url }}" />
 | 
			
		||||
  <meta name="generator" content="Eleventy v3.0.0">
 | 
			
		||||
 | 
			
		||||
  <link href="/styles.css" rel="stylesheet">
 | 
			
		||||
  <link href="/catppuccin.variables.css" rel="stylesheet">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										3105
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										3105
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							| 
						 | 
				
			
			@ -5,12 +5,10 @@
 | 
			
		|||
  "author": "Ava Gaiety W. <ava@wroten.me> (https://www.gaiety.me/)",
 | 
			
		||||
  "main": "index.js",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "prestart": "npm run build",
 | 
			
		||||
    "start": "run-p start:*",
 | 
			
		||||
    "start:styles": "npx postcss styles.css -o _site/styles.css --watch",
 | 
			
		||||
    "start": "npx postcss styles.css -o _site/styles.css --watch",
 | 
			
		||||
    "start:site": "npx @11ty/eleventy --serve",
 | 
			
		||||
    "build": "npx @11ty/eleventy",
 | 
			
		||||
    "postbuild": "run-s postbuild:*",
 | 
			
		||||
    "postbuild": "npm run postbuild:styles && npm run postbuild:highlighttheme",
 | 
			
		||||
    "postbuild:highlighttheme": "cp ./node_modules/@catppuccin/highlightjs/css/catppuccin.variables.css ./_site",
 | 
			
		||||
    "postbuild:styles": "npx tailwindcss -i styles.css -o _site/styles.css --env production",
 | 
			
		||||
    "optimize": "rm -rf _site/_jampack && jampack _site",
 | 
			
		||||
| 
						 | 
				
			
			@ -29,7 +27,7 @@
 | 
			
		|||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@11ty/eleventy": "^3.0.0",
 | 
			
		||||
    "@11ty/eleventy": "^2.0.1",
 | 
			
		||||
    "@11ty/eleventy-plugin-syntaxhighlight": "^3.1.3",
 | 
			
		||||
    "@catppuccin/highlightjs": "^0.1.4",
 | 
			
		||||
    "@catppuccin/tailwindcss": "^0.1.6",
 | 
			
		||||
| 
						 | 
				
			
			@ -42,7 +40,6 @@
 | 
			
		|||
    "highlightjs-glimmer": "^2.2.1",
 | 
			
		||||
    "install": "^0.13.0",
 | 
			
		||||
    "npm": "^10.5.0",
 | 
			
		||||
    "npm-run-all": "^4.1.5",
 | 
			
		||||
    "postcss": "^8.3.11",
 | 
			
		||||
    "postcss-cli": "^9.0.1",
 | 
			
		||||
    "tailwindcss": "^3.4.1",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue