diff --git a/config.php b/config.php index 464d2ae..80ea399 100644 --- a/config.php +++ b/config.php @@ -3,17 +3,12 @@ /* // Override any of the default settings below: -$config['site_title'] = 'Pico'; // Site title $config['base_url'] = ''; // Override base URL (e.g. http://example.com) -$config['theme'] = 'default'; // Set the theme (defaults to "default") -$config['date_format'] = 'jS M Y'; // Set the PHP date format $config['twig_config'] = array( // Twig settings 'cache' => false, // To enable Twig caching change this to CACHE_DIR 'autoescape' => false, // Autoescape Twig vars 'debug' => false // Enable Twig debug ); -$config['pages_order_by'] = 'alpha'; // Order pages by "alpha" or "date" -$config['pages_order'] = 'asc'; // Order pages "asc" or "desc" $config['excerpt_length'] = 50; // The pages excerpt length (in words) // To add a custom config setting: @@ -21,5 +16,11 @@ $config['excerpt_length'] = 50; // The pages excerpt length (in words) $config['custom_setting'] = 'Hello'; // Can be accessed by {{ config.custom_setting }} in a theme */ +$config['site_title'] = 'Rewdy'; // Site title +$config['theme'] = 'elliot'; // Set the theme (defaults to "default") +$config['date_format'] = 'F d, Y'; // Set the PHP date format + +$config['pages_order_by'] = 'date'; // Order pages by "alpha" or "date" +$config['pages_order'] = 'desc'; // Order pages "asc" or "desc" ?> \ No newline at end of file diff --git a/content/404.md b/content/404.md index ef7988e..e558472 100644 --- a/content/404.md +++ b/content/404.md @@ -1,9 +1,8 @@ /* -Title: Error 404 + +Title: 4-D'oh-4! Robots: noindex,nofollow + */ -Error 404 -========= - -Woops. Looks like this page doesn't exist. \ No newline at end of file +The page you're trying to access, well, doesn't exist here. Trying going to the home page and looking around there. \ No newline at end of file diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..f417958 --- /dev/null +++ b/content/about.md @@ -0,0 +1,22 @@ +/* + +Title: About +Description: About this site and about Rewdy. + +*/ + +Hi. My name is Rewdy (Andrew). + +When I was 5, my dad brought home a [Macintosh SE30](http://en.wikipedia.org/wiki/Macintosh_SE). Somehow, I figured out how to set up [HyperCard](http://en.wikipedia.org/wiki/Hypercard) "Stacks" and I started writing simple little scripts that would do things like play a series of notes or make a little guy walk across the screen. + +I've always loved the magic that happens when you write some code and then watch something happen. It thrills me. Because of this, when my family got the Internet and I discovered you could create your own sites, I had to make one. + +Since I was about 14, I've been using the Internet to make stuff. I studied Graphic Design in school and started to work professionally building websites in 2005. + +I work for a company in Des Moines, Iowa making websites. + +_Disclaimer: The views expressed on this site are solely my own._ + +--- + +Note: Every once in a while I get asked about freelance. Here is my information on that. \ No newline at end of file diff --git a/content/index.md b/content/index.md index 0d8a4dd..c522153 100644 --- a/content/index.md +++ b/content/index.md @@ -1,100 +1,6 @@ /* -Title: Welcome -Description: This description will go in the meta description tag + +Title: Home +Description: I make things on the Internet. + */ - -## Welcome to Pico - -Congratulations you have successfully installed [Pico](http://pico.dev7studios.com). Pico is a stupidly simple, blazing fast, flat file CMS. - -### Creating Content - -Pico is a flat file CMS, this means there is no administration backend and database to deal with. You simply create `.md` files in the "content" -folder and that becomes a page. For example this file is called `index.md` and is shown as the main landing page. - -If you created folder within the content folder (e.g. `content/sub`) and put an `index.md` inside it, you can access that folder at the URL -`http://yousite.com/sub`. If you want another page within the sub folder, simply create a text file with the corresponding name (e.g. `content/sub/page.md`) -and will be able to access it from the URL `http://yousite.com/sub/page`. Below we've shown some examples of content locations and their corresponing URL's: - -
Physical Location | URL |
---|---|
content/index.md | / |
content/sub.md | /sub |
content/sub/index.md | /sub (same as above) |
content/sub/page.md | /sub/page |
content/a/very/long/url.md | /a/very/long/url |
%base_url%
- The URL to your Pico site
-
-### Themes
-
-You can create themes for your Pico installation and in the "themes" folder. Check out the default theme for an example of a theme. Pico uses
-[Twig](http://twig.sensiolabs.org/documentation) for it's templating engine. You can select your theme by setting the `$config['theme']` variable
-in config.php to your theme folder.
-
-All themes must include an `index.html` file to define the HTML structure of the theme. Below are the Twig variables that are available to use in your theme:
-
-* `{{ config }}` - Conatins the values you set in config.php (e.g. `{{ config.theme }}` = "default")
-* `{{ base_dir }}` - The path to your Pico root directory
-* `{{ base_url }}` - The URL to your Pico site
-* `{{ theme_dir }}` - The path to the Pico active theme direcotry
-* `{{ theme_url }}` - The URL to the Pico active theme direcotry
-* `{{ site_title }}` - Shortcut to the site title (defined in config.php)
-* `{{ meta }}` - Contains the meta values from the current page
- * `{{ meta.title }}`
- * `{{ meta.description }}`
- * `{{ meta.author }}`
- * `{{ meta.date }}`
- * `{{ meta.date_formatted }}`
- * `{{ meta.robots }}`
-* `{{ content }}` - The content of the current page (after it has been processed through Markdown)
-* `{{ pages }}` - A collection of all the content in your site
- * `{{ page.title }}`
- * `{{ page.url }}`
- * `{{ page.author }}`
- * `{{ page.date }}`
- * `{{ page.date_formatted }}`
- * `{{ page.content }}`
- * `{{ page.excerpt }}`
-* `{{ prev_page }}` - A page object of the previous page (relative to current_page)
-* `{{ current_page }}` - A page object of the current_page
-* `{{ next_page }}` - A page object of the next page (relative to current_page)
-* `{{ is_front_page }}` - A boolean flag for the front page
-
-Pages can be used like:
-
-<ul class="nav"> - {% for page in pages %} - <li><a href="{{ page.url }}">{{ page.title }}</a></li> - {% endfor %} -</ul>- -### Config - -You can override the default Pico settings (and add your own custom settings) by editing config.php in the root Pico directory. The config.php file -list all of the settings and their defaults. To override a setting simply uncomment it in config.php and set your custom value. diff --git a/content/projects/bible-bookmarklet.md b/content/projects/bible-bookmarklet.md new file mode 100644 index 0000000..5d24da1 --- /dev/null +++ b/content/projects/bible-bookmarklet.md @@ -0,0 +1,22 @@ +/* + +Title: Bible Bookmarklet +Author: Andrew Meyer +Description: A bookmarklet that lets you look up Bible references quickly and easily. +Date: 20110720 + +*/ + +I am a huge fan of bookmarklets. In fact, I’m sort of passionate about them. I have a whole folder of bookmarks in my browser that is just filled with bookmarklets. Recently, I’ve come across a need for a new bookmarklet that looks up Bible references on web pages and I thought I’d try my hand at creating one of my own. So I did. + +Here’s what it does: If you see a Bible reference that you want to look up, you can select it and click the bookmarklet and it will open up the passage on Bible Gateway. If you don’t have anything selected, it will ask you what you want to look up. Pretty simple. + +Here it is (drag the link to your bookmarks toolbar to save): + +
Bible Link (opens in the same window/tab)
+ +Bible Link (opens in new window/tab)
+ + +It works only in Firefox and the webkit browsers (Chrome and Safari). Sorry IE users :(. +For a test, you can highlight this passage and click the bookmarklet: John 3:16 \ No newline at end of file diff --git a/content/projects/leavenotice.md b/content/projects/leavenotice.md new file mode 100644 index 0000000..dd03985 --- /dev/null +++ b/content/projects/leavenotice.md @@ -0,0 +1,12 @@ +/* + +Title: LeaveNotice +Author: Andrew Meyer +Description: LeaveNotice is a jQuery plugin to easily notify your users when they leave your website. +Date: 20110701 + +*/ + +**LeaveNotice** is a plug in to easily notify your users that they are leaving your website. This was developed with “official” type websites in mind (Government, money-processing, etc). Because of the nature of the information those sites house, it can be important to make sure users know that they are being linked to a site not under “official” jurisdiction. + +[See Examples](http://www.rewdy.com/tools-files/leaveNotice/example.html) | [Download from Github](http://github.com/rewdy/leaveNotice) \ No newline at end of file diff --git a/content/projects/mapilicious.md b/content/projects/mapilicious.md new file mode 100644 index 0000000..b220fb6 --- /dev/null +++ b/content/projects/mapilicious.md @@ -0,0 +1,85 @@ +/* + +Title: Mapilicious +Description: A jQuery plugin for automatically adding Google maps links to addresses. +Date: 20130321 +Tags: Project, Maps, jQuery + +*/ + +## Overview + +This plugin was created out of necessity. One day I decided I was sick of going to Google Maps, entering an address, clicking the little link icon, and copying the URL for a link whenever I added an address to something. This plugin automates that process. It finds the address tags and appends a link to the address on Google maps. + +[See examples](http://www.rewdy.com/tools-files/mapilicious/examples.html) | [Download from Github](https://github.com/rewdy/mapilicious) + +**Note:** Consider this "beta" and kindly report any issues you find. Thanks. :) + +## Implementation + +It's as easy as 1-2-3 + +### 01. Include the Javascript + +You will need to include the jQuery and jQuery Mapilicious right before the closing body tag (or in the head if you prefer). Link to them where ever you have them stored. + + ... + + +