Skip to content

Instantly share code, notes, and snippets.

@tgdev
Created January 13, 2015 06:21
Show Gist options
  • Save tgdev/105f43f45f8a31c871a4 to your computer and use it in GitHub Desktop.
Save tgdev/105f43f45f8a31c871a4 to your computer and use it in GitHub Desktop.
Dynamically outputting/creating html pages for each "project" on a portfolio site
<% p = locals[:project] %>
<div class="l-wrapper">
<div class="l-content">
<h2><%= p[:title] %></h2>
<%= p[:description] %>
<p class="highlight">Key responsibilities:</p>
<ul class="itemised-list">
<%= p[:responsibilities] %>
</ul>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment