Skip to content
Code for http://phillipharrington.com - A file/twig driven CMS - Fork and Enjoy
PHP HTML JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
content
db/migrations
public
resources/assets fixing column divs, moving 404, updating twig cache config path, addi… Mar 29, 2016
src Merge branch 'master' into develop Aug 11, 2019
views
.bowerrc
.env.example
.gitignore Merge branch 'master' into develop Aug 11, 2019
README.md readme additions Mar 25, 2016
bootstrap.php adding to git ignore + more changes from live Aug 11, 2019
bower.json
clear-cache.php
composer.json Merge branch 'master' into develop Aug 11, 2019
composer.lock
composer.phar
config.php
elixir.json
gulpfile.js updates Oct 11, 2017
package.json updates Oct 11, 2017
phinx.yml updates Oct 11, 2017

README.md

Phillip Harrington dot com

Code used on http://phillipharrington.com

Was going for a file/twig driven content management system. No database. Opinionated. Lightning fast.

Has simple pages, blog entries, and categories. No tags yet. No nested categories. No customizable stuff. Permalinks are just /{slug}.

Comes with a contact script in content/scripts/contact.php, found at /contact. Possibility to add your own scripts, as needed.

Dynamic Stuff

  • The blog categories are just folders in the content/blog folder, but you have to make a page for each category, sorry. That part's not dynamic.

Static Stuff

Things you have to tweak:

  • The .env file, obviously.
  • The content, obviously.
  • The layout/look/feel, especially the Nav
  • The styles.
  • Your own JS, if you like.
  • The email template in views/emails/contact, if you so desire.
  • As I said above, the blog categories are just folders in the content/blog folder, but you have to make a page for each category, sorry. That part's not dynamic.

TODO

  • Make the link shortener into a class in src, maybe extract faery to it's own repo.
  • Add some starter content.
  • Make the basic template a little more generic.
  • Put more config things for site name etc. In other words, get all the Phillip Harrington stuff out, by default.
  • Put tag manager in the config
  • Add some twig functions for tag manager stuff
  • Maybe make the blog category pages dynamic?

Fork and Enjoy!

You can’t perform that action at this time.