File tree Expand file tree Collapse file tree 11 files changed +68
-0
lines changed
static/public_sys-resources Expand file tree Collapse file tree 11 files changed +68
-0
lines changed Original file line number Diff line number Diff line change 1+ {{ $link := .Destination }}
2+ {{ $isRemote := strings.HasPrefix $link "http" }}
3+ {{- if not $isRemote -}}
4+ {{ $url := urls.Parse .Destination }}
5+ {{- if $url.Path -}}
6+ {{ $fragment := "" }}
7+ {{- with $url.Fragment }}{{ $fragment = printf "#%s" . }}{{ end -}}
8+ {{- with .Page.GetPage $url.Path }}{{ $link = printf "%s%s" .RelPermalink $fragment }}{{ else }}{{ warnf "%q not found from %q" $url.Path $.Page.Path }}{{ end }}{{ end -}}
9+ {{- end -}}
10+ < a href ="{{ $link | safeURL }} "{{ with .Title}} title ="{{ . }} "{{ end }}{{ if $isRemote }} target ="_blank "{{ end }} > {{ .Text | safeHTML }}</ a >
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html itemscope itemtype ="http://schema.org/WebPage " lang ="{{ .Site.Language.Lang }} " class ="no-js ">
3+ < head >
4+ {{ partial "head.html" . }}
5+ </ head >
6+ < body class ="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }} ">
7+ < header >
8+ {{ partial "navbar.html" . }}
9+ </ header >
10+ < div class ="container-fluid td-outer ">
11+ < div class ="td-main ">
12+ < div class ="row flex-xl-nowrap ">
13+ < aside class ="col-12 col-md-3 col-xl-2 td-sidebar d-print-none ">
14+ {{ partial "sidebar.html" . }}
15+ </ aside >
16+ < aside class ="d-none d-xl-block col-xl-2 td-sidebar-toc d-print-none ">
17+ {{ partial "page-meta-links.html" . }}
18+ {{ partial "toc.html" . }}
19+ {{ partial "taxonomy_terms_clouds.html" . }}
20+ </ aside >
21+ < main class ="col-12 col-md-9 col-xl-8 pl-md-5 " role ="main ">
22+ {{ partial "version-banner.html" . }}
23+ {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
24+ {{ block "main" . }}{{ end }}
25+ </ main >
26+ </ div >
27+ </ div >
28+ {{ partial "footer.html" . }}
29+ </ div >
30+ {{ partial "scripts.html" . }}
31+ </ body >
32+ </ html >
Original file line number Diff line number Diff line change 1+ {{ define "main" }}
2+ < div class ="td-content ">
3+ < h1 > {{ .Title }}</ h1 >
4+ {{ with .Params.description }}< div class ="lead "> {{ . | markdownify }}</ div > {{ end }}
5+ < header class ="article-meta ">
6+ {{ partial "taxonomy_terms_article_wrapper.html" . }}
7+ {{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
8+ {{ partial "reading-time.html" . }}
9+ {{ end }}
10+ </ header >
11+ {{ .Content }}
12+ {{ partial "section-index.html" . }}
13+ {{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) }}
14+ {{ partial "feedback.html" .Site.Params.ui.feedback }}
15+ < br />
16+ {{ end }}
17+ {{ if (.Site.DisqusShortname) }}
18+ < br />
19+ {{ partial "disqus-comment.html" . }}
20+ {{ end }}
21+ {{ partial "page-meta-lastmod.html" . }}
22+ </ div >
23+ {{ end }}
Original file line number Diff line number Diff line change 1+ {{ define "main" }}
2+ {{ .Render "content" }}
3+ {{ end }}
You can’t perform that action at this time.
0 commit comments