How ksylor/ohshitgit works
Oh Shit, Git!? / Dangit, Git!? is a multilingual static site of Git recovery tips, with profanity and swear-free editions. Visitors select a language and edition, then read translated tip pages with command examples; the README documents Eleventy generation and Netlify redirects that select the appropriate edition. The tree and README establish the content and presentation areas, but sampled source does not show their full runtime wiring, so uncertain template and asset relationships are omitted or marked unverified.
Main entry points: index.html Edition Pages · .eleventy.js Eleventy Generator · _redirects Edition Redirects · tips Git Tips
Components 14
Tip Content
- Swear Editions
en - Localized Content
af - Git Tips
en/swears/tips - Edition Pages
en/swears/index.html
Site Presentation
- Language Picker
_includes/partials/langpicker.njk - Edition Partials
en/swears/partials - Page Layout
_includes/layouts/page.njk - Site Styles
_includes/site.css - Code Highlighting
_assets/prism.js
Site Configuration
- Language Data
_data/site.js
Static Site Delivery
- Eleventy Generator
.eleventy.js - Edition Redirects
_redirects
Other components
- Site Visitor
- Netlify
Connections 12
- Site Visitor → Edition Redirects: requests edition
README.md - Edition Redirects → Edition Pages: routes edition
README.md - Site Visitor → Git Tips: reads tips
README.md - Language Data → Language Picker: lists languages
README.md - Eleventy Generator → Swear Editions: generates site
README.md - Eleventy Generator → Localized Content: generates site
README.md - Eleventy Generator → Edition Pages: generates pages
README.md - Netlify → Edition Redirects: serves redirects
README.md - Edition Pages → Page Layout: uses layout
- Edition Pages → Edition Partials: uses partials
- Page Layout → Site Styles: uses styles
- Git Tips → Code Highlighting: highlights commands