Update website
This commit is contained in:
parent
8d8da33b9a
commit
973d933aa9
3 changed files with 96 additions and 3 deletions
|
@ -22,10 +22,30 @@ try {
|
|||
$parser->parseFile('assets/bib/export-bibtex.bib');
|
||||
$entries = $listener->export();
|
||||
|
||||
print_r($entries);
|
||||
$tpl = $m->loadTemplate("publi_bib_html");
|
||||
|
||||
|
||||
echo $tpl->render(
|
||||
array(
|
||||
'ROOT_URL' => $iap_root,
|
||||
'title'=>'Guilhem Lavaux\'s publications',
|
||||
'publi'=>$entries,
|
||||
'configure_script'=>[
|
||||
'MathJax = {
|
||||
tex: {
|
||||
inlineMath: [[\'$\', \'$\'], [\'\\\\(\', \'\\\\)\']]
|
||||
}
|
||||
};
|
||||
'
|
||||
],
|
||||
'external_scripts'=>[
|
||||
'src="https://polyfill.io/v3/polyfill.min.js?features=es6"',
|
||||
'id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"'
|
||||
],
|
||||
'bar' => 'baz'));
|
||||
|
||||
} catch (Exception $e) {
|
||||
print_r($e);
|
||||
print_r($e->getMessage());
|
||||
echo $e->getMessage()) . "<br/>";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue