|
{{template "base/head" .ctxData}}
|
|
<div role="main" aria-label="{{.ctxData.Title}}" class="page-content {{.pageClass}}">
|
|
{{template "repo/header" .ctxData}}
|
|
<div class="ui container flex-container">
|
|
{{template "repo/settings/navbar" .ctxData}}
|
|
<div class="flex-container-main">
|
|
{{template "base/alert" .ctxData}}
|
|
{{/* block: repo-setting-content */}}
|
|
|
|
{{if false}}{{/* to make html structure "likely" complete to prevent IDE warnings */}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
marked.setOptions({
highlight: function (code, lang) {
// Use highlight.js to highlight the code
const language = hljs.getLanguage(lang) ? lang : 'plaintext'; // Fallback to 'plaintext' if no language is found
return hljs.highlight(language, code).value; // Return the highlighted code
}
});