-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix site layouts after formatting (#1962)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
- Loading branch information
1 parent
0235542
commit 2bb1611
Showing
12 changed files
with
400 additions
and
453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,54 @@ | ||
{{ partial "head" . }} | ||
|
||
{{ if (eq (trim .Site.Params.provider " " | lower) "github") | and (isset .Site.Params "repo_url") }} | ||
{{ $repo_id := replace .Site.Params.repo_url "https://github.com/" ""}} | ||
{{ .Scratch.Set "repo_id" $repo_id }} | ||
{{ $repo_id := replace .Site.Params.repo_url "https://github.com/" ""}} | ||
{{ .Scratch.Set "repo_id" $repo_id }} | ||
{{ end }} | ||
|
||
<div class="backdrop"> | ||
<div class="backdrop-paper"></div> | ||
<div class="backdrop-paper"></div> | ||
</div> | ||
|
||
<input class="toggle" id="toggle-drawer" type="checkbox"> | ||
<input class="toggle" id="toggle-search" type="checkbox"> | ||
<input class="toggle" type="checkbox" id="toggle-drawer"> | ||
<input class="toggle" type="checkbox" id="toggle-search"> | ||
<label class="toggle-button overlay" for="toggle-drawer"></label> | ||
|
||
<header class="header"> | ||
{{ partial "header" . }} | ||
{{ partial "header" . }} | ||
</header> | ||
|
||
<main class="main"> | ||
<div class="drawer"> | ||
{{ partial "drawer" . }} | ||
</div> | ||
|
||
<article class="article"> | ||
<div class="wrapper"> | ||
<h1>Pages in {{ .Title }}</h1> | ||
|
||
{{ range .Data.Pages }} | ||
<a href="{{ .Permalink }}" title="{{ .Title }}"> | ||
<h2>{{ .Title }}</h2> | ||
</a> | ||
|
||
<br> | ||
{{ printf "%s" .Summary | markdownify }} <br><a href="{{ .Permalink }}">[...]</a> | ||
|
||
<hr> | ||
{{ end }} | ||
|
||
{{ partial "copyright.html" . }} | ||
</div> | ||
</article> | ||
|
||
<div aria-live="polite" class="results" role="status"> | ||
<div class="scrollable"> | ||
<div class="wrapper"> | ||
<div class="meta"></div> | ||
<div class="list"></div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="drawer"> | ||
{{ partial "drawer" . }} | ||
</div> | ||
|
||
<article class="article"> | ||
<div class="wrapper"> | ||
<h1>Pages in {{ .Title }}</h1> | ||
|
||
{{ range .Data.Pages }} | ||
<a href="{{ .Permalink }}" title="{{ .Title }}"> | ||
<h2>{{ .Title }}</h2> | ||
</a> | ||
|
||
<br> | ||
{{ printf "%s" .Summary | markdownify }} <br><a href="{{ .Permalink }}">[...]</a> | ||
|
||
<hr> | ||
{{ end }} | ||
|
||
{{ partial "copyright.html" . }} | ||
</div> | ||
</article> | ||
|
||
<div class="results" role="status" aria-live="polite"> | ||
<div class="scrollable"> | ||
<div class="wrapper"> | ||
<div class="meta"></div> | ||
<div class="list"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
|
||
{{ partial "footer_js" . }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,49 @@ | ||
{{ partial "head" . }} | ||
|
||
{{ if (eq (trim .Site.Params.provider " " | lower) "github") | and (isset .Site.Params "repo_url") }} | ||
{{ $repo_id := replace .Site.Params.repo_url "https://github.com/" ""}} | ||
{{ .Scratch.Set "repo_id" $repo_id }} | ||
{{ $repo_id := replace .Site.Params.repo_url "https://github.com/" ""}} | ||
{{ .Scratch.Set "repo_id" $repo_id }} | ||
{{ end }} | ||
|
||
<div class="backdrop"> | ||
<div class="backdrop-paper"></div> | ||
<div class="backdrop-paper"></div> | ||
</div> | ||
|
||
<input class="toggle" id="toggle-drawer" type="checkbox"> | ||
<input class="toggle" id="toggle-search" type="checkbox"> | ||
<input class="toggle" type="checkbox" id="toggle-drawer"> | ||
<input class="toggle" type="checkbox" id="toggle-search"> | ||
<label class="toggle-button overlay" for="toggle-drawer"></label> | ||
|
||
<header class="header"> | ||
{{ partial "header" . }} | ||
{{ partial "header" . }} | ||
</header> | ||
|
||
<main class="main"> | ||
<div class="drawer"> | ||
{{ partial "drawer" . }} | ||
</div> | ||
|
||
<article class="article"> | ||
<div class="wrapper"> | ||
<h1>{{ .Title }} {{ if .Draft }} (Draft){{ end }}</h1> | ||
|
||
{{ .Content }} | ||
|
||
{{ partial "copyright.html" . }} | ||
|
||
<footer class="footer"> | ||
{{ partial "footer" . }} | ||
</footer> | ||
</div> | ||
</article> | ||
|
||
<div aria-live="polite" class="results" role="status"> | ||
<div class="scrollable"> | ||
<div class="wrapper"> | ||
<div class="meta"></div> | ||
<div class="list"></div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="drawer"> | ||
{{ partial "drawer" . }} | ||
</div> | ||
|
||
<article class="article"> | ||
<div class="wrapper"> | ||
<h1>{{ .Title }} {{ if .Draft }} (Draft){{ end }}</h1> | ||
|
||
{{ .Content }} | ||
|
||
{{ partial "copyright.html" . }} | ||
|
||
<footer class="footer"> | ||
{{ partial "footer" . }} | ||
</footer> | ||
</div> | ||
</article> | ||
|
||
<div class="results" role="status" aria-live="polite"> | ||
<div class="scrollable"> | ||
<div class="wrapper"> | ||
<div class="meta"></div> | ||
<div class="list"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
|
||
{{ partial "footer_js" . }} |
Oops, something went wrong.