Source code of filesite.io. https://filesite.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
377 B

<div class="indexes">
<p><a href="/">&lt;&lt;返回</a></p>
<?php
if (!empty($viewData['titles'])) {
foreach($viewData['titles'] as $title) {
$link = urlencode($title['name']);
echo <<<eof
<{$title['heading']}><a href="#{$link}">{$title['name']}</a></{$title['heading']}>
eof;
}
}
?>
</div>
<div class="content markdown-body">
<?php echo $viewData['html']; ?>
</div>