-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: formatted files using prettier
- Loading branch information
Showing
49 changed files
with
616 additions
and
472 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
ignoreSearch: true | ||
|
||
# don't create a separete page | ||
_build: | ||
list: false | ||
render: never | ||
publishResources: false | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
ignoreSearch: true | ||
|
||
# don't create a separete page | ||
_build: | ||
list: false | ||
render: never | ||
publishResources: false | ||
--- |
2 changes: 1 addition & 1 deletion
2
exampleSite/content/contact/_index.en.md → exampleSite/content/pages/contact.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: "Got Any Questions" | ||
layout: "contact" | ||
draft: false | ||
ignoreSearch: true | ||
--- | ||
|
||
Submit the form and confirm your email address at [Formspree](https://formspree.io/). |
2 changes: 1 addition & 1 deletion
2
exampleSite/content/contact/_index.fr.md → exampleSite/content/pages/contact.fr.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: "Vous avez des questions" | ||
layout: "contact" | ||
draft: false | ||
ignoreSearch: true | ||
--- | ||
|
||
Envoyez le formulaire et confirmez votre adresse e-mail à l'adresse [Formspree](https://formspree.io/). |
3 changes: 1 addition & 2 deletions
3
exampleSite/content/faq/index.en.md → exampleSite/content/pages/faq.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
exampleSite/content/faq/index.fr.md → exampleSite/content/pages/faq.fr.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
<!DOCTYPE html> | ||
<html | ||
lang="{{ site.LanguageCode | default `en-US` }}" | ||
itemscope | ||
itemtype="http://schema.org/WebPage"> | ||
<head> | ||
<!-- head (don't cache it) --> | ||
{{ partial "essentials/head.html" . }} | ||
|
||
|
||
<!-- cache partial only in production --> | ||
{{ if hugo.IsProduction }} | ||
{{ partialCached "essentials/style.html" . }} | ||
{{ else }} | ||
{{ partial "essentials/style.html" . }} | ||
{{ end }} | ||
</head> | ||
|
||
<body> | ||
<!-- cache partial only in production --> | ||
{{ if hugo.IsProduction }} | ||
{{ partialCached "preloader.html" . }} | ||
{{ partialCached "gtm-noscript.html" . }} | ||
{{ else }} | ||
{{ partial "preloader.html" . }} | ||
{{ end }} | ||
|
||
|
||
<!-- header (don't cache it) --> | ||
{{ partial "essentials/header.html" . }} | ||
{{ partial "search-modal.html" (dict "Context" . ) }} | ||
|
||
|
||
<main> | ||
{{ block "main" . }}{{ end }} | ||
</main> | ||
|
||
<!-- cache partial only in production --> | ||
{{ if hugo.IsProduction }} | ||
{{ partialCached "essentials/footer.html" . }} | ||
{{ partialCached "essentials/script.html" . }} | ||
{{ else }} | ||
{{ partial "essentials/footer.html" . }} | ||
{{ partial "essentials/script.html" . }} | ||
{{ end }} | ||
</body> | ||
</html> | ||
<!DOCTYPE html> | ||
<html | ||
lang="{{ site.LanguageCode | default `en-US` }}" | ||
itemscope | ||
itemtype="http://schema.org/WebPage"> | ||
<head> | ||
<!-- head (don't cache it) --> | ||
{{ partial "essentials/head.html" . }} | ||
|
||
|
||
<!-- cache partial only in production --> | ||
{{ if hugo.IsProduction }} | ||
{{ partialCached "essentials/style.html" . }} | ||
{{ else }} | ||
{{ partial "essentials/style.html" . }} | ||
{{ end }} | ||
</head> | ||
|
||
<body> | ||
<!-- cache partial only in production --> | ||
{{ if hugo.IsProduction }} | ||
{{ partialCached "preloader.html" . }} | ||
{{ partialCached "gtm-noscript.html" . }} | ||
{{ else }} | ||
{{ partial "preloader.html" . }} | ||
{{ end }} | ||
|
||
|
||
<!-- header (don't cache it) --> | ||
{{ partial "essentials/header.html" . }} | ||
{{ partial "search-modal.html" (dict "Context" . ) }} | ||
|
||
|
||
<main> | ||
{{ block "main" . }}{{ end }} | ||
</main> | ||
|
||
<!-- cache partial only in production --> | ||
{{ if hugo.IsProduction }} | ||
{{ partialCached "essentials/footer.html" . }} | ||
{{ partialCached "essentials/script.html" . }} | ||
{{ else }} | ||
{{ partial "essentials/footer.html" . }} | ||
{{ partial "essentials/script.html" . }} | ||
{{ end }} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,44 @@ | ||
{{ define "main" }} | ||
|
||
<!-- contact --> | ||
<section class="section"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<h2 class="section-title text-primary">{{ .Title }}</h2> | ||
{{ .Content }} | ||
<form | ||
action="{{ .Site.Params.contact_form_action | safeURL }}" | ||
method="POST" | ||
> | ||
<input | ||
type="text" | ||
id="name" | ||
name="name" | ||
placeholder="Name" | ||
class="form-control mb-4 shadow rounded-0" | ||
/> | ||
<input | ||
type="email" | ||
id="mail" | ||
name="mail" | ||
placeholder="Email" | ||
class="form-control mb-4 shadow rounded-0" | ||
/> | ||
<input | ||
type="text" | ||
id="subject" | ||
name="subject" | ||
placeholder="Subject" | ||
class="form-control mb-4 shadow rounded-0" | ||
/> | ||
<textarea | ||
name="message" | ||
id="message" | ||
placeholder="Message" | ||
class="form-control mb-4 shadow rounded-0" | ||
></textarea> | ||
<button type="submit" value="send" class="btn btn-primary"> | ||
{{ i18n "send" }} | ||
</button> | ||
</form> | ||
<!-- contact --> | ||
<section class="section"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<h2 class="section-title text-primary">{{ .Title }}</h2> | ||
{{ .Content }} | ||
<form | ||
action="{{ .Site.Params.contact_form_action | safeURL }}" | ||
method="POST"> | ||
<input | ||
type="text" | ||
id="name" | ||
name="name" | ||
placeholder="Name" | ||
class="form-control mb-4 shadow rounded-0" /> | ||
<input | ||
type="email" | ||
id="mail" | ||
name="mail" | ||
placeholder="Email" | ||
class="form-control mb-4 shadow rounded-0" /> | ||
<input | ||
type="text" | ||
id="subject" | ||
name="subject" | ||
placeholder="Subject" | ||
class="form-control mb-4 shadow rounded-0" /> | ||
<textarea | ||
name="message" | ||
id="message" | ||
placeholder="Message" | ||
class="form-control mb-4 shadow rounded-0"></textarea> | ||
<button type="submit" value="send" class="btn btn-primary"> | ||
{{ i18n "send" }} | ||
</button> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
<!-- /contact --> | ||
|
||
</section> | ||
<!-- /contact --> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
{{ define "main" }} | ||
|
||
<!-- faq --> | ||
<section class="section pb-0"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<h2 class="section-title text-primary">{{ .Title }}</h2> | ||
<!-- accordion --> | ||
<div id="accordion-wrapper"> | ||
{{.Content}} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
<!-- /faq --> | ||
|
||
{{ end }} | ||
{{ define "main" }} | ||
<!-- faq --> | ||
<section class="section pb-0"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<h2 class="section-title text-primary">{{ .Title }}</h2> | ||
<!-- accordion --> | ||
<div id="accordion-wrapper"> | ||
{{ .Content }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
<!-- /faq --> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
{{ define "main" }} | ||
|
||
{{ partial "default.html" . }} | ||
|
||
{{ end }} | ||
{{ define "main" }} | ||
{{ partial "default.html" . }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
{{ define "main" }} | ||
|
||
{{ partial "default.html" . }} | ||
|
||
{{ end }} | ||
{{ define "main" }} | ||
{{ partial "default.html" . }} | ||
{{ end }} |
Oops, something went wrong.