add mathjax and flow chart

This commit is contained in:
Van 2017-11-09 21:50:21 +08:00
parent a7d2a8d6ea
commit 9297b6bbaa
12 changed files with 27 additions and 13 deletions

View File

@ -39,5 +39,7 @@
"em13Label": "${em13Label}",
"em14Label": "${em14Label}"
};
Util.parseMarkdown('content-reset');
</script>
${plugins}

File diff suppressed because one or more lines are too long

View File

@ -43,5 +43,6 @@
<script type="text/javascript" src="${staticServePath}/skins/${skinDirName}/js/bootstrap${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
<script>
Util.setTopBar();
Util.parseMarkdown('article-content');
</script>
${plugins}

View File

@ -29,7 +29,7 @@
</#if>
</h2>
</header>
<section class="post-excerpt fn-clear">
<section class="post-excerpt post-content fn-clear">
<p>${article.articleAbstract}</p>
</section>
<footer class="post-meta">

View File

@ -36,5 +36,6 @@
"em13Label": "${em13Label}",
"em14Label": "${em14Label}"
};
Util.parseMarkdown('post-content');
</script>
${plugins}

View File

@ -31,7 +31,7 @@
</#if>
</div>
</div>
<div class="article-abstract">
<div class="article-abstract article-body">
<div class="note">
<div class="corner"></div>
<div class="substance">

View File

@ -38,7 +38,7 @@
</div>
<div class="clear"></div>
</div>
<div class="article-abstract">
<div class="article-abstract article-body">
${article.articleAbstract}
<div class="clear"></div>
</div>

View File

@ -36,4 +36,7 @@
<script type="text/javascript" src="${staticServePath}/js/lib/jquery/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript" src="${staticServePath}/js/common${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
<script type="text/javascript" src="${staticServePath}/skins/${skinDirName}/js/${skinDirName}${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
<script>
Util.parseMarkdown();
</script>
${plugins}

View File

@ -43,5 +43,6 @@
"tocLabel": "${tocLabel}",
"siteViewLabel": "${siteViewLabel}"
};
Util.parseMarkdown()
</script>
${plugins}

View File

@ -66,9 +66,9 @@
</sup>
</#if>
</h3>
<p>
<div class="article-body">
${article.articleAbstract}
</p>
</div>
<span class="ico-tags ico" title="${tagLabel}">
<#list article.articleTags?split(",") as articleTag><a rel="category tag" href="${servePath}/tags/${articleTag?url('UTF-8')}">${articleTag}</a><#if articleTag_has_next>,</#if></#list>
</span>

View File

@ -19,7 +19,7 @@
<time><span class="icon-date"></span> ${article.articleCreateDate?string("yyyy-MM-dd")}</time>
</header>
<section class="abstract">
<section class="abstract article-body">
${article.articleAbstract}
</section>
<footer class="tags">

View File

@ -52,5 +52,6 @@
"em13Label": "${em13Label}",
"em14Label": "${em14Label}"
};
Util.parseMarkdown();
</script>
${plugins}