mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-26 20:44:04 +00:00
added header and footer templates
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40420
This commit is contained in:
parent
011adf4dd7
commit
e8df55d101
@ -6,12 +6,12 @@ body { margin:0; padding:0; background:url('../images/main-bg.jpg') repeat-x lef
|
||||
a { color:#6e0909; text-decoration:none; border-bottom:1px solid #d78888;}
|
||||
a:hover { color:#f99800; border-bottom:1px solid #f7b7b7; }
|
||||
.clear { clear:both; overflow:hidden; }
|
||||
h1 { background:url('../images/logo.jpg') no-repeat left top ; text-indent: -5000px; width:545px; height:65px }
|
||||
h2 { font-size:200%; color:#331f0a; margin:0.6em 0pt; font-weight:normal;}
|
||||
blockquote { padding:0px 15px; color:#5b1111; font-size:125%; margin:0;}
|
||||
p { line-height:1.5em; }
|
||||
|
||||
/* structure */
|
||||
#header h1 { background:url('../images/logo.jpg') no-repeat left top ; text-indent: -5000px; width:545px; height:65px }
|
||||
#container { width:820px; margin:42px auto 0; }
|
||||
#content { clear:left; margin-top:10px; }
|
||||
#left-column { float:left; width:525px; margin-right:20px}
|
||||
|
@ -20,14 +20,6 @@
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div id="footer">
|
||||
{% block footer %}{% endblock %}
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<p>Got any feedback or suggestions? We're interested in hearing them! <a href="#">Contact us</a>!</p>
|
||||
<p>© 2008 <a href="http://insophia.com/">Insophia</a></p>
|
||||
</div>
|
||||
{% include "footer.html" %}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,17 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Scrapy - an opensource screen scraping framework for python</h1>
|
||||
|
||||
<ul id="navigation">
|
||||
<li><a href="/">Home</a>
|
||||
<li><a href="/code/">Code</a>
|
||||
<li><a href="/blog/">Weblog</a>
|
||||
<li><a href="/doc/">Documentation</a>
|
||||
<li class="last"><a href="/download/">Download</a>
|
||||
</ul>
|
||||
|
||||
<div class="clear"></div>
|
||||
{% include "header.html" %}
|
||||
|
||||
<div id="content">
|
||||
<div id="left-column">
|
||||
@ -54,14 +44,3 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block footer %}
|
||||
<ul>
|
||||
<li style="border-right:none;">Scrapy : </li>
|
||||
<li><a href="/">Home</a>
|
||||
<li><a href="/code/">Code</a>
|
||||
<li><a href="/blog/">Weblog</a>
|
||||
<li><a href="/doc/">Documentation</a>
|
||||
<li class="last"><a href="/download/">Download</a>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
15
sites/scrapy.org/templates/footer.html
Normal file
15
sites/scrapy.org/templates/footer.html
Normal file
@ -0,0 +1,15 @@
|
||||
<div id="footer">
|
||||
{% block footer %}
|
||||
<ul>
|
||||
<li style="border-right:none;">Scrapy : </li>
|
||||
<li><a href="/">Home</a>
|
||||
<li><a href="/code/">Code</a>
|
||||
<li><a href="/blog/">Weblog</a>
|
||||
<li><a href="/doc/">Documentation</a>
|
||||
<li class="last"><a href="/download/">Download</a>
|
||||
</ul>
|
||||
<div class="clear"></div>
|
||||
<p>Got any feedback or suggestions? We're interested in hearing them! <a href="#">Contact us</a>!</p>
|
||||
<p>© 2008 <a href="http://insophia.com/">Insophia</a></p>
|
||||
{% endblock %}
|
||||
</div>
|
10
sites/scrapy.org/templates/header.html
Normal file
10
sites/scrapy.org/templates/header.html
Normal file
@ -0,0 +1,10 @@
|
||||
<div id="header">
|
||||
<h1>Scrapy - an opensource screen scraping framework for python</h1>
|
||||
<ul id="navigation">
|
||||
<li><a href="/">Home</a>
|
||||
<li><a href="/code/">Code</a>
|
||||
<li><a href="/blog/">Weblog</a>
|
||||
<li><a href="/doc/">Documentation</a>
|
||||
<li class="last"><a href="/download/">Download</a>
|
||||
</ul>
|
||||
</div>
|
Loading…
x
Reference in New Issue
Block a user