Skip to content

Instantly share code, notes, and snippets.

@ralphsaunders
Created July 10, 2012 20:51
Show Gist options
  • Save ralphsaunders/3086155 to your computer and use it in GitHub Desktop.
Save ralphsaunders/3086155 to your computer and use it in GitHub Desktop.
An example directory structure turned into HTML by payload.
|~posted/
|~articles/
|~an-article/
|-index.html
|-image.png
`-styles.css
|~another-article/
|-index.html
`-styles.css
|~portfolio/
|~portfolio-piece/
|-index.html
|-image.png
`-logo.png
<ul>
<li><h2>Articles</h2></li>
<li>
<ul>
<li>
<h3><a href="/posted/articles/an-article/">An Article</a></h3>
</li>
<li>
<h3><a href="/posted/articles/another-article/">Another Article</a></h3>
</li>
</ul>
</li>
</ul>
<ul>
<li><h2>Portfolio</h2></li>
<li>
<ul>
<li>
<h3><a href="/posted/portfolio/portfolio-piece/">Portfolio Piece</a></h3>
</li>
</ul>
</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment