Skip to content

Commit

Permalink
change layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kirazero17 committed Aug 21, 2024
1 parent e538226 commit 35f6431
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
14 changes: 13 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,28 @@ identifier = "Back En"
url = "/"
weight = 20

[[Languages.en.menu.shortcuts]]
name = "<i class='fab fa-github'></i> See the site's source"
identifier = "GH En"
url = "https://github.com/LongKira-Obsidian24"
weight = 21

[Languages.vi]
title = "Obsidian 24"
weight = 2
languageName = "Tiếng Việt"

[[Languages.vi.menu.shortcuts]]
name = "<i class='fab fa-windows'></i>Trang chủ Blog"
identifier = "GH Vi"
url = "https://github.com/LongKira-Obsidian24"
weight = 20

[[Languages.vi.menu.shortcuts]]
name = "<i class='fab fa-github'></i> Xem mã nguồn website này"
identifier = "Back Vi"
url = "/vi"
weight = 20
weight = 21

[markup.goldmark.renderer]
unsafe = true
Expand Down
18 changes: 10 additions & 8 deletions themes/hugo-theme-learn/layouts/partials/headtop.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

<div id="header-wrapper" style="box-shadow: 0px 1px 9px 1px rgb(0, 0, 0);">

<div id="upper" style="display: grid; grid-template-columns: 270px 1fr 300px;">
<div id="navigation-buttons" style="display: grid; grid-template-columns: 1fr 1fr;">
<!-- Next prev page -->
{{/* <div id="upper" style="display: grid; grid-template-columns: 270px 1fr 300px;">
<div id="navigation-buttons" style="display: grid; grid-template-columns: 1fr 1fr;"> */}}
{{/* <!-- Next prev page -->
{{ $currentNode := . }}

{{ template "menu-nextprev" dict "menu" .Site.Home "currentnode" $currentNode }}
Expand Down Expand Up @@ -57,18 +57,20 @@
{{ else }}
<i class="fas fa-arrow-alt-circle-right" style="margin-top: 10%; position: relative; font-size: 2.5em;"> </i>
{{end}}
</div>
</div>
</div> */}}
{{/* </div>

<div id="header">
{{ partial "logo.html" . }}
</div>

<div>
<a href="https://github.com/LongKira-Obsidian24" style="margin: 10px 10px 10px 10px;">
<img src="/images/head/white_github.png" alt="Tile" style="display: inline; height: 64px;">
</a>

</div>
</div> */}}

<div id="header">
{{ partial "logo.html" . }}
</div>

<div id="lower" style="display: grid; grid-template-columns: 1fr 300px ;">
Expand Down

0 comments on commit 35f6431

Please sign in to comment.