Added Flattr button.
This commit is contained in:
@@ -156,7 +156,6 @@ p {
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
outline: 2px solid #ddd;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -21,3 +21,4 @@ Projects that use Misaka:
|
||||
- [mynt](https://github.com/Anomareh/mynt)
|
||||
- [Composer](https://github.com/shazow/composer)
|
||||
- [Socrates](https://github.com/honza/socrates)
|
||||
- [Pagewise](https://bitbucket.org/ainm/pagewise/overview)
|
||||
|
||||
23
docs/templates/index.html
vendored
23
docs/templates/index.html
vendored
@@ -3,8 +3,31 @@
|
||||
{% block title %}{{ escape(page.title) }}{% end %}
|
||||
{% block location %}{{ page.location }}-section{% end %}
|
||||
|
||||
{% block head %}
|
||||
<script type="text/javascript">
|
||||
(function() {
|
||||
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
|
||||
s.type = 'text/javascript';
|
||||
s.async = true;
|
||||
s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
|
||||
t.parentNode.insertBefore(s, t);
|
||||
})();
|
||||
</script>
|
||||
{% end %}
|
||||
|
||||
{% block content %}
|
||||
<article class="page">
|
||||
{{ page.content }}
|
||||
|
||||
<p>How about a Flattr?</p>
|
||||
|
||||
<p>
|
||||
<a class="FlattrButton" style="display:none;" href="http://misaka.61924.nl/"></a>
|
||||
<noscript>
|
||||
<a href="http://flattr.com/thing/683782/Misaka" target="_blank">
|
||||
<img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" />
|
||||
</a>
|
||||
</noscript>
|
||||
</p>
|
||||
</article>
|
||||
{% end %}
|
||||
|
||||
1
docs/templates/layout.html
vendored
1
docs/templates/layout.html
vendored
@@ -7,6 +7,7 @@
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link rel="stylesheet" type="text/css" href="{{ get_asset('/all.css') }}">
|
||||
{% block head %}{% end %}
|
||||
</head>
|
||||
<body id="{% block location %}index-section{% end %}">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user