Skip to content

Instantly share code, notes, and snippets.

@dseg
Created August 13, 2015 11:08
Show Gist options
  • Save dseg/789e4c7e4b328115ac31 to your computer and use it in GitHub Desktop.
Save dseg/789e4c7e4b328115ac31 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="ja">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>
<?cs if:entry.title ?>
<?cs var:html_escape(entry.title + " - " + diary.title) ?>
<?cs else ?>
<?cs var:html_escape(diary.title) ?>
<?cs /if ?>
</title>
<link rel="stylesheet" type="text/css"
href="<?cs var:diary.uri ?>themes/default/style.css" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0"
href="<?cs var:diary.uri ?>feed/" />
<meta name="generator" content="mod_diary" />
<!-- webfonts -->
<style>
@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);
body * {font-family: 'Noto Sans Japanese', sans-serif; font-weight:300;}
.noto100 {font-weight:100;}
.noto200 {font-weight:200;}
.noto300 {font-weight:300;}
.noto400 {font-weight:400;}
.noto500 {font-weight:500;}
.noto600 {font-weight:600;}
.noto700 {font-weight:700;}
.noto800 {font-weight:800;}
.noto900 {font-weight:900;}
h1,h2 {font-family: 'Noto Sans Japanese', sans-serif; font-weight: 900;}
h3,h4,h5 {font-family: 'Noto Sans Japanese', sans-serif; font-weight: 700;}
</style>
<!-- /webfonts -->
<!-- jQuery -->
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-alpha1/jquery.min.js"></script>
<!-- /jQuery -->
<!-- Google Analytics -->
<script src="<?cs var:diary.uri ?>/js/google-analytics.js"></script>
<!-- /Google Analytics -->
<!-- highlight.js -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.7/highlight.min.js"></script>
<!-- /highlight.js -->
<!-- video.js -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/video.js/4.12.13/video-js.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/video.js/4.12.13/video.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/video.js/4.12.13/lang/ja.js"></script>
<!-- /video.js -->
</head>
<body class="home blog">
<div id="page">
<div id="header" role="banner">
<div id="headerimg">
<h1 class="title">
<a href="<?cs var:diary.uri ?>">
<?cs var:html_escape(diary.title) ?>
</a>
</h1>
<div class="description">Just another mod_diary site</div>
</div>
</div>
<hr />
<div id="content" class="narrowcolumn" role="main">
<?cs if:index ?>
<?cs each:item = index ?>
<div class="post">
<h2 class="entry-title">
<a href="<?cs var:diary.uri + item.name ?>"
title="<?cs var:html_escape(item.title) ?>">
<?cs var:html_escape(item.title) ?>
</a>
</h2>
<div class="entry">
</div>
</div>
<?cs /each ?>
<?cs else ?>
<div class="post">
<h2 class="entry-title">
<a href="<?cs var:entry.uri ?>"
title="<?cs var:html_escape(entry.title) ?>">
<?cs var:html_escape(entry.title) ?>
</a>
</h2>
<small><?cs var:entry.date ?></small>
<?cs if:entry.author ?>
<small> - <?cs var:html_escape(entry.author) ?></small>
<?cs /if ?>
<div class="entry-content">
<?cs var:entry.desc ?>
</div>
</div>
<?cs /if ?>
<div class="navigation">
<div class="alignleft"></div>
<div class="alignright"></div>
</div>
</div>
<div id="sidebar" role="complementary">
<ul>
<li id="search">
<form role="search" method="get" id="searchform"
action="http://www.google.co.jp/search" >
<div><label class="screen-reader-text" for="s">Search:</label>
<input type="text" value="" name="q" id="s" />
<input type="submit" id="searchsubmit" value="Search" />
<input type="hidden" name="hl" value="ja" />
<input type="hidden" name="as_sitesearch"
value="<?cs var:diary.uri ?>" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="hidden" name="oe" value="UTF-8" />
</div>
</form>
</li>
<li id="recent-posts">
<h2 class="widgettitle">Recent Entry</h2><ul>
<?cs each:item = index ?>
<li>
<a href="<?cs var:diary.uri + item.name ?>"
title="<?cs var:html_escape(item.title) ?>">
<?cs var:html_escape(item.title) ?>
</a>
</li>
<?cs /each ?>
</ul>
</li>
<li>
<?cs include!"./calendar.cst" ?>
</li>
</ul>
</div>
<hr />
<div id="footer" role="contentinfo">
<p>
<?cs var:diary.title ?> is proudly powered by
<a href="https://github.com/hamano/apache-mod-diary">mod_diary</a>
</p>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment