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.
16 lines
338 B
16 lines
338 B
<div class="indexes"> |
|
<?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>
|