diff --git a/hugo-labs/LICENSE b/hugo-labs/LICENSE deleted file mode 100644 index 624b3f3..0000000 --- a/hugo-labs/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2018 YOUR_NAME_HERE - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/hugo-labs/README.md b/hugo-labs/README.md deleted file mode 100644 index 809113a..0000000 --- a/hugo-labs/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# hugo-labs - diff --git a/hugo-labs/archetypes/default.md b/hugo-labs/archetypes/default.md deleted file mode 100644 index ac36e06..0000000 --- a/hugo-labs/archetypes/default.md +++ /dev/null @@ -1,2 +0,0 @@ -+++ -+++ diff --git a/hugo-labs/layouts/404.html b/hugo-labs/layouts/404.html deleted file mode 100644 index e69de29..0000000 diff --git a/hugo-labs/layouts/_default/baseof.html b/hugo-labs/layouts/_default/baseof.html deleted file mode 100644 index 2de3c7f..0000000 --- a/hugo-labs/layouts/_default/baseof.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - {{ block "title" . }} - {{ .Title}}{{ if ne .Title .Site.Title }} | {{ .Site.Title }}{{ end }} - {{ end }} - - - - - -{{ block "navbar" . }} - {{ partial "navbar" . }} -{{ end }} -
-
- -
- {{ block "main" . }} - {{ end }} -
-
-
- - - - - diff --git a/hugo-labs/layouts/_default/content.html b/hugo-labs/layouts/_default/content.html deleted file mode 100644 index 0492fd0..0000000 --- a/hugo-labs/layouts/_default/content.html +++ /dev/null @@ -1,4 +0,0 @@ -{{ $dateFormat := default "02-01-2006 15:04" (index .Site.Params "date_format") }} - -

{{ .Title | markdownify }}{{ if not .Date.IsZero }} {{ .Date.Format $dateFormat }}{{ end }}

-{{ .Content }} diff --git a/hugo-labs/layouts/_default/list.html b/hugo-labs/layouts/_default/list.html deleted file mode 100644 index 7410409..0000000 --- a/hugo-labs/layouts/_default/list.html +++ /dev/null @@ -1,8 +0,0 @@ -{{ define "main" }} - -{{ range .Pages }} - {{ .Render "content" }} -{{ end }} - - -{{ end }} diff --git a/hugo-labs/layouts/_default/single.html b/hugo-labs/layouts/_default/single.html deleted file mode 100644 index 9983b08..0000000 --- a/hugo-labs/layouts/_default/single.html +++ /dev/null @@ -1,3 +0,0 @@ -{{ define "main" }} -{{ .Content }} -{{ end }} diff --git a/hugo-labs/layouts/index.html b/hugo-labs/layouts/index.html deleted file mode 100644 index ae73980..0000000 --- a/hugo-labs/layouts/index.html +++ /dev/null @@ -1,17 +0,0 @@ -{{ define "main" }} -

{{ .Site.Title }}

-
-
-
- {{ block "news" . }} - {{ range first 3 (where .Pages "Section" "wiadomosci")}} - {{ .Render "content" }} - {{ end }} - {{ end }} -
-
- {{ .Content }} -
-
- -{{ end }} diff --git a/hugo-labs/layouts/partials/footer.html b/hugo-labs/layouts/partials/footer.html deleted file mode 100644 index e69de29..0000000 diff --git a/hugo-labs/layouts/partials/header.html b/hugo-labs/layouts/partials/header.html deleted file mode 100644 index e69de29..0000000 diff --git a/hugo-labs/layouts/partials/navbar.html b/hugo-labs/layouts/partials/navbar.html deleted file mode 100644 index c7fc4db..0000000 --- a/hugo-labs/layouts/partials/navbar.html +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/hugo-labs/layouts/partials/sidebar.html b/hugo-labs/layouts/partials/sidebar.html deleted file mode 100644 index 9f1fa2c..0000000 --- a/hugo-labs/layouts/partials/sidebar.html +++ /dev/null @@ -1,32 +0,0 @@ -{{ $currentPage := . }} - diff --git a/hugo-labs/static/css/labs.css b/hugo-labs/static/css/labs.css deleted file mode 100644 index 5c8f8be..0000000 --- a/hugo-labs/static/css/labs.css +++ /dev/null @@ -1,253 +0,0 @@ -BODY { - padding-top: 75px; -/* font-family: "Work Sans","Source Sans Pro","Open Sans","Helvetica Neue","Helvetica","Tahoma","Geneva","Arial",sans-serif; -*/ - letter-spacing: +.02rem; - font-weight: 300; - font-size: 1.8rem; - line-height: 2; - color: #4d5363; -} - -code { - color: f00; - font-size: 1.7rem; -} - -h1 { - text-align: center; - font-size: 4rem; - -} -h1, h2, h3, h4, h5, h6 { - font-family: "Open Sans","Helvetica","Tahoma","Geneva","Arial",sans-serif; - /*font-family: "Lato","Open Sans","Helvetica","Tahoma","Geneva","Arial",sans-serif;*/ - text-rendering: optimizeLegibility; - line-height: 100%; - letter-spacing: 0; -} - -h2 { - font-size: 3rem; -} - -h3 { - font-size: 2.6rem; -} - -h4 { - font-size: 2.2rem; -} - -img{ - max-width: 500px; - height: auto; -} - -video { - max-width: 100%; - height: auto; -} - -pre { - font-size: 1.7rem; - line-height: 1.7; -} - -.navbar { - - padding-left: 0px; - padding-right: 20px; -/*background-color: #ba3232; - border-right: 20px solid #fff; -*/letter-spacing: +.05rem; - font-weight: bold; - font-size: 2rem; -} - -a:link { - color: #e00; -} - -a:visited { - color: #e00; -} - -a:hover { - color: #000; -} - -.navbar a:link{ - color: #ba3232; - font-size: 2rem; -} - -.navbar a:visited { - color: #ba3232; - font-size: 2rem; -} - -.navbar a:hover { - color: #ba3232; - font-size: 2rem; -} - -.sidebar-toggle { - float: left; - margin-left: 15px; -} - -.sidebar { -/*padding-top: 100px; -*/margin-top: 5px; - /*display: none; - */position: fixed; - top: 51px; - bottom: 0; - left: 0; - z-index: 1050; - padding-left: 20px; - overflow-x: hidden; - overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ - background-color: #292929; - border-right: 1px solid #eee; - /*letter-spacing: +.05rem;*/ - font-weight: 400; - font-size: 1.6rem; - line-height: 1.55; -} - -.sidebar.active { - display: block; - -} - -@media (min-width: 768px) { - .sidebar { - display: block; - } -} - -.sidebar a { - display: block; - padding: 10px 20px; - text-decoration: none; - color: #ccc; -} - -.sidebar ul { - list-style-type: none; - padding: 0; -} - -.sidebar > ul { - margin-right: -21px; /* 20px padding + 1px border */ - margin-bottom: 20px; - margin-left: -20px; -} - -.sidebar .sub-item > a{ - padding-left: 40px; - background-color: #111; -} - -.sidebar .subsub-item > a{ - padding-left: 60px; - background-color: #111; -} - -.sidebar .subsubsub-item > a{ - padding-left: 80px; - background-color: #111; -} - -.sidebar .active > a { - color: #fff; - background-color: #ba3232; - font-weight: bold; - -} - -.sidebar a:hover { - color: #fff; -/* background-color: #ba3232; -*/ font-weight: bold; - -} - -.main { - padding: 20px; -} -@media (min-width: 768px) { - .main { - padding-right: 80px; - padding-left: 80px; - } -} -.main .page-header { - margin-top: 0; -} - -.property-name { - font-weight: bold; -} - -.bs-callout { - padding: 20px; - margin: 20px 0; - border: 1px solid #eee; - border-left-width: 5px; - border-radius: 3px; -} -.bs-callout:first-child { - margin-top: 0; -} -.bs-callout h4 { - margin-top: 0; - margin-bottom: 5px; -} -.bs-callout p:last-child { - margin-bottom: 0; -} -.bs-callout code { - border-radius: 3px; -} -.bs-callout+.bs-callout { - margin-top: -5px; -} -.bs-callout-default { - border-left-color: #777; -} -.bs-callout-default h4 { - color: #777; -} -.bs-callout-primary { - border-left-color: #428bca; -} -.bs-callout-primary h4 { - color: #428bca; -} -.bs-callout-success { - border-left-color: #5cb85c; -} -.bs-callout-success h4 { - color: #5cb85c; -} -.bs-callout-danger { - border-left-color: #d9534f; -} -.bs-callout-danger h4 { - color: #d9534f; -} -.bs-callout-warning { - border-left-color: #f0ad4e; -} -.bs-callout-warning h4 { - color: #f0ad4e; -} -.bs-callout-info { - border-left-color: #5bc0de; -} -.bs-callout-info h4 { - color: #5bc0de; -} diff --git a/hugo-labs/static/js/fix.js b/hugo-labs/static/js/fix.js deleted file mode 100644 index 0984977..0000000 --- a/hugo-labs/static/js/fix.js +++ /dev/null @@ -1 +0,0 @@ -$(function() { $('table').addClass('table table-striped'); }) diff --git a/hugo-labs/theme.toml b/hugo-labs/theme.toml deleted file mode 100644 index d6b50c8..0000000 --- a/hugo-labs/theme.toml +++ /dev/null @@ -1,21 +0,0 @@ -# theme.toml template for a Hugo theme -# See https://github.com/gohugoio/hugoThemes#themetoml for an example - -name = "Hugo Labs" -license = "MIT" -licenselink = "https://git.wmi.amu.edu.pl/labs/hugo-labs/raw/master/LICENSE" -description = "" -homepage = "https://laboratoria.wmi.amu.edu.pl" -tags = [] -features = [] -min_version = "0.38" - -[author] - name = "Mateusz Hromada" - homepage = "https://blog.ruanda.pl" - -# If porting an existing theme -[original] - name = "" - homepage = "" - repo = "" diff --git a/hugo-labs/layouts/.index.html.swp b/layouts/.index.html.swp similarity index 100% rename from hugo-labs/layouts/.index.html.swp rename to layouts/.index.html.swp diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f16c2d2..2de3c7f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -12,22 +12,32 @@ - {{ block "navbar" . }} - {{ partial "navbar" . }} - {{ end }} -
-
- diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6420ccf..9983b08 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,13 +1,3 @@ {{ define "main" }} {{ .Content }} -{{ if .IsTranslated }} -

{{ i18n "translations" }}

- -{{ end }} {{ end }} diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 0ffcae3..c7fc4db 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -1,29 +1,28 @@