Skip to content

Commit

Permalink
opt layout
Browse files Browse the repository at this point in the history
  • Loading branch information
colinvivy committed Nov 27, 2012
1 parent a29f75f commit ff147fc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
8 changes: 6 additions & 2 deletions _layouts/default.html
Expand Up @@ -11,11 +11,15 @@
<link rel="alternate" type="application/atom+xml" href="{{ page.feed }}" title="RSS feed" />
{% endif %}
<link rel="stylesheet" href="/css/common.css" type="text/css" />
<link rel="stylesheet" href="/css/prettify.css" type="text/css" />
<script type="text/javascript" src="/js/jq.js"></script>
<script type="text/javascript" src="/js/prettify.js"></script>

</head>
<body id="{{ page.pagesName }}">
<body id="{{ page.pagesName }}" onload="prettyPrint()">

<div class="header">
<h1 class=""><a href="/" target="_self">ColinVivy in Github </a></h1>
<h1 class=""><a href="/" target="_self">Colin in Github </a></h1>
</div>

{% include nav.md %}
Expand Down
7 changes: 7 additions & 0 deletions _layouts/post.html
Expand Up @@ -8,3 +8,10 @@
<h3 class="pc_title">{{ page.title }}</h3>
{{ content }}
</div>

<script type="text/javascript">
$(function () {
$('p>img').parent().css('overflowX', 'auto');
$('pre').addClass("prettyprint");
});
</script>

0 comments on commit ff147fc

Please sign in to comment.