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}", "em13Label": "${em13Label}",
"em14Label": "${em14Label}" "em14Label": "${em14Label}"
}; };
Util.parseMarkdown('content-reset');
</script> </script>
${plugins} ${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 type="text/javascript" src="${staticServePath}/skins/${skinDirName}/js/bootstrap${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
<script> <script>
Util.setTopBar(); Util.setTopBar();
Util.parseMarkdown('article-content');
</script> </script>
${plugins} ${plugins}

View File

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

View File

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

View File

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

View File

@ -38,7 +38,7 @@
</div> </div>
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div class="article-abstract"> <div class="article-abstract article-body">
${article.articleAbstract} ${article.articleAbstract}
<div class="clear"></div> <div class="clear"></div>
</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/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}/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 type="text/javascript" src="${staticServePath}/skins/${skinDirName}/js/${skinDirName}${miniPostfix}.js?${staticResourceVersion}" charset="utf-8"></script>
<script>
Util.parseMarkdown();
</script>
${plugins} ${plugins}

View File

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

View File

@ -66,9 +66,9 @@
</sup> </sup>
</#if> </#if>
</h3> </h3>
<p> <div class="article-body">
${article.articleAbstract} ${article.articleAbstract}
</p> </div>
<span class="ico-tags ico" title="${tagLabel}"> <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> <#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> </span>

View File

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

View File

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