Skip to content
Commits on Apr 24, 2014
  1. Current date script.

    committed Apr 24, 2014
Commits on Nov 17, 2013
Commits on Nov 7, 2013
Commits on Oct 29, 2013
  1. Simple script to make a symlink mirror of your markdown pages so you …

    committed Oct 29, 2013
    …can open up in any random editor.
Commits on Sep 12, 2013
Commits on Aug 29, 2013
  1. Sample script to read a string off the clipboard, remove the newlines…

    committed Aug 29, 2013
    …, and paste it in.
Commits on Jul 19, 2013
  1. Updated instructions.

    committed Jul 19, 2013
Commits on Jun 27, 2013
Commits on Feb 13, 2013
  1. Sample plugin to copy meta values to a new page, using a private api.…

    committed Feb 13, 2013
    … BAD GUS NO COOKIE.
Commits on Jan 31, 2013
  1. @pwc3

    Refactoring to remove duplicated code.

    pwc3 committed Jan 30, 2013
    I didn't realize that code in VPStaticExportScript was visible to other
    scriptlets. Added pubDateForItem in VPStaticExportScript which is now
    called from staticExportArchivePathForItem and used by
    VPStaticPageEntryTemplate.
Commits on Jan 30, 2013
  1. @pwc3

    Added option to set the publish date of a post

    pwc3 committed Jan 29, 2013
    Previously, Static used an item's created date as its publish date. This
    led to inaccurate publish dates when a post was created and not
    immediately published. As a workaround, users could edit the plist
    associated with the post's file to change the created date, but this was
    cumbersome.
    
    This commit allows users to specify the publish date by adding a date
    string meta value (in `%Y-%m-%d %H:%M:%S` format) under a page's
    "pubdate" meta key. This is treated as an override; if the meta value is
    not found or cannot be parsed, the page generation code reverts to the
    createdDate.
    
    The algorithm to accomplish this is as follows:
    
    - Asks a `VPItem` (`id<VPData>`) object for a meta value for the key
      "pubdate".
    - If one is found, it attempts to parse the associated value into an
      NSDate.
    - If successful, that date is used as the published date, instead of the
      item's createdDate.
    - If unsuccessful, it reverts back to the createdDate.
    
    Changes were made to `VPBWriter.m` to use the pubdate in the archive
    page and RSS feed. Similar changes were made to `VPStaticExportScript`
    and `VPStaticPageEntryTemplate`.
    
    Ideally, a `pubDate` property would be added to `VPItem`. This would
    eliminate the repeated code in these three places. However, since
    `VPItem` is not part of the VPPlugin framework, and `VPData` is only a
    protocol, that wasn't feasible.
Commits on Jan 28, 2013
Commits on Dec 28, 2012
  1. Publishing didn't actually publish the full site. Whoops, that's now …

    committed Dec 28, 2012
    …fixed, but now it doesn't do a subset anymore. I'll have to fix that in a future patch.
Commits on Dec 18, 2012
  1. The fixme notes page will now move selected text to the new page. Thi…

    committed Dec 18, 2012
    …s makes it easier to move yesterday's @fixme notes to the new one.
Commits on Dec 6, 2012
Commits on Dec 4, 2012
Commits on Nov 29, 2012
Commits on Sep 10, 2012
  1. Fixed bug where the staticExportItemWillBegin function wasn't called …

    committed Sep 10, 2012
    …with Static publishing, as well as extended the renderLocation variable
Commits on Sep 3, 2012
  1. Bug fixes!

    committed Sep 3, 2012
Commits on Aug 28, 2012
  1. Updated readme for Static.

    committed Aug 28, 2012
Commits on Aug 26, 2012
Commits on Aug 22, 2012
  1. Bug fixes and such!

    committed Aug 22, 2012
Commits on Aug 20, 2012
  1. New context variables.

    committed Aug 20, 2012
  2. New function 'staticExportDidRenderHTMLForItem' to help out for for t…

    committed Aug 20, 2012
    …hings like macros.
  3. Made these scripts a little more useful by not losing what you've got…

    committed Aug 20, 2012
    … currently selected.
Commits on Aug 19, 2012
Commits on Aug 17, 2012
  1. More asset stuff.

    committed Aug 16, 2012
Commits on Aug 16, 2012
  1. Added support for supplemental pages to be written out via a new func…

    committed Aug 16, 2012
    …tion which return an array: staticSupportPages
  2. commit message.

    committed Aug 16, 2012
Something went wrong with that request. Please try again.