Major highlights ................ - fixed and improved cross-linking (fixes #333) with URLs containing e.g. localized month names (thanks to issue getpelican/pelican#1198) - support for custom ``SITEURL`` and ``OUTPUT_PATH`` hierarchy (fixes #182) - sharing of static files (including those of the theme) among subsites (fixes #180) Technical highlights .................... - added a test suite (works with pelican 3.4) - translations are installed into Jinja2 environments of all generators - old locale is restored after generation, fixes autoreload The documentation has been updated and improved (mostly in terms of formatting). Known issues ............ - due to the redesign required for correct cross-linking, older versions of Pelican (<3.4) are not supported, because they lack certain signals - the ``HIDE_UNTRANSLATED_CONTENT`` setting has been deprecated in favor of the ``I18N_UNTRANSLATED_{ARTICLES,PAGES}`` settings which offer more control in order to fix #211. - the test suite works only with pelican 3.4, later versions add a timezone field to the date
		
			
				
	
	
		
			54 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html lang="cz">
 | |
| <head>
 | |
|         <title>Welcome to our Testovací stránka</title>
 | |
|         <meta charset="utf-8" />
 | |
|         <link href="http://example.com/test/feeds_all.atom.xml" type="application/atom+xml" rel="alternate" title="Testovací stránka Full Atom Feed" />
 | |
| 
 | |
| <link rel="stylesheet" href="http://example.com/test/cz/../theme/style.css" />
 | |
| </head>
 | |
| 
 | |
| <body id="index" class="home">
 | |
|         <header id="banner" class="body">
 | |
|                 <h1><a href="http://example.com/test/cz/">Testovací stránka <strong></strong></a></h1>
 | |
|         </header><!-- /#banner -->
 | |
|         <nav id="menu"><ul>
 | |
|         </ul></nav><!-- /#menu -->
 | |
| <section id="content">
 | |
| <h2>All articles</h2>
 | |
| 
 | |
| <ol id="post-list">
 | |
|         <li><article class="hentry">
 | |
|                 <header> <h2 class="entry-title"><a href="http://example.com/test/cz/translated-article.html" rel="bookmark" title="Permalink to Přeložený článek">Přeložený článek</a></h2> </header>
 | |
|                 <footer class="post-info">
 | |
|                     <abbr class="published" title="2014-09-15T00:00:00"> Mon 15 September 2014 </abbr>
 | |
|                     <address class="vcard author">By
 | |
|                         <a class="url fn" href="http://example.com/test/cz/author/test-testovic.html">Test Testovič</a>
 | |
|                     </address>
 | |
|                 </footer><!-- /.post-info -->
 | |
|                 <div class="entry-content"> <p>Jednoduchý článek s překlady.
 | |
| Zde je odkaz na <a class="reference external" href="http://example.com/test/cz/../images/img.png">nějaký obrázek</a>.</p>
 | |
|  </div><!-- /.entry-content -->
 | |
|         </article></li>
 | |
|         <li><article class="hentry">
 | |
|                 <header> <h2 class="entry-title"><a href="http://example.com/test/cz/an-untranslated-article-en.html" rel="bookmark" title="Permalink to An untranslated article">An untranslated article</a></h2> </header>
 | |
|                 <footer class="post-info">
 | |
|                     <abbr class="published" title="2014-07-14T00:00:00"> Mon 14 July 2014 </abbr>
 | |
|                     <address class="vcard author">By
 | |
|                         <a class="url fn" href="http://example.com/test/cz/author/test-testovic.html">Test Testovič</a>
 | |
|                     </address>
 | |
|                 </footer><!-- /.post-info -->
 | |
|                 <div class="entry-content"> <p>An article without a translation.
 | |
| Here is a link to an <a class="reference external" href="http://example.com/test/cz/../pages/untranslated-page.html">untranslated page</a></p>
 | |
|  </div><!-- /.entry-content -->
 | |
|         </article></li>
 | |
| </ol><!-- /#posts-list -->
 | |
| </section><!-- /#content -->
 | |
|         <footer id="contentinfo" class="body">
 | |
|                 <address id="about" class="vcard body">
 | |
|                 Proudly powered by <a href="http://getpelican.com/">Pelican</a>,
 | |
|                 which takes great advantage of <a href="http://python.org">Python</a>.
 | |
|                 </address><!-- /#about -->
 | |
|         </footer><!-- /#contentinfo -->
 | |
| </body>
 | |
| </html> |