NOTE I now use the conventions detailed in the SUIT framework
Used to provide structural templates.
Pattern
t-template-name
#!/usr/bin/env ruby -rjcode -Ku | |
# TaskPaper to Markdown converter | |
# Usage: tp2md.rb filename.taskpaper > output.md | |
require 'ftools' | |
infile = ARGV[0] | |
title = File.basename(infile,'.taskpaper').upcase | |
output = "# #{title} #\n\n" | |
prevlevel = 0 | |
begin |
module Jekyll | |
class TagCloudTag < Liquid::Tag | |
safe = true | |
def initialize(tag_name, text, tokens) | |
super | |
end | |
def render(context) | |
html = "" |
# For more info please visit http://bit.ly/eDs2IM | |
mkdir ~/src | |
# erlang | |
cd ~/src | |
wget http://erlang.org/download/otp_src_R13B02-1.tar.gz | |
tar zxf otp_src_R13B02-1.tar.gz | |
cd otp_src_R13B02-1 | |
./configure --prefix=$HOME |
/* | |
Copyright 2011 Martin Hawksey | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
NOTE I now use the conventions detailed in the SUIT framework
Used to provide structural templates.
Pattern
t-template-name
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
// Simple, single configuration file to override almost all paths and server settings. As used by @airways | |
// and @litzinger. | |
// Only check in the default as dist.config.php, set your version control system to ignore config.php so that | |
// local users and each instance (staging, production) can have their own settings. | |
// These config files are mainly meant to be used on a shared development server used by all developers, | |
// although it works almost as well for local development as well. |
The best way to add a sitemap to a Jekyll site is with the jekyll-sitemap plugin.
In your _config.yml
gems:
- jekyll-sitemap
This is a tiny content strategy framework focused on goals, messages, and branding. This is not a checklist. Use what you need and scrap the rest. Rewrite it or add to it. These topics should help you get to the bottom of things with clients and other people you work with.
Give me feedback on Twitter (@nicoleslaw) or by email ([email protected]).
# Copyright (C) 2011 Anurag Priyam - MIT License | |
module Jekyll | |
# Jekyll plugin to generate tag clouds. | |
# | |
# The plugin defines a `tag_cloud` tag that is rendered by Liquid into a tag | |
# cloud: | |
# | |
# <div class='cloud'> |