forked from MartianZ/MartianZ-BLOG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharticle2.html
93 lines (77 loc) · 3.16 KB
/
article2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{% autoescape None %}
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{{ title }} - {{ article["title"] }}</title>
<link rel="stylesheet" href="{{ static_url("style.css") }}" type="text/css" media="screen">
<link href='http://fonts.googleapis.com/css?family=Trade+Winds' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Swanky+and+Moo+Moo' rel='stylesheet' type='text/css'>
<link rel="alternate" type="application/rss+xml" title="RSS" href="/rss.xml" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
</head>
<body>
<div id="header">
<div id="nav_wrapper">
<div id="nav">
<div class="inner">
<h1 id="title"><a href="{{ url }}">{{ title }}</a></h1>
<div id="description">A BLOG</div>
<ul class="right">
<li><a href="https://plus.google.com/100204491389909955903">Google+</a></li>
<li><a href="https://github.com/MartianZ">GitHub</a></li>
<li><a href="https://twitter.com/#!/martian_zhu">Twitter</a></li>
</ul>
</div>
</div>
</div>
</div> <!--div header-->
<div id="content">
<ul id="article_list">
<li>
<div class="article">
<div class="inner">
<h2 class="article_title"><a href="/article/{{ article["name"] }}">{{ article["title"] }}</a></h2>
<div class="meta_container"><span class="date">{{ article["date"] }}</span></div>
<div class="article_text">
{{ (article["content"]) }}
</div> <!-article_text-->
<div class="comments"><h2 class="comments_title">评论</h2>
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'martian-octopress-blog';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
</div> <!--comments-->
</div>
</div>
</li>
</ul>
</div> <!--div content-->
<div id="footer">
© MartianZ, All rights reserved.
</div> <!--div footer-->
<script>
//$("img").each(function(){
// if ($(this).attr("src").indexOf("i.imgur.com") != -1) {
// $(this).attr("src","http://imgur.4321.la/?img=" + $(this).attr("src"));
// }
//});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33535278-2']);
_gaq.push(['_setDomainName', '4321.la']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>