Skip to content

Instantly share code, notes, and snippets.

@mattintosh4
Created March 27, 2012 08:22
Show Gist options
  • Save mattintosh4/2213960 to your computer and use it in GitHub Desktop.
Save mattintosh4/2213960 to your computer and use it in GitHub Desktop.
<!-- GitHub ならコードをハイライトしてくれます -->
<body class="
<%- if:page_name eq 'article' %>pagename_article<% /if # page_name eq 'article' -%>
<%- if:page_name eq 'index' %>pagename_index<% /if # page_name eq 'index' %>">
body{
font-size:12px;
background-color:rgb(95%,95%,95%);
}
<article>
<header>
<h1>Gistのサンプル</h1>
</header>
<p>GitHubのGistを使ったサンプルです。とても面白いです。</p>
</article>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment