Fix compiling via Makefile and remove public/_data.json 🎉

This commit is contained in:
Sami Samhuri 2019-12-01 22:48:21 -08:00
parent 95a240cbf5
commit 545f3b89ae
3 changed files with 5 additions and 137 deletions

View file

@ -2,7 +2,7 @@ all: compile
compile:
@echo
./bin/compile .
./bin/compile . www
publish: compile
@echo

View file

@ -33,15 +33,15 @@ Execution, trying TDD for the first time:
- [x] Transform LESS into CSS
- [ ] Migrate static pages to the new site generator
- [x] Migrate static pages to the new site generator
- [x] About
- [ ] 404 / missing
- [x] 404 / missing (configure via .htaccess as well)
- [x] cv
- [ ] check and delete _data.json
- [x] check and delete _data.json
- [ ] Migrate projects to the new site generator
@ -65,7 +65,7 @@ Execution, trying TDD for the first time:
- [ ] Migrate archive
- [ ] Add a link to the code for samhuri.net somewhere ... so meta (about page?)
- [x] Add a link to the code for samhuri.net somewhere ... so meta (about page?)
- [ ] Generate RSS feed (ditch mustache templates)

View file

@ -1,132 +0,0 @@
{
"title": "samhuri.net",
"subtitle": "Sami Samhuri",
"url": "https://samhuri.net",
"styles": [
"/css/normalize.css",
"/css/style.css"
],
"scripts": [
],
"archive": {
"title": "Archive"
},
"about": {
"title": "About me"
},
"cv": {
"title": "Curriculum vitae"
},
"posts": [
{
"title": "A nil-coalescing alternative for Swift",
"date": "6th October, 2017",
"timestamp": 1507324813,
"tags": [
"ios",
"swift"
],
"author": "Sami Samhuri",
"url": "/posts/2017/10/swift-optional-or"
},
{
"title": "Easy Optimization Wins",
"date": "10th August, 2016",
"timestamp": 1470850249,
"tags": [
"ios",
"git"
],
"author": "Sami Samhuri",
"url": "/posts/2016/08/easy-optimization-wins"
},
{
"title": "A Git Pre-commit Hook for iOS",
"date": "4th August, 2016",
"timestamp": 1470328683,
"tags": [
"ios",
"git"
],
"author": "Sami Samhuri",
"url": "/posts/2016/08/ios-git-pre-commit-hook"
},
{
"title": "Tales of PRK Laser Eye Surgery",
"date": "12th April, 2016",
"timestamp": 1460433173,
"tags": [
],
"author": "Sami Samhuri",
"url": "/posts/2016/04/tales-of-prk-laser-eye-surgery"
},
{
"title": "→ Reduce the cognitive load of your code",
"date": "30th March, 2016",
"timestamp": 1459347029,
"tags": [
],
"author": "Sami Samhuri",
"url": "/posts/2016/03/reduce-the-cognitive-load-of-your-code",
"link": "http://chrismm.com/blog/how-to-reduce-the-cognitive-load-of-your-code/"
},
{
"title": "→ Moving Beyond the OOP Obsession",
"date": "28th March, 2016",
"timestamp": 1459181327,
"tags": [
],
"author": "Sami Samhuri",
"url": "/posts/2016/03/moving-beyond-the-oop-obsession",
"link": "http://prog21.dadgum.com/218.html"
},
{
"title": "→ Cloak's Updated Privacy Policy",
"date": "27th August, 2015",
"timestamp": 1440644214,
"tags": [
],
"author": "Sami Samhuri",
"url": "/posts/2015/08/cloaks-updated-privacy-policy",
"link": "https://blog.getcloak.com/2015/08/25/updated-privacy-policy/"
},
{
"title": "→ Acorn 5's Live Help Search",
"date": "25th August, 2015",
"timestamp": 1440478827,
"tags": [
],
"author": "Sami Samhuri",
"url": "/posts/2015/08/acorn-5s-live-help-search",
"link": "http://shapeof.com/archives/2015/8/acorn_5_search_index.html"
},
{
"title": "→ Swift: New stuff in Xcode 7 Beta 3",
"date": "9th July, 2015",
"timestamp": 1436458633,
"tags": [
],
"author": "Sami Samhuri",
"url": "/posts/2015/07/swift-new-stuff-in-xcode-7-beta-3",
"link": "http://ericasadun.com/2015/07/08/swift-new-stuff-in-xcode-7-beta-3/"
},
{
"title": "→ Scripts to Rule Them All",
"date": "1st July, 2015",
"timestamp": 1435761424,
"tags": [
],
"author": "Sami Samhuri",
"url": "/posts/2015/07/scripts-to-rule-them-all",
"link": "http://githubengineering.com/scripts-to-rule-them-all/"
}
]
}