initial commit to seperate repo
This commit is contained in:
commit
8630e4db13
23669 changed files with 1067407 additions and 0 deletions
1
themes/ipython/AUTHORS.txt
Normal file
1
themes/ipython/AUTHORS.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
Damián Avila <https://github.com/damianavila>
|
||||
4
themes/ipython/README.md
Normal file
4
themes/ipython/README.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
This is the standard bootstrap3-jinja theme, with IPython Notebook support via
|
||||
additional CSS files. Install it to fully make use of the ipynb compiler.
|
||||
|
||||
Supports `nikola bootswatch_theme`.
|
||||
199
themes/ipython/assets/css/ipython.min.css
vendored
Normal file
199
themes/ipython/assets/css/ipython.min.css
vendored
Normal file
|
|
@ -0,0 +1,199 @@
|
|||
.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0}
|
||||
.clearfix:after{clear:both}
|
||||
.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}
|
||||
.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
|
||||
code{color:#000}
|
||||
.border-box-sizing{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}
|
||||
.corner-all{border-radius:4px}
|
||||
.hbox{display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}
|
||||
.hbox>*{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;flex:none}
|
||||
.vbox{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}
|
||||
.vbox>*{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;flex:none}
|
||||
.hbox.reverse,.vbox.reverse,.reverse{-webkit-box-direction:reverse;-moz-box-direction:reverse;box-direction:reverse;flex-direction:row-reverse}
|
||||
.hbox.box-flex0,.vbox.box-flex0,.box-flex0{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;flex:none;width:auto}
|
||||
.hbox.box-flex1,.vbox.box-flex1,.box-flex1{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}
|
||||
.hbox.box-flex,.vbox.box-flex,.box-flex{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}
|
||||
.hbox.box-flex2,.vbox.box-flex2,.box-flex2{-webkit-box-flex:2;-moz-box-flex:2;box-flex:2;flex:2}
|
||||
.box-group1{-webkit-box-flex-group:1;-moz-box-flex-group:1;box-flex-group:1}
|
||||
.box-group2{-webkit-box-flex-group:2;-moz-box-flex-group:2;box-flex-group:2}
|
||||
.hbox.start,.vbox.start,.start{-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start}
|
||||
.hbox.end,.vbox.end,.end{-webkit-box-pack:end;-moz-box-pack:end;box-pack:end;justify-content:flex-end}
|
||||
.hbox.center,.vbox.center,.center{-webkit-box-pack:center;-moz-box-pack:center;box-pack:center;justify-content:center}
|
||||
.hbox.align-start,.vbox.align-start,.align-start{-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start}
|
||||
.hbox.align-end,.vbox.align-end,.align-end{-webkit-box-align:end;-moz-box-align:end;box-align:end;align-items:flex-end}
|
||||
.hbox.align-center,.vbox.align-center,.align-center{-webkit-box-align:center;-moz-box-align:center;box-align:center;align-items:center}
|
||||
div.error{margin:2em;text-align:center}
|
||||
div.error>h1{font-size:500%;line-height:normal}
|
||||
div.error>p{font-size:200%;line-height:normal}
|
||||
div.traceback-wrapper{text-align:left;max-width:800px;margin:auto}
|
||||
.center-nav{display:inline-block;margin-bottom:-4px}
|
||||
.alternate_upload{background-color:none;display:inline}
|
||||
.alternate_upload.form{padding:0;margin:0}
|
||||
.alternate_upload input.fileinput{background-color:#f00;position:relative;opacity:0;z-index:2;width:295px;margin-left:163px;cursor:pointer;height:26px}
|
||||
ul#tabs{margin-bottom:4px}
|
||||
ul#tabs a{padding-top:4px;padding-bottom:4px}
|
||||
ul.breadcrumb a:focus,ul.breadcrumb a:hover{text-decoration:none}
|
||||
ul.breadcrumb i.icon-home{font-size:16px;margin-right:4px}
|
||||
ul.breadcrumb span{color:#5e5e5e}
|
||||
.list_toolbar{padding:4px 0 4px 0}
|
||||
.list_toolbar [class*="span"]{min-height:26px}
|
||||
.list_header{font-weight:bold}
|
||||
.list_container{margin-top:4px;margin-bottom:20px;border:1px solid #ababab;border-radius:4px}
|
||||
.list_container>div{border-bottom:1px solid #ababab}.list_container>div:hover .list-item{background-color:#f00}
|
||||
.list_container>div:last-child{border:none}
|
||||
.list_item:hover .list_item{background-color:#ddd}
|
||||
.list_item a{text-decoration:none}
|
||||
.list_header>div,.list_item>div{padding-top:4px;padding-bottom:4px;padding-left:7px;padding-right:7px;height:22px;line-height:22px}
|
||||
.item_name{line-height:22px;height:26px}
|
||||
.item_icon{font-size:14px;color:#5e5e5e;margin-right:7px}
|
||||
.item_buttons{line-height:1em}
|
||||
.toolbar_info{height:26px;line-height:26px}
|
||||
input.nbname_input,input.engine_num_input{padding-top:3px;padding-bottom:3px;height:14px;line-height:14px;margin:0}
|
||||
input.engine_num_input{width:60px}
|
||||
.highlight_text{color:#00f}
|
||||
#project_name>.breadcrumb{padding:0;margin-bottom:0;background-color:transparent;font-weight:bold}
|
||||
.ansibold{font-weight:bold}
|
||||
.ansiblack{color:#000}
|
||||
.ansired{color:#8b0000}
|
||||
.ansigreen{color:#006400}
|
||||
.ansiyellow{color:#a52a2a}
|
||||
.ansiblue{color:#00008b}
|
||||
.ansipurple{color:#9400d3}
|
||||
.ansicyan{color:#4682b4}
|
||||
.ansigray{color:#808080}
|
||||
.ansibgblack{background-color:#000}
|
||||
.ansibgred{background-color:#f00}
|
||||
.ansibggreen{background-color:#008000}
|
||||
.ansibgyellow{background-color:#ff0}
|
||||
.ansibgblue{background-color:#00f}
|
||||
.ansibgpurple{background-color:#f0f}
|
||||
.ansibgcyan{background-color:#0ff}
|
||||
.ansibggray{background-color:#808080}
|
||||
div.cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}div.cell.selected{border-radius:4px;border:thin #ababab solid}
|
||||
div.cell.edit_mode{border-radius:4px;border:thin #008000 solid}
|
||||
div.cell{width:100%;padding:5px 5px 5px 0;margin:0;outline:none}
|
||||
div.prompt{min-width:11ex;padding:.4em;margin:0;font-family:monospace;text-align:right;line-height:1.21429em}
|
||||
@media (max-width:480px){div.prompt{text-align:left}}div.inner_cell{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}
|
||||
div.input_area{border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7}
|
||||
div.prompt:empty{padding-top:0;padding-bottom:0}
|
||||
div.input{page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}
|
||||
@media (max-width:480px){div.input{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}}div.input_prompt{color:#000080;border-top:1px solid transparent}
|
||||
div.input_area>div.highlight{margin:.4em;border:none;padding:0;background-color:transparent}
|
||||
div.input_area>div.highlight>pre{margin:0;border:0;padding:0;background-color:transparent;font-size:14px;line-height:1.21429em}
|
||||
.CodeMirror{line-height:1.21429em;height:auto;background:none;}
|
||||
.CodeMirror-scroll{overflow-y:hidden;overflow-x:auto}
|
||||
@-moz-document url-prefix(){.CodeMirror-scroll{overflow-x:hidden}}.CodeMirror-lines{padding:.4em}
|
||||
.CodeMirror-linenumber{padding:0 8px 0 4px}
|
||||
.CodeMirror-gutters{border-bottom-left-radius:4px;border-top-left-radius:4px}
|
||||
.CodeMirror pre{padding:0;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}
|
||||
pre code{display:block;padding:.5em}
|
||||
.highlight-base,pre code,pre .subst,pre .tag .title,pre .lisp .title,pre .clojure .built_in,pre .nginx .title{color:#000}
|
||||
.highlight-string,pre .string,pre .constant,pre .parent,pre .tag .value,pre .rules .value,pre .rules .value .number,pre .preprocessor,pre .ruby .symbol,pre .ruby .symbol .string,pre .aggregate,pre .template_tag,pre .django .variable,pre .smalltalk .class,pre .addition,pre .flow,pre .stream,pre .bash .variable,pre .apache .tag,pre .apache .cbracket,pre .tex .command,pre .tex .special,pre .erlang_repl .function_or_atom,pre .markdown .header{color:#ba2121}
|
||||
.highlight-comment,pre .comment,pre .annotation,pre .template_comment,pre .diff .header,pre .chunk,pre .markdown .blockquote{color:#408080;font-style:italic}
|
||||
.highlight-number,pre .number,pre .date,pre .regexp,pre .literal,pre .smalltalk .symbol,pre .smalltalk .char,pre .go .constant,pre .change,pre .markdown .bullet,pre .markdown .link_url{color:#080}
|
||||
pre .label,pre .javadoc,pre .ruby .string,pre .decorator,pre .filter .argument,pre .localvars,pre .array,pre .attr_selector,pre .important,pre .pseudo,pre .pi,pre .doctype,pre .deletion,pre .envvar,pre .shebang,pre .apache .sqbracket,pre .nginx .built_in,pre .tex .formula,pre .erlang_repl .reserved,pre .prompt,pre .markdown .link_label,pre .vhdl .attribute,pre .clojure .attribute,pre .coffeescript .property{color:#88f}
|
||||
.highlight-keyword,pre .keyword,pre .id,pre .phpdoc,pre .aggregate,pre .css .tag,pre .javadoctag,pre .phpdoc,pre .yardoctag,pre .smalltalk .class,pre .winutils,pre .bash .variable,pre .apache .tag,pre .go .typename,pre .tex .command,pre .markdown .strong,pre .request,pre .status{color:#008000;font-weight:bold}
|
||||
.highlight-builtin,pre .built_in{color:#008000}
|
||||
pre .markdown .emphasis{font-style:italic}
|
||||
pre .nginx .built_in{font-weight:normal}
|
||||
pre .coffeescript .javascript,pre .javascript .xml,pre .tex .formula,pre .xml .javascript,pre .xml .vbscript,pre .xml .css,pre .xml .cdata{opacity:.5}
|
||||
.cm-s-ipython span.cm-variable{color:#000}
|
||||
.cm-s-ipython span.cm-keyword{color:#008000;font-weight:bold}
|
||||
.cm-s-ipython span.cm-number{color:#080}
|
||||
.cm-s-ipython span.cm-comment{color:#408080;font-style:italic}
|
||||
.cm-s-ipython span.cm-string{color:#ba2121}
|
||||
.cm-s-ipython span.cm-builtin{color:#008000}
|
||||
.cm-s-ipython span.cm-error{color:#f00}
|
||||
.cm-s-ipython span.cm-operator{color:#a2f;font-weight:bold}
|
||||
.cm-s-ipython span.cm-meta{color:#a2f}
|
||||
.cm-s-ipython span.cm-tab{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);background-position:right;background-repeat:no-repeat}
|
||||
div.output_wrapper{position:relative;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}
|
||||
div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:4px;-webkit-box-shadow:inset 0 2px 8px rgba(0,0,0,0.8);-moz-box-shadow:inset 0 2px 8px rgba(0,0,0,0.8);box-shadow:inset 0 2px 8px rgba(0,0,0,0.8);display:block}
|
||||
div.output_collapsed{margin:0;padding:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}
|
||||
div.out_prompt_overlay{height:100%;padding:0 .4em;position:absolute;border-radius:4px}
|
||||
div.out_prompt_overlay:hover{-webkit-box-shadow:inset 0 0 1px #000;-moz-box-shadow:inset 0 0 1px #000;box-shadow:inset 0 0 1px #000;background:rgba(240,240,240,0.5)}
|
||||
div.output_prompt{color:#8b0000}
|
||||
div.output_area{padding:0;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}div.output_area .MathJax_Display{text-align:left !important}
|
||||
div.output_area .rendered_html table{margin-left:0;margin-right:0}
|
||||
div.output_area .rendered_html img{margin-left:0;margin-right:0}
|
||||
.output{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}
|
||||
@media (max-width:480px){div.output_area{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}}div.output_area pre{margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;color:#000;background-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;line-height:inherit}
|
||||
div.output_subarea{padding:.4em .4em 0 .4em;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}
|
||||
div.output_text{text-align:left;color:#000;line-height:1.21429em}
|
||||
div.output_stderr{background:#fdd;}
|
||||
div.output_latex{text-align:left}
|
||||
div.output_javascript:empty{padding:0}
|
||||
.js-error{color:#8b0000}
|
||||
div.raw_input_container{font-family:monospace;padding-top:5px}
|
||||
span.raw_input_prompt{}
|
||||
input.raw_input{font-family:inherit;font-size:inherit;color:inherit;width:auto;vertical-align:baseline;padding:0 .25em;margin:0 .25em}
|
||||
input.raw_input:focus{box-shadow:none}
|
||||
p.p-space{margin-bottom:10px}
|
||||
.rendered_html{color:#000;}.rendered_html em{font-style:italic}
|
||||
.rendered_html strong{font-weight:bold}
|
||||
.rendered_html u{text-decoration:underline}
|
||||
.rendered_html :link{text-decoration:underline}
|
||||
.rendered_html :visited{text-decoration:underline}
|
||||
.rendered_html h1{font-size:185.7%;margin:1.08em 0 0 0;font-weight:bold;line-height:1}
|
||||
.rendered_html h2{font-size:157.1%;margin:1.27em 0 0 0;font-weight:bold;line-height:1}
|
||||
.rendered_html h3{font-size:128.6%;margin:1.55em 0 0 0;font-weight:bold;line-height:1}
|
||||
.rendered_html h4{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1}
|
||||
.rendered_html h5{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic}
|
||||
.rendered_html h6{font-size:100%;margin:2em 0 0 0;font-weight:bold;line-height:1;font-style:italic}
|
||||
.rendered_html h1:first-child{margin-top:.538em}
|
||||
.rendered_html h2:first-child{margin-top:.636em}
|
||||
.rendered_html h3:first-child{margin-top:.777em}
|
||||
.rendered_html h4:first-child{margin-top:1em}
|
||||
.rendered_html h5:first-child{margin-top:1em}
|
||||
.rendered_html h6:first-child{margin-top:1em}
|
||||
.rendered_html ul{list-style:disc;margin:0 2em}
|
||||
.rendered_html ul ul{list-style:square;margin:0 2em}
|
||||
.rendered_html ul ul ul{list-style:circle;margin:0 2em}
|
||||
.rendered_html ol{list-style:decimal;margin:0 2em}
|
||||
.rendered_html ol ol{list-style:upper-alpha;margin:0 2em}
|
||||
.rendered_html ol ol ol{list-style:lower-alpha;margin:0 2em}
|
||||
.rendered_html ol ol ol ol{list-style:lower-roman;margin:0 2em}
|
||||
.rendered_html ol ol ol ol ol{list-style:decimal;margin:0 2em}
|
||||
.rendered_html *+ul{margin-top:1em}
|
||||
.rendered_html *+ol{margin-top:1em}
|
||||
.rendered_html hr{color:#000;background-color:#000}
|
||||
.rendered_html pre{margin:1em 2em}
|
||||
.rendered_html pre,.rendered_html code{border:0;background-color:#fff;color:#000;font-size:100%;padding:0}
|
||||
.rendered_html blockquote{margin:1em 2em}
|
||||
.rendered_html table{margin-left:auto;margin-right:auto;border:1px solid #000;border-collapse:collapse}
|
||||
.rendered_html tr,.rendered_html th,.rendered_html td{border:1px solid #000;border-collapse:collapse;margin:1em 2em}
|
||||
.rendered_html td,.rendered_html th{text-align:left;vertical-align:middle;padding:4px}
|
||||
.rendered_html th{font-weight:bold}
|
||||
.rendered_html *+table{margin-top:1em}
|
||||
.rendered_html p{text-align:justify}
|
||||
.rendered_html *+p{margin-top:1em}
|
||||
.rendered_html img{display:block;margin-left:auto;margin-right:auto}
|
||||
.rendered_html *+img{margin-top:1em}
|
||||
div.text_cell{padding:5px 5px 5px 0;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}
|
||||
@media (max-width:480px){div.text_cell>div.prompt{display:none}}div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:.5em .5em .5em .4em;color:#000}
|
||||
a.anchor-link:link{text-decoration:none;padding:0 20px;visibility:hidden}
|
||||
h1:hover .anchor-link,h2:hover .anchor-link,h3:hover .anchor-link,h4:hover .anchor-link,h5:hover .anchor-link,h6:hover .anchor-link{visibility:visible}
|
||||
div.cell.text_cell.rendered{padding:0}
|
||||
.widget-area{page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}.widget-area .widget-subarea{padding:.44em .4em .4em 1px;margin-left:6px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:2;-moz-box-flex:2;box-flex:2;flex:2;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start}
|
||||
.widget-hlabel{min-width:10ex;padding-right:8px;padding-top:3px;text-align:right;vertical-align:text-top}
|
||||
.widget-vlabel{padding-bottom:5px;text-align:center;vertical-align:text-bottom}
|
||||
.widget-hreadout{padding-left:8px;padding-top:3px;text-align:left;vertical-align:text-top}
|
||||
.widget-vreadout{padding-top:5px;text-align:center;vertical-align:text-top}
|
||||
.slide-track{border:1px solid #ccc;background:#fff;border-radius:4px;}
|
||||
.widget-hslider{padding-left:8px;padding-right:5px;overflow:visible;width:348px;height:5px;max-height:5px;margin-top:11px;margin-bottom:10px;border:1px solid #ccc;background:#fff;border-radius:4px;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}.widget-hslider .ui-slider{border:0 !important;background:none !important;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}.widget-hslider .ui-slider .ui-slider-handle{width:14px !important;height:28px !important;margin-top:-8px !important}
|
||||
.widget-vslider{padding-bottom:8px;overflow:visible;width:5px;max-width:5px;height:250px;margin-left:12px;border:1px solid #ccc;background:#fff;border-radius:4px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}.widget-vslider .ui-slider{border:0 !important;background:none !important;margin-left:-4px;margin-top:5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;flex:1}.widget-vslider .ui-slider .ui-slider-handle{width:28px !important;height:14px !important;margin-left:-9px}
|
||||
.widget-text{width:350px;margin:0 !important}
|
||||
.widget-listbox{width:364px;margin-bottom:0}
|
||||
.widget-numeric-text{width:150px;margin:0 !important}
|
||||
.widget-progress{width:363px}.widget-progress .bar{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}
|
||||
.widget-combo-btn{min-width:138px;}
|
||||
.widget-box{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start}
|
||||
.widget-hbox{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch}
|
||||
.widget-hbox-single{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;display:flex;flex-direction:row;align-items:stretch;height:30px}
|
||||
.widget-vbox{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch}
|
||||
.widget-vbox-single{margin:5px;-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;justify-content:flex-start;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;width:30px}
|
||||
.widget-modal{overflow:hidden;position:absolute !important;top:0;left:0;margin-left:0 !important}
|
||||
.widget-modal-body{max-height:none !important}
|
||||
.widget-container{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-box-align:start;-moz-box-align:start;box-align:start;align-items:flex-start}
|
||||
.widget-radio-box{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;display:flex;flex-direction:column;align-items:stretch;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding-top:4px}
|
||||
.docked-widget-modal{overflow:hidden;position:relative !important;top:0 !important;left:0 !important;margin-left:0 !important}
|
||||
135
themes/ipython/assets/css/nikola_ipython.css
Normal file
135
themes/ipython/assets/css/nikola_ipython.css
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
body {
|
||||
position: static;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 0.4em;
|
||||
margin: 0px;
|
||||
font-family: monospace, sans-serif;
|
||||
border: none;
|
||||
}
|
||||
|
||||
div.prompt {
|
||||
padding: 0.6em;
|
||||
font-size: 13px;
|
||||
background-color: #E9E9E9;
|
||||
margin-right: 1em;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
div.input_prompt {
|
||||
|
||||
}
|
||||
|
||||
div.output_prompt {
|
||||
/* 5px right shift to account for margin in parent container */
|
||||
margin: 0 5px 0 0px;
|
||||
}
|
||||
|
||||
div.output_area pre {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
div.text_cell_render {
|
||||
padding: 0px;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.rendered_html p {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.rendered_html ul {
|
||||
margin: 0 0 12px 25px;
|
||||
}
|
||||
|
||||
.rendered_html :visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.rendered_html :link {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.rendered_html pre, .rendered_html code {
|
||||
background-color: #DDDDDD;
|
||||
padding-left: 0.5em;
|
||||
padding-right: 0.5em;
|
||||
padding-top: 0.05em;
|
||||
padding-bottom: 0.05em;
|
||||
margin: 1em 0em;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.page-content > .content p {
|
||||
margin: 0 0 0px;
|
||||
}
|
||||
|
||||
h1, h2, h3, .metadata p {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.highlight .hll { background-color: #ffffcc }
|
||||
.highlight { background: #f8f8f8; }
|
||||
.highlight .c { color: #408080; font-style: italic } /* Comment */
|
||||
.highlight .err { border: 1px solid #FF0000 } /* Error */
|
||||
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
|
||||
.highlight .o { color: #666666 } /* Operator */
|
||||
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
|
||||
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
|
||||
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
|
||||
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
|
||||
.highlight .gd { color: #A00000 } /* Generic.Deleted */
|
||||
.highlight .ge { font-style: italic } /* Generic.Emph */
|
||||
.highlight .gr { color: #FF0000 } /* Generic.Error */
|
||||
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
||||
.highlight .gi { color: #00A000 } /* Generic.Inserted */
|
||||
.highlight .go { color: #888888 } /* Generic.Output */
|
||||
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
||||
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
||||
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
||||
.highlight .gt { color: #0044DD } /* Generic.Traceback */
|
||||
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
||||
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
||||
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
||||
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
|
||||
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
|
||||
.highlight .kt { color: #B00040 } /* Keyword.Type */
|
||||
.highlight .m { color: #666666 } /* Literal.Number */
|
||||
.highlight .s { color: #BA2121 } /* Literal.String */
|
||||
.highlight .na { color: #7D9029 } /* Name.Attribute */
|
||||
.highlight .nb { color: #008000 } /* Name.Builtin */
|
||||
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
||||
.highlight .no { color: #880000 } /* Name.Constant */
|
||||
.highlight .nd { color: #AA22FF } /* Name.Decorator */
|
||||
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
|
||||
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
|
||||
.highlight .nf { color: #0000FF } /* Name.Function */
|
||||
.highlight .nl { color: #A0A000 } /* Name.Label */
|
||||
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
||||
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
|
||||
.highlight .nv { color: #19177C } /* Name.Variable */
|
||||
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
||||
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
||||
.highlight .mf { color: #666666 } /* Literal.Number.Float */
|
||||
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
|
||||
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
|
||||
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
|
||||
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
|
||||
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
|
||||
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
||||
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
|
||||
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
||||
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
|
||||
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
||||
.highlight .sx { color: #008000 } /* Literal.String.Other */
|
||||
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
|
||||
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
|
||||
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
|
||||
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
|
||||
.highlight .vc { color: #19177C } /* Name.Variable.Class */
|
||||
.highlight .vg { color: #19177C } /* Name.Variable.Global */
|
||||
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
|
||||
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
|
||||
4
themes/ipython/bundles
Normal file
4
themes/ipython/bundles
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
assets/css/all-nocdn.css=bootstrap.css,rst.css,code.css,colorbox.css,theme.css,custom.css,ipython.min.css,nikola_ipython.css
|
||||
assets/css/all.css=rst.css,code.css,colorbox.css,theme.css,custom.css,ipython.min.css,nikola_ipython.css
|
||||
assets/js/all-nocdn.js=jquery.min.js,bootstrap.min.js,jquery.colorbox-min.js,mathjax.js,moment-with-locales.min.js,fancydates.js
|
||||
assets/js/all.js=jquery.colorbox-min.js,mathjax.js,moment-with-locales.min.js,fancydates.js
|
||||
1
themes/ipython/parent
Normal file
1
themes/ipython/parent
Normal file
|
|
@ -0,0 +1 @@
|
|||
bootstrap3-jinja
|
||||
171
themes/ipython/templates/base_helper.tmpl
Normal file
171
themes/ipython/templates/base_helper.tmpl
Normal file
|
|
@ -0,0 +1,171 @@
|
|||
{# -*- coding: utf-8 -*- #}
|
||||
|
||||
{% import 'annotation_helper.tmpl' as notes with context %}
|
||||
{% macro html_headstart() %}
|
||||
<!DOCTYPE html>
|
||||
<html
|
||||
|
||||
{% if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']) or (comment_system == 'facebook') %}
|
||||
prefix='
|
||||
{% if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']) %}
|
||||
og: http://ogp.me/ns#
|
||||
{% endif %}
|
||||
{% if use_open_graph %}
|
||||
article: http://ogp.me/ns/article#
|
||||
{% endif %}
|
||||
{% if comment_system == 'facebook' %}
|
||||
fb: http://ogp.me/ns/fb#
|
||||
{% endif %}
|
||||
'
|
||||
{% endif %}
|
||||
|
||||
{% if is_rtl %}
|
||||
dir="rtl"
|
||||
{% endif %}
|
||||
|
||||
lang="{{ lang }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
{% if description %}
|
||||
<meta name="description" content="{{ description }}">
|
||||
{% endif %}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ title|e }} | {{ blog_title|e }}</title>
|
||||
|
||||
{{ html_stylesheets() }}
|
||||
{{ html_feedlinks() }}
|
||||
{% if permalink %}
|
||||
<link rel="canonical" href="{{ abs_link(permalink) }}">
|
||||
{% endif %}
|
||||
|
||||
{% if favicons %}
|
||||
{% for name, file, size in favicons %}
|
||||
<link rel="{{ name }}" href="{{ file }}" sizes="{{ size }}"/>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if comment_system == 'facebook' %}
|
||||
<meta property="fb:app_id" content="{{ comment_system_id }}">
|
||||
{% endif %}
|
||||
|
||||
{% if prevlink %}
|
||||
<link rel="prev" href="{{ prevlink }}" type="text/html">
|
||||
{% endif %}
|
||||
{% if nextlink %}
|
||||
<link rel="next" href="{{ nextlink }}" type="text/html">
|
||||
{% endif %}
|
||||
|
||||
{{ mathjax_config }}
|
||||
{% if use_cdn %}
|
||||
<!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
{% else %}
|
||||
<!--[if lt IE 9]><script src="{{ url_replacer(permalink, '/assets/js/html5.js', lang) }}"></script><![endif]-->
|
||||
{% endif %}
|
||||
|
||||
{{ extra_head_data }}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro late_load_js() %}
|
||||
{% if use_bundles %}
|
||||
{% if use_cdn %}
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
||||
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
<script src="/assets/js/all.js"></script>
|
||||
{% else %}
|
||||
<script src="/assets/js/all-nocdn.js"></script>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if use_cdn %}
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
||||
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
||||
{% else %}
|
||||
<script src="/assets/js/jquery.min.js"></script>
|
||||
<script src="/assets/js/bootstrap.min.js"></script>
|
||||
<script src="/assets/js/moment-with-locales.min.js"></script>
|
||||
<script src="/assets/js/fancydates.js"></script>
|
||||
{% endif %}
|
||||
<script src="/assets/js/mathjax.js"></script>
|
||||
<script src="/assets/js/jquery.colorbox-min.js"></script>
|
||||
{% endif %}
|
||||
{% if colorbox_locales[lang] %}
|
||||
<script src="/assets/js/colorbox-i18n/jquery.colorbox-{{ colorbox_locales[lang] }}.js"></script>
|
||||
{% endif %}
|
||||
{{ social_buttons_code }}
|
||||
{% endmacro %}
|
||||
|
||||
|
||||
{% macro html_stylesheets() %}
|
||||
{% if use_bundles %}
|
||||
{% if use_cdn %}
|
||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="/assets/css/all.css" rel="stylesheet" type="text/css">
|
||||
{% else %}
|
||||
<link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if use_cdn %}
|
||||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet">
|
||||
{% else %}
|
||||
<link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">
|
||||
{% endif %}
|
||||
<link href="/assets/css/rst.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/code.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/theme.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/ipython.min.css" rel="stylesheet" type="text/css">
|
||||
<link href="/assets/css/nikola_ipython.css" rel="stylesheet" type="text/css">
|
||||
{% if has_custom_css %}
|
||||
<link href="/assets/css/custom.css" rel="stylesheet" type="text/css">
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if annotations and post and not post.meta('noannotations') %}
|
||||
{{ notes.css() }}
|
||||
{% elif not annotations and post and post.meta('annotations') %}
|
||||
{{ notes.css() }}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro html_navigation_links() %}
|
||||
{% for url, text in navigation_links[lang] %}
|
||||
{% if isinstance(url, tuple) %}
|
||||
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ text }}<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
{% for suburl, text in url %}
|
||||
{% if rel_link(permalink, suburl) == "#" %}
|
||||
<li class="active"><a href="{{ permalink }}">{{ text }}</a>
|
||||
{% else %}
|
||||
<li><a href="{{ suburl }}">{{ text }}</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
{% if rel_link(permalink, url) == "#" %}
|
||||
<li class="active"><a href="{{ permalink }}">{{ text }}</a>
|
||||
{% else %}
|
||||
<li><a href="{{ url }}">{{ text }}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro html_feedlinks() %}
|
||||
{% if rss_link %}
|
||||
{{ rss_link }}
|
||||
{% elif generate_rss %}
|
||||
{% if translations|length > 1 %}
|
||||
{% for language in translations %}
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS ({{ language }})" href="{{ _link('rss', None, language) }}">
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ _link('rss', None) }}">
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro html_translations() %}
|
||||
{% for langname in translations.keys() %}
|
||||
{% if langname != lang %}
|
||||
<li><a href="{{ _link("index", None, langname) }}" rel="alternate" hreflang="{{ langname }}">{{ messages("LANGUAGE", langname) }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
33
themes/ipython/templates/index.tmpl
Normal file
33
themes/ipython/templates/index.tmpl
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{# -*- coding: utf-8 -*- #}
|
||||
{% import 'index_helper.tmpl' as helper with context %}
|
||||
{% import 'comments_helper.tmpl' as comments with context %}
|
||||
{% extends 'base.tmpl' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="postindex">
|
||||
{% for post in posts %}
|
||||
<article class="h-entry post-{{ post.meta('type') }}">
|
||||
<header>
|
||||
<h1 class="p-name entry-title"><a href="{{ post.permalink() }}" class="u-url">{{ post.title() }}</h1></a>
|
||||
<div class="metadata">
|
||||
<p class="byline author vcard"><span class="byline-name fn">{{ post.author() }}</span></p>
|
||||
<p class="dateline"><a href="{{ post.permalink() }}" rel="bookmark"><time class="published dt-published" datetime="{{ post.date.isoformat() }}" itemprop="datePublished" title="{{ messages("Publication date") }}">{{ post.formatted_date(date_format) }}</time></a></p>
|
||||
{% if not post.meta('nocomments') and site_has_comments %}
|
||||
<p class="commentline">{{ comments.comment_link(post.permalink(), post._base_path) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</header>
|
||||
{% if index_teasers %}
|
||||
<div class="p-summary entry-summary">
|
||||
{{ post.text(teaser_only=True) }}
|
||||
{% else %}
|
||||
<div class="e-content entry-content">
|
||||
{{ post.text(teaser_only=False) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{{ helper.html_pager() }}
|
||||
{{ comments.comment_link_script() }}
|
||||
{% endblock %}
|
||||
46
themes/ipython/templates/post.tmpl
Normal file
46
themes/ipython/templates/post.tmpl
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{# -*- coding: utf-8 -*- #}
|
||||
{% import 'post_helper.tmpl' as helper with context %}
|
||||
{% import 'post_header.tmpl' as pheader with context %}
|
||||
{% import 'comments_helper.tmpl' as comments with context %}
|
||||
{% extends 'base.tmpl' %}
|
||||
|
||||
{% block extra_head %}
|
||||
{{ super() }}
|
||||
{% if post.meta('keywords') %}
|
||||
<meta name="keywords" content="{{ post.meta('keywords')|e }}">
|
||||
{% endif %}
|
||||
<meta name="author" content="{{ post.author() }}">
|
||||
{{ helper.open_graph_metadata(post) }}
|
||||
{{ helper.twitter_card_information(post) }}
|
||||
{{ helper.meta_translations(post) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<article class="post-{{ post.meta('type') }} h-entry hentry postpage" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
{{ pheader.html_post_header() }}
|
||||
<div class="e-content entry-content" itemprop="articleBody text">
|
||||
{{ post.text() }}
|
||||
</div>
|
||||
<aside class="postpromonav">
|
||||
<nav>
|
||||
{{ helper.html_tags(post) }}
|
||||
{{ helper.html_pager(post) }}
|
||||
</nav>
|
||||
</aside>
|
||||
{% if not post.meta('nocomments') and site_has_comments %}
|
||||
<section class="comments">
|
||||
<h2>{{ messages("Comments") }}</h2>
|
||||
{{ comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path) }}
|
||||
</section>
|
||||
{% endif %}
|
||||
</article>
|
||||
{{ comments.comment_link_script() }}
|
||||
{% endblock %}
|
||||
|
||||
{% block sourcelink %}
|
||||
{% if show_sourcelink %}
|
||||
<li>
|
||||
<a href="{{ post.source_link() }}" id="sourcelink">{{ messages("Source") }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue