mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
news section
This commit is contained in:
parent
366ac64f89
commit
ec2c0aa5e6
5 changed files with 125 additions and 69 deletions
47
_layouts/base.html
Normal file
47
_layouts/base.html
Normal file
|
@ -0,0 +1,47 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Bitcoin - {{ page.title }}</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- scripting -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
|
||||
<script src="/lib/app.js"></script>
|
||||
|
||||
<!-- stylesheet -->
|
||||
<link rel="stylesheet/less" href="/lib/bootstrap.less">
|
||||
<script src="/lib/less.js"></script>
|
||||
|
||||
<!-- fav and touch icons -->
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<!--
|
||||
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
|
||||
-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
{{ content }}
|
||||
|
||||
<div class="container">
|
||||
<footer>
|
||||
<div class="inner">
|
||||
<p>
|
||||
© Bitcoin Project 2009–2011<br/>
|
||||
Released under the <a href="http://creativecommons.org/licenses/MIT/">MIT license</a>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
40
_layouts/post.html
Normal file
40
_layouts/post.html
Normal file
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
layout: base
|
||||
---
|
||||
<div class="topbar">
|
||||
<div class="fill">
|
||||
<div class="container">
|
||||
<h3><a href="/"><img src="/img/logo_small.png" id="thelogo"/>Bitcoin</a></h3>
|
||||
<ul>
|
||||
<li><a href="/">Home</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="masthead">
|
||||
<div class="inner">
|
||||
<div class="container primarybox">
|
||||
<h1>News</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="span5">
|
||||
<ul class="unstyled">
|
||||
{% for post in site.posts %}
|
||||
<li>
|
||||
<a href="{{ post.url }}">{{ post.title }}</a>
|
||||
{{ post.date | date:"%Y-%m-%d" }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span11">
|
||||
<h1>{{ page.title }}</h1>
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue