Update from Forestry.io

DJ Walker committed Sep 20, 2018
commit 332f9b69dcb0e562ab1c5f97f7a774954b4b6941
Showing 5 changed files with 98 additions and 3 deletions
.forestry/front_matter/templates/config.yml +58 -0
@@ @@ -0,0 +1,58 @@
+ ---
+ label: Site Config
+ hide_body: false
+ is_partial: false
+ fields:
+ - name: title
+ label: Title
+ type: text
+ hidden: false
+ default: ''
+ - name: description
+ label: Description
+ type: text
+ hidden: false
+ default: ''
+ - type: file
+ name: logo
+ label: Logo
+ - name: footer
+ label: Footer
+ type: text
+ hidden: false
+ default: ''
+ - name: favicon
+ label: Favicon
+ type: file
+ hidden: false
+ default: ''
+ - name: navigation
+ label: Navigation
+ type: field_group_list
+ fields:
+ - name: text
+ label: Text
+ type: text
+ hidden: false
+ default: ''
+ - name: link
+ label: Link
+ type: text
+ hidden: false
+ default: ''
+ - type: select
+ config:
+ source:
+ type: simple
+ options:
+ - left
+ - right
+ label: Position
+ name: position
+ - name: external
+ label: External
+ type: boolean
+ hidden: false
+ default: ''
+ hidden: false
+ default: ''
.forestry/front_matter/templates/home.yml +1 -1
@@ @@ -15,4 +15,4 @@ fields:
schema:
format: html
pages:
- - portfolio/index.md
\ No newline at end of file
+ - portfolio/index.md
.forestry/front_matter/templates/settings.yml +1 -1
@@ @@ -57,4 +57,4 @@ fields:
hidden: false
default: ''
pages:
- - portfolio/config.json
\ No newline at end of file
+ - portfolio/config.json
.forestry/settings.yml +1 -1
@@ @@ -36,4 +36,4 @@ file_template: ":filename:"
build:
preview_command: npm run site:build
publish_command: npm run site_build
- output_directory: portfolio/.vuepress/dist
\ No newline at end of file
+ output_directory: portfolio/.vuepress/dist
admin/index.html +37 -0
@@ @@ -0,0 +1,37 @@
+ <!-- forestryio: ignore; forestryio: admin -->
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <title>Admin</title>
+ <meta name="description" content=" " />
+ <meta name="author" content=" " />
+ <meta name="HandheldFriendly" content="true" />
+ <meta name="MobileOptimized" content="320" />
+ <!-- Use maximum-scale and user-scalable at your own risk. It disables pinch/zoom. Think about usability/accessibility before including.-->
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+
+ <link rel="stylesheet" href="https://local.forestry.io/main.css" />
+
+ <!-- Google font -->
+ <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
+
+ <!-- Fort awesome icon kit -->
+ <script src="https://use.fortawesome.com/b6f38602.js"></script>
+
+ </head>
+ <body>
+ <div id="app">
+
+ </div>
+ <script id="admin-config-script" type="text/javascript">
+ var env = {
+ siteId: "v-xefunxiy34jw",
+ local: false
+ };
+ </script>
+ <script type="application/javascript" src="https://local.forestry.io/forestry.min.js"></script>
+
+ </body>
+ </html>