Remove netlify stuff
This commit is contained in:
parent
0fd3d6221b
commit
6433045268
|
@ -1,28 +0,0 @@
|
|||
backend:
|
||||
name: gitlab
|
||||
repo: june/netlify-test # Path to your GitLab repository
|
||||
auth_type: implicit # Required for implicit grant
|
||||
app_id: 96748343d3dd5b9f9cf52f3869fdc248150fae1a7096424632058bca9968cb87 # Application ID from your GitLab settings
|
||||
api_root: https://framagit.org/api/v4
|
||||
base_url: https://framagit.org
|
||||
auth_endpoint: oauth/authorize
|
||||
|
||||
locale: 'fr'
|
||||
|
||||
# This line should *not* be indented
|
||||
publish_mode: editorial_workflow
|
||||
|
||||
# These lines should *not* be indented
|
||||
media_folder: "static/images/uploads" # Media files will be stored in the repo under static/images/uploads
|
||||
public_folder: "/images/uploads" # The src attribute for uploaded media will begin with /images/uploads
|
||||
|
||||
collections:
|
||||
- name: "page" # Used in routes, e.g., /admin/collections/pages
|
||||
label: "Page" # Used in the UI
|
||||
folder: "content" # The path to the folder where the documents are stored
|
||||
create: true #Allow users to create new documents in this collection
|
||||
slug: "{{slug}}" # Filename template, e.g., title.md
|
||||
fields: # The fields for each document, usually in front matter
|
||||
- {label: "Titre", name: "title", widget: "string"}
|
||||
- {label: "Ordre", name: "weight", widget: "number", default :1, value_type: "int"}
|
||||
- {label: "Texte", name: "body", widget: "markdown"}
|
|
@ -1,19 +0,0 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Content Manager</title>
|
||||
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- Include the script that builds the page and powers Netlify CMS -->
|
||||
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
|
||||
<script>
|
||||
import CMS from 'netlify-cms-app';
|
||||
import { fr } from 'netlify-cms-locales';
|
||||
|
||||
CMS.registerLocale('fr', fr);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -11,8 +11,6 @@
|
|||
<link rel="stylesheet" href="{{ get_url(path="juice.css") }}">
|
||||
{% block head %}
|
||||
{% endblock head %}
|
||||
<!-- NETLIFY HEAD-->
|
||||
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -26,10 +24,10 @@
|
|||
{% block hero %}
|
||||
<section class="text-center">
|
||||
<h1 class="heading-text" style="font-size: 3rem">
|
||||
Build your static website
|
||||
Invoquez votre domaine
|
||||
</h1>
|
||||
<h3 class="title-text">
|
||||
<b>Juice</b> is an intuitive, elegant, and lightweight Zola theme for product websites.
|
||||
<b>DNS Witch</b> rend les domaines .eu.org accessibles.
|
||||
</h3>
|
||||
</section>
|
||||
<img class="hero-image" style="width: 50%" src="{{ get_url(path=config.extra.juice_logo_path) }}" alt="Describing my logo">
|
||||
|
@ -38,7 +36,7 @@
|
|||
<div class="explore-more text" tabindex=0
|
||||
onclick="document.getElementById('features').scrollIntoView({behavior: 'smooth'})"
|
||||
onkeydown="document.getElementById('features').scrollIntoView({behavior: 'smooth'})">
|
||||
Explore More ⇩
|
||||
En savoir plus ⇩
|
||||
</div>
|
||||
</nav>
|
||||
<style>
|
||||
|
@ -138,17 +136,4 @@
|
|||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- NETLIFY BODY-->
|
||||
<script>
|
||||
if (window.netlifyIdentity) {
|
||||
window.netlifyIdentity.on("init", user => {
|
||||
if (!user) {
|
||||
window.netlifyIdentity.on("login", () => {
|
||||
document.location.href = "/admin/";
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue