Compare commits

...

2 Commits

Author SHA1 Message Date
notplants 5c5946b213 CMS & ssg 2022-07-26 12:13:47 +02:00
notplants bb6d19fd3d Add recipes 2022-07-25 15:46:28 +02:00
7 changed files with 2451 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
nvm use 14
npm run build
rsync -avzh -e "ssh -i /Users/notplants/.ssh/do_rsa2" /Volumes/mdrive/computer/docs/canalswans.info/canalswans-gatsby/public/ root@147.182.177.135:/srv/canalswans.commoninternet.net/
rsync -avzh -e "ssh -i /Users/notplants/.ssh/do_rsa2" /Volumes/mdrive/computer/docs/canalswans.info/garden.canalswans.net/public/ root@147.182.177.135:/srv/canalswans.commoninternet.net/

2408
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,6 +10,7 @@
"@mdx-js/react": "^1.5.2",
"classnames": "^2.2.5",
"gatsby": "^2.16.1",
"gatsby-cli": "^4.19.0",
"gatsby-image": "^2.2.29",
"gatsby-plugin-feed": "^2.3.25",
"gatsby-plugin-manifest": "^2.2.23",

View File

@ -23,7 +23,7 @@ export default class Wiki extends React.Component {
render() {
this.props.wikis.edges.sort((edge1, edge2) => edge1.node.frontmatter.title.length > edge2.node.frontmatter.title.length);
const Posts = this.props.wikis.edges
.filter(edge => !!edge.node.frontmatter.title) // You can filter your posts based on some criteria
.filter(edge => !!edge.node.frontmatter.title && edge.node.frontmatter.level === "1") // You can filter your posts based on some criteria
.map(edge => <PostLink key={edge.node.id} post={edge.node} current={this.props.post.frontmatter.title} />)
var articleClass = "markdownWrapper " + this.props.post.frontmatter.style;
return (

View File

@ -0,0 +1,13 @@
---
path: "/posts/anarchy"
date: "2022-07-19T23:19:51.246Z"
title: "Anarchy"
type: "wiki"
level: "2"
style: "prose"
image: ""
description: ""
note: "Max Fowler"
---
https://en.wikipedia.org/wiki/G%C3%B6del%27s_incompleteness_theorems

View File

@ -10,6 +10,30 @@ description: ""
note: "Max Fowler"
---
lichen
the two cms and static site-generators I'm most interested in are:
gatsby-mdx
[lichen](https://lichen.sensorstation.co/)
[gatsby-mdx](https://www.gatsbyjs.com/docs/glossary/mdx/)
this site was made using gatsby and [kiezpilz.de](http://kiezpilz.de) was made using lichen
I appreciate that lichen is just four files of php. its so simple and lightweight and beautiful.
[@soapdog](https://andregarzia.com/) was able to quickly make a fork that supports [lichen-with-markdown](https://github.com/soapdog/lichen-with-markdown) to allow for inline-links (which gemtext does not support)
I also enjoyed discussing with [@trav](https://teafry.me/) that "maybe php isn't bad" ... what if that is just an idea we have, in part constructed by silicon valley facebook-react hype cycles?
what if php is actually pretty good at what it does?
on a related note, I've enjoyed thinking of wordpress as folk technology. its free, its open source, its used by millions for practical purposes.
as much as people hate on wordpress, there's perhaps a lot to love.
all that said, wordpress is really complicated, and while lichen is beautiful and simple and good for many things, there are some limitations to what you can do with it.
I also appreciate that gatsby is flexible, and once set-up, its worked pretty smoothly. my biggest annoyance with gatsby,
is that after a couple years, when I updated node, the build for my site broke, even though I hadn't made any changes to the site.
I found this very frustrating when I just wanted to make a small change to the site, and not to wrestle with webpack.
I seem to have fixed this problem by switching to using [nvm](https://github.com/nvm-sh/nvm) to only use a specific version of node for building my gatsby site,
and recording in my readme.md which version of node I use to build the site. Now I run "nvm use 14" before I ever build the site,
and am hopeful that this will mean no unexpected breaking of the build in the future, unless I choose to make a change.

View File

@ -20,3 +20,4 @@ note: "Max Fowler"
[lemon cake](https://parkimminent.com/site/lemon-cake.html)
[fried rat](https://www.youtube.com/watch?v=Dn_40K0er0E)