[gimp-web/gimp-web-static] Changed 'Authors' metadata to 'Author' (singular)



commit ae8d9686a75d9cf10eaa89c56875bbc52fd04d7b
Author: Pat David <patdavid gmail com>
Date:   Wed Aug 12 16:05:46 2015 -0500

    Changed 'Authors' metadata to 'Author' (singular)

 content/about/meta/building/index.md      |    2 +-
 content/about/meta/index.md               |    2 +-
 content/about/meta/markdown.md            |    2 +-
 content/about/meta/to-do/index.md         |    2 +-
 content/about/meta/using-pelican/index.md |    2 +-
 content/about/meta/writing/index.md       |    2 +-
 content/about/meta/wtf-pelican.md         |   41 ++++++++++++++++++++++++++++-
 7 files changed, 46 insertions(+), 7 deletions(-)
---
diff --git a/content/about/meta/building/index.md b/content/about/meta/building/index.md
index f9ac0d2..2d57f70 100644
--- a/content/about/meta/building/index.md
+++ b/content/about/meta/building/index.md
@@ -1,7 +1,7 @@
 Title: Building WGO
 Date: 2015-08-11T11:56:58-05:00
 Modified: 2015-08-11T11:57:04-05:00
-Authors: Pat David
+Author: Pat David
 Summary: A page about the new site.
 
 
diff --git a/content/about/meta/index.md b/content/about/meta/index.md
index c61da8b..337d057 100644
--- a/content/about/meta/index.md
+++ b/content/about/meta/index.md
@@ -1,7 +1,7 @@
 Title: Meta 
 Date: 2015-07-29T14:40:35-05:00
 Modified: 2015-08-10T14:53:46-05:00
-Authors: Pat David
+Author: Pat David
 Summary: A page about the new site.
 
 
diff --git a/content/about/meta/markdown.md b/content/about/meta/markdown.md
index c54cb0a..001be2b 100644
--- a/content/about/meta/markdown.md
+++ b/content/about/meta/markdown.md
@@ -1,7 +1,7 @@
 Title: Markdown Cheatsheet
 Date: 2015-08-10T15:41:15-05:00
 Modified: 2015-08-11T11:43:00-05:00
-Authors: Pat David
+Author: Pat David
 
 This is a simple cheatsheet for writing in [Markdown].
 For a more complete reference, the Python-Markdown package refers one to the [Markdown Syntax] from John 
Gruber.
diff --git a/content/about/meta/to-do/index.md b/content/about/meta/to-do/index.md
index 2e38db4..0a6b145 100644
--- a/content/about/meta/to-do/index.md
+++ b/content/about/meta/to-do/index.md
@@ -1,7 +1,7 @@
 Title: To Do (Meta)
 Date: 2015-08-06T16:01:03-05:00
 Modified: 2015-08-06T16:01:12-05:00
-Authors: Pat David
+Author: Pat David
 Summary: Stuff to fix still.
 
 
diff --git a/content/about/meta/using-pelican/index.md b/content/about/meta/using-pelican/index.md
index b264e51..0b53316 100644
--- a/content/about/meta/using-pelican/index.md
+++ b/content/about/meta/using-pelican/index.md
@@ -1,7 +1,7 @@
 Title: Using Pelican
 Date: 2015-08-10T14:43:06-05:00
 Modified: 2015-08-10T14:43:11-05:00
-Authors: Pat David
+Author: Pat David
 Summary: Using Pelican
 
 These are some meta notes about using the Pelican build system, including any idiosyncrasies I come across 
while testing it.
diff --git a/content/about/meta/writing/index.md b/content/about/meta/writing/index.md
index 154e4a7..02e2898 100644
--- a/content/about/meta/writing/index.md
+++ b/content/about/meta/writing/index.md
@@ -1,7 +1,7 @@
 Title: Writing for WGO
 Date: 2015-08-11T14:41:26-05:00
 Modified: 2015-08-11T14:41:33-05:00
-Authors: Pat David
+Author: Pat David
 
 
 Oh good, you want to help us write content for the website!
diff --git a/content/about/meta/wtf-pelican.md b/content/about/meta/wtf-pelican.md
index 2115434..01d4f62 100644
--- a/content/about/meta/wtf-pelican.md
+++ b/content/about/meta/wtf-pelican.md
@@ -1,7 +1,7 @@
 Title: WTF Pelican?
 Date: 2015-08-05T17:07:40-05:00
 Modified: 2015-08-05T17:07:46-05:00
-Authors: Pat David
+Author: Pat David
 
 
 
@@ -92,3 +92,42 @@ All I did was continue that line of thought and brute-forced the index.md under
 So far, so good?  Nothing seems to explode, so I'm taking that as a positive sign.
 The only thing I haven't checked yet (and that I think will be awesome) is the ability to provide translated 
versions of all pages.
 I may have to wrangle someone to translate a page for me to test with (or just use gibberish to test, I 
guess).
+
+
+
+### Slugs and Filenames
+
+In migrating some of the old pages from the previous site, I found that a few of them existed off of the 
base URL for the site.
+This was slightly problematic, as the nested folders all assumed content would exist at least under a single 
directory from the URL root (except for the index.html page of course).
+
+The page I tested this on is www.gimp.org/irc.html.
+
+To fix it we override the *url* and *save_as* metadata in the file to force a particular file:
+
+    :::markdown
+    Title: IRC Page Example
+    Author: Pat David
+    Date: 2015-08-12T14:03:57-05:00
+    url: irc.html
+    save_as: irc.html
+
+Which will then force the file to be saved as (and referred to by url):
+
+    www.gimp.org/irc.html
+
+This is not a thing that should normally have to happen that often.
+I am only doing it this way to support a few legacy pages that will exist directly on the root URL.
+
+Those pages currently are:
+
+* [archive.html](http://www.gimp.org/archive.html)  
+    An archive of news items that were on the front page.
+    Likely deprecated for the "News" section now?
+* [index.html](http://www.gimp.org/index.html)  
+    The main page (still).
+* [irc.html](http://www.gimp.org/irc.html)
+* [mail_lists.html](http://www.gimp.org/mail_lists.html)
+* [team.html](http://www.gimp.org/team.html)
+* [template.html](http://www.gimp.org/template.html)  
+    This seems to be a simple test page.
+* [webmasters.html](http://www.gimp.org/webmasters.html)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]