autocat3/templates/site-layout.html

208 lines
7.1 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:py="http://genshi.edgewall.org/"
xmlns:i18n="http://genshi.edgewall.org/i18n"
xmlns:og="http://opengraphprotocol.org/schema/"
xmlns:fb="http://www.facebook.com/2008/fbml"
py:strip="">
<?python
from i18n_tool import ugettext as _
?>
<py:def function="site_head">
<style type="text/css">
.icon { background: transparent url(/pics/sprite.png?${cherrypy.config['css_mtime']}) 0 0 no-repeat; }
</style>
<link rel="stylesheet" type="text/css"
href="/gutenberg/pg-desktop-one.css?${cherrypy.config['css_mtime']}" />
<link rel="stylesheet" type="text/css"
href="/gutenberg/new_nav.css?${cherrypy.config['css_mtime']}"/>
<link rel="stylesheet" type="text/css"
href="/gutenberg/style.css?${cherrypy.config['css_mtime']}"/>
<!--! IE8 does not recognize application/javascript -->
<script type="text/javascript">//<![CDATA[
var json_search = "${os.json_search}";
var mobile_url = "${os.mobile_url}";
var canonical_url = "${os.canonical_url}";
var lang = "${os.lang}";
var fb_lang = "${os.fb_lang}"; /* FB accepts only xx_XX */
var msg_load_more = "${_('Load More Results…')}";
var page_mode = "${os.page_mode}";
var dialog_title = "${os.user_dialog[1]}";
var dialog_message = "${os.user_dialog[0]}";
//]]></script>
<<<<<<< HEAD
<<<<<<< HEAD
<!--<script
src="/js/pg-desktop-one.js?${cherrypy.config['js_mtime']}" />-->
=======
<script type="text/javascript"
src="/js/pg-desktop-one.js?${cherrypy.config['js_mtime']}" />
>>>>>>> parent of 0253c43... merge changes from master and keep former change
=======
<script
src="/js/pg-desktop-one.js?${cherrypy.config['js_mtime']}" />
>>>>>>> parent of 2d9caf7... left changes in autocat3. commit to test
<link rel="shortcut icon" href="/gutenberg/favicon" />
<link rel="canonical" href="${os.canonical_url}" />
<link rel="search"
type="application/opensearchdescription+xml"
title="Search Project Gutenberg"
href="${os.osd_url}" />
<link rel="alternate nofollow"
type="${os.type_opds}"
title="OPDS feed"
href="${os.url_carry (format = 'opds')}" />
<link py:if="os.touch_icon" rel="apple-touch-icon" href="${os.touch_icon}" />
<link py:if="os.touch_icon_precomposed" rel="apple-touch-icon-precomposed" href="${os.touch_icon_precomposed}" />
<meta py:if="os.viewport" name="viewport" content="${os.viewport}" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="${os.lang}" />
<!--! plain old metadata -->
<meta name="title" content="${os.title}" />
<meta name="description" content="${os.description}" />
<meta name="keywords" content="ebook, ebooks, free ebooks, free books, book, books, audio books" />
<meta name="classification" content="public" />
<!--! facebook open graph -->
<meta property="og:title" content="${os.title}" />
<meta property="og:description" content="${os.description}" />
<meta property="og:type" content="${os.og_type}" />
<meta property="og:image" content="${os.snippet_image_url}" />
<meta property="og:url" content="${os.canonical_url}" />
<meta property="og:site_name" content="Project Gutenberg" />
<meta property="fb:app_id" content="${cherrypy.config['facebook_app_id']}" />
<!--! <meta property="fb:admins" content="615269807" /> -->
<!--! twitter card -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@gutenberg_new" />
<meta name="twitter:image" content="${os.snippet_image_url}" />
<meta name="twitter:image:alt" content="book cover image" />
</py:def>
<py:def function="credits">
<div id="credits">
<div class="h1"
title="Credits">Credits</div>
<a href="https://www.ibiblio.org" rel="nofollow"
title="Project Gutenberg is hosted by ibiblio.">
<span class ="icon icon_hosted" />
</a>
<p>This web site uses only free software.</p>
<a href="https://httpd.apache.org/" rel="nofollow"
title="Powered by Apache">
<span class="icon icon_apache" />
</a>
<a href="https://www.python.org" rel="nofollow"
title="Powered by Python">
<span class="icon icon_python" />
</a>
<a href="https://www.postgresql.org" rel="nofollow"
title="Powered by PostgreSQL">
<span class="icon icon_postgres" />
</a>
</div>
</py:def>
<py:def function="copyright">
<div class="copyright" i18n:comment="The copyright notice on the footer of every page.">
© 2020 Project Gutenberg Literary Archive Foundation — All Rights Reserved.
</div>
</py:def>
<py:def function="site_top">
<xi:include href="../../menu.html" />
<!-- <xi:include href="/../gutenbergsite/_includes/menu.html"/>-->
</py:def>
<py:def function="site_footer">
<div class="footer" i18n:comment="On the footer of every page.">
<ul>
<li>
<a href="/policy/privacy_policy.html" title="Gutenberg:Privacy policy">Privacy policy</a>
</li>
<li>
<a href="/about/index.html" title="Gutenberg:About">About Gutenberg</a>
</li>
<li>
<a href="/policy/terms_of_use.html">Terms of Use</a>
</li>
<li>
<a href="/about/contact_information.html">Contact Information</a>
</li>
</ul>
<a href="https://www.ibiblio.org/index.html" title="Project Gutenberg is hosted by ibiblio">
<img src="/gutenberg/ibiblio-logo.png" alt="HTML tutorial"/>
</a>
</div>
</py:def>
<py:def function="prev_next_links">
<span class="links" i18n:comment="The links to move between paginated search results."
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:py="http://genshi.edgewall.org/">
<py:if test="os.show_prev_page_link">|
<a title="Go to the first page of results."
accesskey="a"
href="${os.url_carry (start_index = 1)}">First</a>
</py:if>
<py:if test="os.show_prev_page_link">|
<a title="Go to the previous page of results."
accesskey="-"
href="${os.url_carry (start_index = os.prev_page_index)}">Previous</a>
</py:if>
<py:if test="os.show_next_page_link">|
<a title="Go to the next page of results."
accesskey="+"
href="${os.url_carry (start_index = os.next_page_index)}">Next</a>
</py:if>
</span>
</py:def>
<py:def function="paypal">
<form class="paypal-button"
action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div>
<!--! xml:lang avoids extraction for translation -->
<input xml:lang="en" type="hidden" name="cmd" value="_s-xclick" />
<input xml:lang="en" type="hidden" name="hosted_button_id" value="XKAL6BZL3YPSN" />
<input type="image" name="submit"
src="/pics/paypal/${os.paypal_lang}.gif"
title="Send us money through PayPal." />
</div>
</form>
</py:def>
<py:def function="flattr">
<a class="flattr-button" target="_blank"
href="https://flattr.com/thing/509045/Project-Gutenberg"
title="Send us money through Flattr.">
<span class="icon icon_flattr" />
</a>
</py:def>
</html>