image/svg+xml Openclipart 2007-11-20T10:29:44 Some shapes from photos. Chrisdesign clip art clipart image media nature png public domain shape silhouette svg tree


Edit link to from Jekyll site

11 Jul 2013 is an excellent Markdown (or any text file) editor aimed at creating a web based interface to maintain content on Github which is more than likely running through Jekyll.

I wanted a quick way to link to to edit page on the site, specifically from my phone and did not want to spend time navigating through the file structure to do it. I also wanted a way to quickly add posts. So, here are some example snippets of code to do that in your Jekyll site (update the repo and user name as appropriate to your site).

  <!-- Edit current page -->
  <a href="{% if page.path %}//{{ page.path }}{% else %}//{% endif %}" target="_blank">Edit this page in</a>
  <!-- Add post -->
  <a href="//" target="_blank">Add a post with</a>
  Ten Toes in the Sand
A Look Back