Unverified Commit 3fee8c7b authored by berumuron's avatar berumuron
Browse files

Deploy README as a website on Framagit Pages

parent 0ad2d07e
Pipeline #493261 passed with stage
in 8 seconds
---
pages:
stage: deploy
image:
name: pandoc/core:latest-alpine
entrypoint: ["/bin/sh", "-c"]
script:
- mkdir public
- pandoc --output=public/index.html --template=website/template.html README.md
artifacts:
paths:
- public
only:
refs:
- main
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>$title$</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
html {
font-size: 24px;
line-height: 1.3;
}
body {
color: #2b0e44;
font-family: Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
background-color: #fefcfe;
}
main {
max-width: 1200px;
margin-right: auto;
margin-left: auto;
padding: 5rem 1rem 5rem;
}
footer {
padding-top: 2rem;
padding-bottom: 2rem;
font-size: 0.8rem;
text-align: center;
font-style: italic;
}
a {
color: #8445bc;
}
a:hover {
color: #793aaf;
}
.text-container > p,
.text-container > ul,
.text-container > h1,
.text-container > h2,
.text-container > h3 {
max-width: 700px;
margin-right: auto;
margin-left: auto;
}
div.sourceCode {
overflow-x: auto;
padding: 0.5rem;
color: #fefcfe;
background-color: #2b0e44;
}
code {
padding: 0.1rem .25rem;
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
font-size: 0.8rem;
background-color: #f9f1fe;
border-radius: 0.25rem;
}
pre code {
background-color: transparent;
}
</style>
</head>
<body>
<main>
<div class="text-container">
$body$
</div>
</main>
<footer>
<a href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>&nbsp;&nbsp;hosted on <a href="https://framagit.org/marienfressinaud/gdpr-txt">framagit.org</a>&nbsp;&nbsp;by <a href="https://marienfressinaud.fr">Marien Fressinaud</a>
</footer>
</body>
</html>
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