Implement MathJax
If a post needs to render math equations, it only has to include the mathjax.json params.
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
<div class="post-list-item">
|
||||
<h3><a class="post-title" href="/{{ slug }}.html">{{ title }}</a></h3>
|
||||
<div class="horizontal-center">
|
||||
<div class="post-list-item">
|
||||
<h2><a class="post-title" href="/{{ slug }}.html">{{ title }}</a></h2>
|
||||
|
||||
<p><b>> {{ date }}</b></p>
|
||||
<p><b>> {{ date }}</b></p>
|
||||
|
||||
<p class="post-summary">
|
||||
<div class="quote">
|
||||
{{ summary }}...
|
||||
<p class="post-summary">
|
||||
<div class="quote text">
|
||||
{{ summary }}...
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<div class="horizontal">
|
||||
{{ content }}
|
||||
<div class="post-list">
|
||||
<div class="vertical">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
||||
<link rel="stylesheet" href="{{ page_assets }}/css/main.css" />
|
||||
<link rel="stylesheet" href="/assets/css/blog.css" />
|
||||
{{ mathjax_include }}
|
||||
</head>
|
||||
<body>
|
||||
<h1><center><a class="page-title" href="/">papatutuwawa@home:~$</a></center></h1>
|
||||
@@ -25,9 +26,7 @@
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="vertical">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -36,7 +35,8 @@
|
||||
<footer>
|
||||
<center>
|
||||
Created by <i>PapaTutuWawa</i> with <3 using
|
||||
<a href="https://github.com/google/roboto">Roboto</a> and
|
||||
<a href="https://github.com/google/roboto">Roboto</a>,
|
||||
<a href="https://github.com/RedHatOfficial/Overpass">Overpass</a> and
|
||||
<a href="https://github.com/sunainapai/makesite">makesite</a>
|
||||
</center>
|
||||
</footer>
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
<article>
|
||||
<h1>{{ title }}</h1>
|
||||
|
||||
<p>// Posted {{ date }}</p>
|
||||
|
||||
{{ mathjax_warning }}
|
||||
|
||||
{{ content }}
|
||||
|
||||
<br />
|
||||
|
||||
Reference in New Issue
Block a user