🔧 (Adds some basic setup content)
This commit is contained in:
parent
01fa97b592
commit
f42eeae6f4
|
@ -13,16 +13,18 @@ collections:
|
|||
- label: "Site Info"
|
||||
name: "info"
|
||||
format: 'json'
|
||||
file: "src/content/setup/info.json"
|
||||
file: "src/data/setup/info.json"
|
||||
fields:
|
||||
- {label: Site Name, name: sitename, widget: string}
|
||||
- {label: Site Description, name: sitedescription, widget: string}
|
||||
- {label: Site Icon (Must be 512x512 or larger square PNG), name: siteicon, widget: image,default: "/icon.png"}
|
||||
- {label: Show Icon in Menu, name: showmenu, widget: boolean}
|
||||
- label: Menu Links
|
||||
name: menu
|
||||
widget: list
|
||||
- label: "Social Media"
|
||||
name: "connect"
|
||||
format: 'json'
|
||||
file: "src/data/setup/socialmedia.json"
|
||||
fields:
|
||||
- label: 'Links'
|
||||
name: 'socialMedia'
|
||||
widget: 'list'
|
||||
fields:
|
||||
- {label: Name, name: name, widget: string}
|
||||
- {label: Position, name: position, widget: string}
|
||||
- {label: Link, name: link, widget: string}
|
||||
- {label: Link Name, name: name, widget: string}
|
||||
- {label: URL, name: url, widget: string}
|
||||
|
|
|
@ -45,8 +45,10 @@
|
|||
<noscript>
|
||||
<strong>We're sorry but EUROMAT doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
|
||||
<script>
|
||||
/* eslint-disable */
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
|
|
4
src/data/setup/info.json
Normal file
4
src/data/setup/info.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"sitename": "EUROMAT",
|
||||
"sitedescription": "Der EUROMAT ist nicht einfach nur ein Wahlomat. Sondern Ihr digitaler Wahl-Freund, der Ihnen einen Eindruck von den europapolitischen Positionen der Parteien vermittelt.",
|
||||
}
|
12
src/data/setup/socialmedia.json
Normal file
12
src/data/setup/socialmedia.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"socialMedia": [
|
||||
{
|
||||
"name": "Twitter",
|
||||
"url": "https://twitter.com/HelloEuromat"
|
||||
},
|
||||
{
|
||||
"name": "Facebook",
|
||||
"url": "https://www.facebook.com/EUROMAT.info/"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue