Translations, new icon, blocks, icons & images for softwares and fixing bugs.
This commit is contained in:
parent
09c21184c5
commit
d839b56dd3
31 changed files with 339 additions and 68 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
|
||||
{{ range .Site.Menus.social }}
|
||||
<a role="button" alt="{{ .Name }}" href={{ .URL }}>
|
||||
<a role="button" alt="{{ .Name }}" title="{{ .Name }}" href={{ .URL }}>
|
||||
{{ .Pre }}
|
||||
</a>
|
||||
{{ end }}
|
||||
|
@ -14,7 +14,7 @@
|
|||
{{ .Site.Copyright }}
|
||||
</div>
|
||||
<div class="col3 right-center">
|
||||
{{ .Site.Params.usingTheme }} <a href="https://git.ad5001.eu/Ad5001/omegamma">Omegamma</a><br>
|
||||
{{ .Site.Params.usingTheme }} <a href="/omegamma">Omegamma</a><br>
|
||||
{{ .Site.Params.poweredBy }} <a href="https://gohugo.io">Hugo</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,11 +1,19 @@
|
|||
<head>
|
||||
<title>{{ .Site.Title }} - {{ .Title }}</title>
|
||||
<link rel="stylesheet" href="/css/blocks.css">
|
||||
<link rel="stylesheet" href="/css/common.css">
|
||||
<link rel="stylesheet" href="/css/custom.css">
|
||||
<link rel="stylesheet" href="/css/header.css">
|
||||
<link rel="stylesheet" href="/css/footer.css">
|
||||
<link rel="stylesheet" href="/css/sections.css">
|
||||
<link rel="stylesheet" href="/css/font.css">
|
||||
<link rel="icon" href="/img/icon.png">
|
||||
{{ hugo.Generator }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{{ if .IsTranslated }}
|
||||
{{ range .Translations }}
|
||||
<link rel="alternate" hreflang="{{ .Language.Lang }}" href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<script src="/js/header.js"></script>
|
||||
</head>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{{ $currentPage := . }}
|
||||
<div class="nav-mobile">
|
||||
<a class="navbar-brand" href="{{ .Site.Params.brandWebsite }}" role="button">
|
||||
<img src="/img/icon.png" class="icon-brand" alt=""></img>
|
||||
<img src="/img/icon.png" class="icon-brand" alt=""/>
|
||||
Ad5001
|
||||
</a>
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
|||
<ul class="navbar-list">
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ if .HasChildren }}
|
||||
<div class="menu-with-sub">
|
||||
<a href="#" role="button">
|
||||
<li class="{{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}">
|
||||
{{ .Pre }}
|
||||
|
@ -25,20 +26,42 @@
|
|||
<ul class="sub-menu">
|
||||
{{ range .Children }}
|
||||
<a href="{{ .URL }}" role="button">
|
||||
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
|
||||
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }} background">
|
||||
{{ .Name }}
|
||||
</li>
|
||||
</a>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ else }}
|
||||
<a href="{{ .URL }}" role="button">
|
||||
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
|
||||
{{ .Pre }}
|
||||
<span>{{ .Name }}</span>
|
||||
<a href="{{ .URL }}" role="button">
|
||||
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
|
||||
{{ .Pre }}
|
||||
<span>{{ .Name }}</span>
|
||||
</li>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ $currentLang := .Site.Language }}
|
||||
{{ if .IsTranslated }}
|
||||
<div class="menu-with-sub">
|
||||
<a href="#" role="button">
|
||||
<li>
|
||||
<img src="/icons/lang.svg" class="icon-as-text"/>
|
||||
<span>{{ i18n "language" }}</span>
|
||||
</li>
|
||||
</a>
|
||||
{{ end }}
|
||||
<ul class="sub-menu">
|
||||
{{ range .Translations }}
|
||||
<a href="{{ .Permalink }}" role="button">
|
||||
<li class="background">
|
||||
<img src="/icons/flag/{{ .Language.Lang }}.svg" class="icon-as-text"/>
|
||||
{{ .Language.LanguageName }}
|
||||
</li>
|
||||
</a>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
|
||||
<section style="background: url({{ .Image }}); background-size: cover; background-repeat: no-repeat; color: black; padding-left: 1em; padding-top: 1em; padding-right: 1em;">
|
||||
{{ .Content | safeHTML }}
|
||||
<div class="section-end-triangle"></div>
|
||||
<section style="background-image: url({{ .Image }});" class="section1">
|
||||
<div class="columns-container">
|
||||
<div class="column">
|
||||
<br>
|
||||
{{ .Content | safeHTML }}
|
||||
<br>
|
||||
</div>
|
||||
<div class="column">
|
||||
</div>
|
||||
</div>
|
||||
<div class="section-end-triangle"></div>
|
||||
</section>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue