Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dschapman/dschapman-com
Gatsby Blog built as a digital garden. It's is meant to be curated, read, and explored. Trying to think about this as a place I want to use first and foremost.
https://github.com/dschapman/dschapman-com
bidirectional-links blog creative digital-garden gatsby gatsby-theme-brain poetry writing
Last synced: 5 days ago
JSON representation
Gatsby Blog built as a digital garden. It's is meant to be curated, read, and explored. Trying to think about this as a place I want to use first and foremost.
- Host: GitHub
- URL: https://github.com/dschapman/dschapman-com
- Owner: dschapman
- License: mit
- Created: 2018-10-30T23:30:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T20:52:25.000Z (over 1 year ago)
- Last Synced: 2024-03-22T03:35:42.139Z (8 months ago)
- Topics: bidirectional-links, blog, creative, digital-garden, gatsby, gatsby-theme-brain, poetry, writing
- Language: JavaScript
- Homepage: https://www.dschapman.com
- Size: 24.2 MB
- Stars: 41
- Watchers: 3
- Forks: 7
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - dschapman/dschapman-com - Gatsby Blog built as a digital garden. It's is meant to be curated, read, and explored. Trying to think about this as a place I want to use first and foremost. (others)
- jimsghstars - dschapman/dschapman-com - Gatsby Blog built as a digital garden. It's is meant to be curated, read, and explored. Trying to think about this as a place I want to use first and foremost. (JavaScript)
README
# About this Website
The website currently has three different types of posts - articles, poems, and notes. All three are implemented with gatsby-plugin-mdx and I curate links on /articles and /poetry respectively. On the backend I write my notes using [Dendron](https://dendron.so)
## π Notes
Dendron notes use wikilinks, are hierarchical, and context aware. Currently I use gatsby-remark-double-brackets-link to handle the wikilinks and gatsby-remark-copy-linked-files to display when these notes are referenced by another note.
## π Articles
Implemented in gatsby-plugin-mdx. The slug is drawn from slug in the frontmatter, title, and excerpt are also important values. A list of all tags used in articles can be viewed at /articles/tags. These tags will also list links to any note pages that are tagged as well.
## π Poems
Like Articles, all the poems on the site can be seen at /poetry/all. Much of the frontmatter for articles and poems are the same, the exception is the `recording` element which takes the location of an MP3 file and will generate a player at the top of the poem if one exists. Poems have the same tagging system as Articles.
## π Pages
Make sure to import a layout if you're creating an .mdx page in src/pages
## π Directory Structure
```
.
βββ LICENSE
βββ README.md
βββ content
βΒ Β βββ assets
βΒ Β βββ notes <-- Note .mdx or .md files go here
βΒ Β βββ poems <-- Poem .mdx or .md files go here
βΒ Β βΒ Β βββ seasons-of-thought
βΒ Β βββ posts <-- Article .mdx or .md files go here
βββ src
βΒ Β βββ @aengusm / gatsby-theme-brain
βΒ Β βββ components
β β βββ layout <-- General Layout
β β βββ notes <-- Modified layout for the notes
β β βββ poems <-- Modified layout for poems
β β βββ posts <-- Modified layout for articles
β β βββ tags <-- information on generating tags
βΒ Β βββ pages <-- Pages (often .mdx) go here
βββ static <-- It might not be optimized but its sometimes easier to link to images stored here.
βββ gatsby-config.js
βββ gatsby-node.js
βββ yarn.lock
```## βοΈ Bidirectional Links / Link Previews
Link Previews are implemented using Tippy JS Tooltips. gatsby-theme-brain provides native bidirectional linking and the information to easily implement link previews (with a slightly modified GraphQL query); however, in order to get this working across the site I added an MDX component that cycles through every single mdx page and puts the childMdx.body value inside of a tooltip if the slugs match.
Link Previews only show up on larger screen size so make sure to check out the website on your desktop.
## πΊπΌ Styling
This site uses emotion for CSS in JS styling as well as some vanilla CSS. The CSS is inspired and adapted from [Tufte's CSS](https://github.com/edwardtufte/tufte-css).