Commit b3ed53fb authored by Denis Salem's avatar Denis Salem
Browse files

Fix Academik pre, add sixth test for Tessellation

parent eb9f55dc
......@@ -23,14 +23,15 @@ blockquote p
font-size: 0.8em;
padding-left: 1em;}
pre {overflow: hidden; overflow-x: auto; clear: both; max-width: 580px;}
.__VENC_PYGMENTIZE_WRAPPER__ {clear: both; width: 580px;}
.__VENC_PYGMENTIZE_WRAPPER__ pre {overflow-x: auto;}
.__VENC_PYGMENTIZE_WRAPPER__ table {width: 580px; display: block; }
.__VENC_PYGMENTIZE_WRAPPER__ table tr {width: 100%; display: block;}
.__VENC_PYGMENTIZE_WRAPPER__ table tbody {width: 100%; display: block;}
.__VENC_PYGMENTIZE_WRAPPER__ table .linenos {width: 4%; display: inline-block;vertical-align: top;}
.__VENC_PYGMENTIZE_WRAPPER__ table .code {width: 95%; display: inline-block;vertical-align: top;}
.__VENC_PYGMENTIZE_WRAPPER__ table td pre {vertical-align: top; overflow: hidden; margin: 0px; overflow-x: auto;}
.__VENC_PYGMENTIZE_WRAPPER__ table td pre {vertical-align: top; margin: 0px;}
.note, .footnote
{float: left;
......
......@@ -23,6 +23,9 @@ hr
background-color: grey;
height: 1px;}
strong
{font-weight: bold;}
pre {overflow: hidden; overflow-x: auto;}
.__VENC_PYGMENTIZE_WRAPPER__ {clear: both; width: 100%;}
......
......@@ -23,14 +23,15 @@ blockquote p
font-size: 0.8em;
padding-left: 1em;}
pre {overflow: hidden; overflow-x: auto; clear: both; max-width: 580px;}
.__VENC_PYGMENTIZE_WRAPPER__ {clear: both; width: 580px;}
.__VENC_PYGMENTIZE_WRAPPER__ pre {overflow-x: auto;}
.__VENC_PYGMENTIZE_WRAPPER__ table {width: 580px; display: block; }
.__VENC_PYGMENTIZE_WRAPPER__ table tr {width: 100%; display: block;}
.__VENC_PYGMENTIZE_WRAPPER__ table tbody {width: 100%; display: block;}
.__VENC_PYGMENTIZE_WRAPPER__ table .linenos {width: 4%; display: inline-block;vertical-align: top;}
.__VENC_PYGMENTIZE_WRAPPER__ table .code {width: 95%; display: inline-block;vertical-align: top;}
.__VENC_PYGMENTIZE_WRAPPER__ table td pre {vertical-align: top; overflow: hidden; margin: 0px; overflow-x: auto;}
.__VENC_PYGMENTIZE_WRAPPER__ table td pre {vertical-align: top; margin: 0px;}
.note, .footnote
{float: left;
......
......@@ -23,6 +23,9 @@ hr
background-color: grey;
height: 1px;}
strong
{font-weight: bold;}
pre {overflow: hidden; overflow-x: auto;}
.__VENC_PYGMENTIZE_WRAPPER__ {clear: both; width: 100%;}
......
authors: 'Denis Salem'
categories: 'Layout Tricks'
tags: ''
title: Display title in entry test
display_title_in_entry: ''
---VENC-BEGIN-PREVIEW---
---VENC-END-PREVIEW---
With Tessellation you can tell VenC if it must display entry title or not.
By default, entry title are disabled.
On the user side, to display the entry title in the entry, one have to set up the above metadata "__.:DisableMarkup::display_title_in_entry:.__".
By looking the source of the Tessellation theme, in _entry.html_ you'll see that we are calling the following patterns to achieve the trick.
.:Escape::
<pre>.:GetEntryMetadataIfExists::display_title_in_entry::&lt;h1&gt;Display title in entry test&lt;/h1&gt;:.</pre>
::EndEscape:.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment