Commit 02a73c3e authored by Si Mon's avatar Si Mon 😓

add Makefile & comment call-to-action into single page layout

parent 17bfa168
.PHONY: help hugobuild
path=/sites/petitgraindepeau/
ssh=simon@192.168.122.179
help: ## Affiche cette aide
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
hugobuild: ## Déploi le site hugo à distance
git submodule update --recursive --remote # Met à jour les sous-modules git
hugo
rsync -av ./public/ $(ssh):$(path)
title = "Petit Grain de Peau"
baseURL = "https://www.example.com"
baseURL = "http://petitgraindepeau.localhost/"
languageCode = "fr-fr"
DefaultContentLanguage = "fr"
theme = "airspace"
......
<!DOCTYPE html>
<html>
<head>
{{ partial "head.html" . }}
</head>
<body>
{{ partial "header.html" . }}
{{ if isset .Params "id" }}
{{ partial .Params.id . }}
{{ else }}
<main>{{ .Content }}</main>
{{ end }}
<!-- {{ if and (isset .Site.Params "call") (.Site.Params.call.enable) }}
{{ partial "call-to-action.html" . }}
{{ end }} -->
{{ partial "footer.html" . }}
</body>
</html>
......@@ -83,5 +83,3 @@
</div> <!-- cd-timeline-block -->
</section> <!-- cd-timeline -->
</div><!-- timeline-wrapper -->
{{ partial "call-to-action.html" .Site.Data.work.call }}
Subproject commit 4d60364253d650bbc0aa0c3f92413a227f529c3f
Subproject commit cf177e69f16a969b93de9c424314d25681f59265
Markdown is supported
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