https://github.com/sonph/sonph.github.io
https://github.com/sonph/sonph.github.io
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sonph/sonph.github.io
- Owner: sonph
- Created: 2016-05-30T08:34:55.000Z (about 10 years ago)
- Default Branch: dev
- Last Pushed: 2020-06-03T19:20:28.000Z (about 6 years ago)
- Last Synced: 2025-10-12T02:06:29.391Z (8 months ago)
- Language: HTML
- Size: 2.68 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sonph.github.io
## Build
Dependencies:
- `ruby`
- `npm`
- `brew`
```
make install
```
Development flow:
```
tmux new -s sonphgithubio
make dev
```
## Notes
- Use `
` for mac
window screenshots that already have shadow.
## File structure
- `_data`: site data
- `_includes`: html fragments to be included
- `_layouts`: layouts (default, post, etc.)
- `_posts`: posts contents in markdown format
- `_pug`: pug templates generated to html files in root (`{index,posts.projects}.html`)
- `_pug/layouts`: pug templates generated to html files in `_layouts`
- `_site`: generated site ready to serve (should not be committed as GHPages will automatically generate)
- `assets`: css, font-awesome, images, javascript
- `css/app.sass` is generated to css by jekyll
- `r`: redirects e.g. `sonpham.me/r/codelab`
- `utils`: dev utils