Commit 0b0a332a authored by Fabien Maniere's avatar Fabien Maniere

update tpl config + details

parent f5f14332
......@@ -15,18 +15,26 @@ Simple website to present GarganText.
## Build and watch
cabal install --overwrite-policy=always #Needed to take account of the custom config in site.hs
cabal install --overwrite-policy=always
#Needed to take account of the custom config in site.hs
site build
site watch
# Go to http://localhost:7000
## Deploy
Needs: rsync
site deploy #Deploy in /var/www/html/gargantext-org and set www-data as owner
site deploy
#Deploy in /var/www/html/gargantext-org and set www-data as owner
## Update (build and deploy) / All-in-1-command
cd gargantext-org-website && cabal install --overwrite-policy=always && site rebuild && site deploy
Go to http://localhost:7000
## Hakyll Documentation
......
---
title: GarganText - écosystème numérique décentralisé libre, fiable, transparent et intelligible
description: Exploration de vos données dans un écosystème numérique décentralisé libre et fiable, transparent et intelligible. La complexité de vos données devient un atout.
keywords: gargantext, libre, fiable, transparent, intelligible, écosystème, décentralisé, cartographie, cartographie des connaissances, spatialisation des connaissances
---
<!-- ======= Header ======= -->
<header id="header" class="fixed-top shadow">
<nav class="navbar navbar-expand-lg navbar-light py-0">
<div class="container">
<a href="#top" class="navbar-brand logo m-1 d-flex align-items-center py-0 my-0">
<picture class="py-1">
<source srcset="images/logo.svg" media="(max-width: 992px)" class="img-fluid" />
<img src="images/logo.svg" alt="" class="img-fluid">
</picture>
<img src="images/logo.svg" alt="" class="logo-scrolling img-fluid d-none">
<span class="bold text-primary">Gargan<span class="text-courier">Text</span></span>
</a>
<button class="navbar-toggler border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerGarg" aria-controls="navbarTogglerGarg" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerGarg">
<ul class="navbar-nav ms-auto me-5 mb-2 mb-lg-0 text-center">
<li class="nav-item">
<a class="nav-link text-garg-gradient" href="#discover">Découvrir</a>
</li>
<li class="nav-item">
<a class="nav-link text-garg-gradient" href="#learn">Se former</a>
</li>
<li class="nav-item">
<a class="nav-link text-garg-gradient" aria-current="page" href="#connect">Se connecter</a>
</li>
<!-- <li class="nav-item ms-lg-5 d-flex ">
<a class="nav-link" aria-current="page" href="#" title="English">🇬🇧</a>
<span class="px-1 small">|</span><a class="nav-link" aria-current="page" href="#">🇨🇵</a>
</li> -->
</ul>
</div>
</div>
</nav>
<!-- <div class="container d-flex align-items-center">
<a href="#top" class="logo m-1 d-flex align-items-center">
<picture>
<source srcset="images/logo.svg" media="(max-width: 992px)" class="img-fluid" />
<img src="images/logo.svg" alt="" class="img-fluid">
</picture>
<img src="images/logo.svg" alt="" class="logo-scrolling img-fluid d-none">
<span class="bold text-primary">Gargan<span class="text-courier">text</span></span>
</a>
</div> -->
<div class="bg-garg-gradient-mix pt-1"></div>
</div>
</header>
<!-- ======= End Header ======= -->
<!-- ======= Hero Section ======= -->
<section id="hero" class="panel d-flex align-items-center position-relative bg-garg-map-petit-prince">
......
......@@ -68,7 +68,7 @@ postCtx =
config :: Configuration
config = defaultConfiguration
{ previewPort = 7000
, deployCommand = "sudo rsync --checksum -chavzPpr \
, deployCommand = "sudo rsync --checksum --delete -chavzPpr \
\_site/* \
\/var/www/html/gargantext-org \
\&& sudo chown -R www-data: /var/www/html/gargantext-org"
......
......@@ -4,7 +4,9 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<title>$title$</title>
<title>$title$$if(prout)$$prout$$endif$</title>
$if(description)$<meta name="description" content="$description$">$endif$
$if(keywords)$<meta name="keywords" content="$keywords$">$endif$
<link rel="icon" href="/favicon/favicon.ico">
<link rel="stylesheet" href="/css/bootstrap-gargantext.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
......@@ -26,7 +28,7 @@
<header id="header" class="fixed-top shadow">
<nav class="navbar navbar-expand-lg navbar-light py-0">
<div class="container">
<a href="#top" class="navbar-brand logo m-1 d-flex align-items-center py-0 my-0">
<a href="/#top" class="navbar-brand logo m-1 d-flex align-items-center py-0 my-0">
<picture class="py-1">
<source srcset="/images/logo.svg" media="(max-width: 992px)" class="img-fluid" />
<img src="/images/logo.svg" alt="" class="img-fluid">
......@@ -40,13 +42,13 @@
<div class="collapse navbar-collapse" id="navbarTogglerGarg">
<ul class="navbar-nav ms-auto me-5 mb-2 mb-lg-0 text-center">
<li class="nav-item">
<a class="nav-link text-garg-gradient" href="#discover">Découvrir</a>
<a class="nav-link text-primary" href="#discover">Découvrir</a>
</li>
<li class="nav-item">
<a class="nav-link text-garg-gradient" href="#learn">Se former</a>
<a class="nav-link text-primary" href="#learn">Se former</a>
</li>
<li class="nav-item">
<a class="nav-link text-garg-gradient" aria-current="page" href="#connect">Se connecter</a>
<a class="nav-link text-primary" aria-current="page" href="#connect">Se connecter</a>
</li>
<!-- <li class="nav-item ms-lg-5 d-flex ">
<a class="nav-link" aria-current="page" href="#" title="English">🇬🇧</a>
......
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