Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
{{ partial "meta.html" . }}
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>

<!-- Render theme css -->
{{ partial "css.html" . }}

<!-- Render custom header -->
{{ partial "head.html" . }}

<!-- Refer: https://regisphilibert.com/blog/2018/08/hugo-multilingual-part-1-managing-content-translation/ -->
{{ if .IsTranslated }}
{{ range .Translations }}
<link rel="alternate" hreflang="{{ .Language.Lang }}" href="{{ .RelPermalink }}" title="{{ .Language.LanguageName }}" />
{{ end }}
{{ end }}
{{ template "_internal/twitter_cards.html" . }}
</head>
<body>
<!-- Preloader. Set to true for front-page fade-in animation -->
{{ if (and .IsHome .Site.Params.fadeFrontPage) }}
<div id="preloader"></div>
{{ end }}

{{ block "navbar" . }}
{{ partial "navbar.html" . }}
{{ partial "navbar-clone.html" . }}
{{ end }}

{{ block "main" . }}
{{ end }}

<!-- Back To Top Button -->
<div id="backtotop"><a href="#" id="backtotop-color"></a></div>

{{ if .Site.Params.footer }}
{{ partial "footer.html" . }}
{{ end }}

{{ partial "javascript.html" . }}
{{ template "_internal/google_analytics_async.html" . }}

{{ partial "analytics.html" . }}
</body>
</html>
8 changes: 8 additions & 0 deletions layouts/partials/meta.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{{ template "_internal/google_analytics_async.html" . }}
{{ if eq .Site.Params.openGraph true }}
{{ template "_internal/opengraph.html" . }}
{{ end }}
<meta name="description" content="{{ if .Params.summary }}{{ .Params.summary }}{{ else if .Site.Params.Description }}{{ .Site.Params.Description }}{{ else }}Hardcoded description; the author should update :){{ end }}" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
2 changes: 1 addition & 1 deletion themes/scientific-python-hugo-theme
Submodule scientific-python-hugo-theme updated 47 files
+1 −1 config.yaml
+1 −1 doc/content/features.md
+0 −2 layouts/_default/baseof.html
+0 −8 layouts/index.html
+0 −17 layouts/partials/hero-footer.html
+1 −5 layouts/partials/meta.html
+0 −33 layouts/partials/section1.html
+0 −35 layouts/partials/section2.html
+0 −28 layouts/partials/section3.html
+0 −34 layouts/partials/section4.html
+0 −32 layouts/partials/section5.html
+ static/images/illustrations/faces/1.png
+ static/images/illustrations/faces/2.png
+ static/images/illustrations/faces/3.png
+0 −30 static/images/illustrations/icons/doc-sync.svg
+0 −30 static/images/illustrations/icons/laptop-cloud.svg
+0 −32 static/images/illustrations/icons/laptop-globe.svg
+0 −36 static/images/illustrations/icons/mobile-feed.svg
+0 −32 static/images/illustrations/icons/mouse-globe.svg
+0 −23 static/images/illustrations/icons/plug-cloud.svg
+ static/images/illustrations/mockups/app-mockup.png
+ static/images/illustrations/worker.png
+0 −132 static/images/illustrations/worker.svg
+0 −29 static/images/loaders/audio.svg
+0 −47 static/images/loaders/ball-triangle.svg
+0 −52 static/images/loaders/bars.svg
+0 −20 static/images/loaders/circles.svg
+0 −56 static/images/loaders/grid.svg
+0 −18 static/images/loaders/hearts.svg
+0 −17 static/images/loaders/oval.svg
+0 −37 static/images/loaders/puff.svg
+0 −55 static/images/loaders/spinning-circles.svg
+0 −32 static/images/loaders/tail-spin.svg
+0 −33 static/images/loaders/three-dots.svg
+0 −5 static/images/logos/bulma.svg
+0 −30 static/images/logos/clients/gutwork.svg
+0 −42 static/images/logos/clients/infinite.svg
+0 −41 static/images/logos/clients/kromo.svg
+0 −50 static/images/logos/clients/systek.svg
+0 −22 static/images/logos/clients/tribe.svg
+0 −35 static/images/logos/fresh-alt.svg
+0 −12 static/images/logos/fresh-square.svg
+0 −35 static/images/logos/fresh-white-alt.svg
+0 −75 static/images/logos/fresh-white.svg
+0 −76 static/images/logos/fresh.svg
+0 −17 static/images/logos/icon-logo.svg
+ static/images/logos/made-with-bulma.png