Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Denis Salem
VenC
Commits
b3ed53fb
Commit
b3ed53fb
authored
Aug 22, 2019
by
Denis Salem
Browse files
Fix Academik pre, add sixth test for Tessellation
parent
eb9f55dc
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/share/themes/academik/assets/style.css
View file @
b3ed53fb
...
...
@@ -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
;
...
...
src/share/themes/tessellation/assets/style.css
View file @
b3ed53fb
...
...
@@ -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%
;}
...
...
test/themes/refs/Academik/style.css
View file @
b3ed53fb
...
...
@@ -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
;
...
...
test/themes/refs/Tessellation/style.css
View file @
b3ed53fb
...
...
@@ -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%
;}
...
...
test/themes/tested/entries/6__08-22-2019-08-20__Display_title_in_entry_test
0 → 100644
View file @
b3ed53fb
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::<h1>Display title in entry test</h1>:.</pre>
::EndEscape:.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment