Commit 90fc5f26 authored by Nouri-Alnahawi's avatar Nouri-Alnahawi
Browse files

update ci

parent d99ccebc
......@@ -27,22 +27,20 @@ To work locally with this project, you'll have to follow the steps below:
1. Fork, clone or download this project
2. [Install][] Hugo extended version
3. Preview your project: `hugo server`
4. Add content
5. Generate the website (optional) with the command `hugo` as used in the [`.gitlab-ci.yml`](.gitlab-ci.yml)
3. Preview your project on local host zsing the command `hugo server`
4. Add or edit content etc.
5. Generate the website locally (optional) with the command `hugo --minify --gc --destination public`
Read more at Hugo's [documentation][].
### Preview your site
If you clone or download this project to your local computer and run `hugo server`,
your site can be accessed under `localhost:1313/hugo/`.
The theme used is adapted from http://themes.gohugo.io/beautifulhugo/.
your site can be accessed under `localhost:1313`.
[ci]: https://about.gitlab.com/gitlab-ci/
[hugo]: https://gohugo.io
[install]: https://gohugo.io/overview/installing/
[documentation]: https://gohugo.io/overview/introduction/
[docsy](https://github.com/google/docsy/)
[docsy]: https://github.com/google/docsy/
baseURL = "/"
baseURL = "http://cspub.h-da.io/cma/"
relativeURLs = true
languageCode = "en-us"
title = "Cryptographic Migration & Agility"
......@@ -26,6 +26,8 @@ pygmentsUseClassic = false
# See https://help.farbox.com/pygments.html
pygmentsStyle = "tango"
disableKinds = ["taxonomy", "term"]
# Configure how URLs look like per section.
[permalinks]
blog = "/:section/:year/:month/:day/:slug/"
......@@ -49,8 +51,6 @@ anchor = "smart"
[params]
copyright = "Darmstadt University of Applied Sciences"
subtitle = "A communiy site"
dateFormat = "January 1, 2021"
# Repository configuration (URLs for in-page links to opening issues and suggesting changes)
#github_repo = "https://code.fbi.h-da.de/cspub/cma"
......@@ -89,10 +89,14 @@ footer_about_disable = false
icon = "fa fa-university"
desc = "Visist our institute homepage"
[params.links.image]
image_url = "http://www.freepik.com"
text = "Background Image Designed by Freepik"
[outputFormats]
[outputFormats.PRINT]
baseName = "index"
isHTML = true
mediaType = "text/html"
path = "_print"
permalinkable = false
\ No newline at end of file
permalinkable = false
......@@ -6,7 +6,7 @@ linkTitle = "Cryptographic Migration & Agility"
{{< blocks/cover title="Cryptographic Migration & Agility" image_anchor="top" height="full" color="dark" >}}
<div class="mx-auto">
<a class="btn btn-lg btn-primary mr-3 mb-4" href="{{< relref "/docs" >}}">
<a class="btn btn-lg btn-light mr-3 mb-4" href="{{< relref "/docs" >}}">
Community Site
<i class="fas fa-arrow-alt-circle-right ml-2"></i>
</a>
......@@ -20,7 +20,6 @@ linkTitle = "Cryptographic Migration & Agility"
{{< blocks/lead color="primary" >}}
Some introduction text here
{{< /blocks/lead >}}
{{< blocks/section color="dark" >}}
......@@ -37,5 +36,3 @@ Send a Pull Request to our repository on **GitLab** to contribute to this site
{{% /blocks/feature %}}
{{< /blocks/section >}}
<a href="http://www.freepik.com">Designed by starline / Freepik</a>
content/background.jpg

2.88 MB | W: | H:

content/background.jpg

255 KB | W: | H:

content/background.jpg
content/background.jpg
content/background.jpg
content/background.jpg
  • 2-up
  • Swipe
  • Onion skin
{{ $links := .Site.Params.links }}
<footer class="bg-dark py-5 row d-print-none">
<div class="container-fluid mx-sm-5">
<div class="row">
<div class="col-6 col-sm-4 text-xs-center order-sm-2">
{{ with $links }}
{{ with index . "user"}}
{{ template "footer-links-block" . }}
{{ end }}
{{ end }}
</div>
<div class="col-6 col-sm-4 text-right text-xs-center order-sm-3">
{{ with $links }}
{{ with index . "developer"}}
{{ template "footer-links-block" . }}
{{ end }}
{{ end }}
</div>
<div class="col-12 col-sm-4 text-center py-2 order-sm-2">
<p>
{{ with $links }}
{{ with index . "image"}}
{{ template "footer-center-block" .}}
{{ end }}
{{ end }}
</p>
{{ with .Site.Params.copyright }}<small class="text-white">&copy; {{ now.Year}} {{ .}} {{ T "footer_all_rights_reserved" }}</small>{{ end }}
{{ if not .Site.Params.ui.footer_about_disable }}
<!-- {{ with .Site.GetPage "about" }}<p class="mt-2"><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>{{ end }} -->
{{ end }}
</div>
</div>
</div>
</footer>
{{ define "footer-links-block" }}
<ul class="list-inline mb-0">
{{ range . }}
<li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="{{ .name }}" aria-label="{{ .name }}">
<a class="text-white" target="_blank" rel="noopener" href="{{ .url }}" aria-label="{{ .name }}">
<i class="{{ .icon }}"></i>
</a>
</li>
{{ end }}
</ul>
{{ end }}
{{ define "footer-center-block" }}
<a class="text-white" href="{{ .image_url }}">{{ .text }}</a>
{{ end }}
{{ $_hugo_config := `{ "version": 1 }` }}
{{ $blockID := printf "td-cover-block-%d" .Ordinal }}
{{ $promo_image := (.Page.Resources.ByType "image").GetMatch "**background*" }}
{{ $logo_image := (.Page.Resources.ByType "image").GetMatch "**logo*" }}
{{ $col_id := .Get "color" | default "dark" }}
{{ $image_anchor := .Get "image_anchor" | default "smart" }}
{{ $logo_anchor := .Get "logo_anchor" | default "smart" }}
{{/* Height can be one of: auto, min, med, max, full. */}}
{{ $height := .Get "height" | default "max" }}
{{ $byline := .Get "byline" | default "" }}
{{ with $promo_image }}
{{ $promo_image_big := (.Fill (printf "1920x1080 %s" $image_anchor)) }}
{{ $promo_image_small := (.Fill (printf "960x540 %s" $image_anchor)) }}
<link rel="preload" as="image" href="{{ $promo_image_small }}" media="(max-width: 1200px)">
<link rel="preload" as="image" href="{{ $promo_image_big }}" media="(min-width: 1200px)">
<style>
#{{ $blockID }} {
background-image: url({{ $promo_image_small }});
}
@media only screen and (min-width: 1200px) {
#{{ $blockID }} {
background-image: url({{ $promo_image_big }});
}
}
</style>
{{ end }}
<section id="{{ $blockID }}" class="row td-cover-block td-cover-block--height-{{ $height }} js-td-cover td-overlay td-overlay--dark -bg-{{ $col_id }}">
<div class="container td-overlay__inner">
<div class="row">
<div class="col-12">
<div class="text-center">
{{ with .Get "title" }}<h1 class="display-1 mt-0 mt-md-5 pb-4">{{ $title := . }}{{ with $logo_image }}{{ $logo_image_resized := (.Fit (printf "70x70 %s" $logo_anchor)) }}<img class="td-cover-logo" src="{{ $logo_image_resized }}" alt="{{ $title | html }} Logo">{{ end }}{{ $title | html }}</h1>{{ end }}
{{ with .Get "subtitle" }}<p class="display-2 text-uppercase mb-0">{{ . | html }}</p>{{ end }}
<div class="pt-3 lead">
{{ if eq .Page.File.Ext "md" }}
{{ .Inner | markdownify }}
{{ else }}
{{ .Inner | htmlUnescape | safeHTML }}
{{ end }}
</div>
</div>
</div>
</div>
</div>
{{ if $byline }}
<div class="byline">
<small>{{ $byline }}</small>
</div>
{{ end }}
</section>
IMPORTANT NOTICE: This license only applies if you downloaded this content as
a subscribed (or "premium") user. If you are an unsubscribed user (or "free"
user) you are bound to the license terms described in the accompanying file
"License free.txt".
---------------------
You can download from your profile in Freepik a personalized license stating
your right to use this content as a "premium" user:
https://profile.freepik.com/my_downloads
You are free to use this image:
- For both personal and commercial projects and to modify it.
- In a website or presentation template or application or as part of your design.
You are not allowed to:
- Sub-license, resell or rent it.
- Include it in any online or offline archive or database.
The full terms of the license are described in sections 7 and 8 of the Freepik
terms of use, available online in the following link:
http://www.freepik.com/terms_of_use
The terms described in the above link have precedence over the terms described
in the present document. In case of disagreement, the Freepik Terms of Use
will prevail.
IMPORTANT NOTICE: This license only applies if you downloaded this content as
an unsubscribed user. If you are a premium user (ie, you pay a subscription)
you are bound to the license terms described in the accompanying file
"License premium.txt".
---------------------
You must attribute the image to its author:
In order to use a content or a part of it, you must attribute it to starline / Freepik,
so we will be able to continue creating new graphic resources every day.
How to attribute it?
For websites:
Please, copy this code on your website to accredit the author:
<a href="http://www.freepik.com">Designed by starline / Freepik</a>
For printing:
Paste this text on the final work so the authorship is known.
- For example, in the acknowledgements chapter of a book:
"Designed by starline / Freepik"
You are free to use this image:
- For both personal and commercial projects and to modify it.
- In a website or presentation template or application or as part of your design.
You are not allowed to:
- Sub-license, resell or rent it.
- Include it in any online or offline archive or database.
The full terms of the license are described in section 7 of the Freepik
terms of use, available online in the following link:
http://www.freepik.com/terms_of_use
The terms described in the above link have precedence over the terms described
in the present document. In case of disagreement, the Freepik Terms of Use
will prevail.
IMPORTANT NOTICE: This license only applies if you downloaded this content as
a subscribed (or "premium") user. If you are an unsubscribed user (or "free"
user) you are bound to the license terms described in the accompanying file
"License free.txt".
---------------------
You can download from your profile in Freepik a personalized license stating
your right to use this content as a "premium" user:
https://profile.freepik.com/my_downloads
You are free to use this image:
- For both personal and commercial projects and to modify it.
- In a website or presentation template or application or as part of your design.
You are not allowed to:
- Sub-license, resell or rent it.
- Include it in any online or offline archive or database.
The full terms of the license are described in sections 7 and 8 of the Freepik
terms of use, available online in the following link:
http://www.freepik.com/terms_of_use
The terms described in the above link have precedence over the terms described
in the present document. In case of disagreement, the Freepik Terms of Use
will prevail.
Subproject commit 488c89dc2c4f8e83d11c93beec4dc5092b96815f
Subproject commit 604e27f7caa5dcb6f9f46dd37badd18477fafe7f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment