From 9a06a699dae403ee0884dd169614035233f2d293 Mon Sep 17 00:00:00 2001 From: Julien Taquet <julientaq@mac16.local> Date: Thu, 20 Jul 2023 21:26:24 +0200 Subject: [PATCH] static CMS and publishing system --- .eleventy.js | 1 + src/blog/posts/2023-03-25-coko-eu.md | 1 + ...oducing-our-groundbreaking-ai-subsystem.md | 1 + ...ments-bug-fixes-and-plugin-architecture.md | 1 + ...kotahi-how-to-quantify-its-contribution.md | 1 + ...nts-595-000-to-support-coko-development.md | 1 + ...i-for-a-cost-effective-journal-solution.md | 1 + ...unity-products-collaboration-guidelines.md | 1 + src/blog/posts/2023-05-22-flax-arrives.md | 1 + .../2023-05-22-ketida-textbook-designer.md | 1 + .../2023-05-23-kotahi-1-7-1-released-today.md | 1 + .../posts/2023-06-20-kotahi-1-7-2-release.md | 1 + ...-20-kotahi-multitenancy-one-step-closer.md | 1 + src/blog/posts/entry1.md | 1 + src/blog/posts/entry10.md | 1 + src/blog/posts/entry11.md | 1 + src/blog/posts/entry12.md | 1 + src/blog/posts/entry13.md | 1 + src/blog/posts/entry14.md | 1 + src/blog/posts/entry15.md | 1 + src/blog/posts/entry16.md | 1 + src/blog/posts/entry17.md | 1 + src/blog/posts/entry18.md | 1 + src/blog/posts/entry19.md | 1 + src/blog/posts/entry2.md | 3 +- src/blog/posts/entry20.md | 1 + src/blog/posts/entry21.md | 1 + src/blog/posts/entry22.md | 1 + src/blog/posts/entry23.md | 1 + src/blog/posts/entry3.md | 1 + src/blog/posts/entry4.md | 1 + src/blog/posts/entry5.md | 1 + src/blog/posts/entry6.md | 1 + src/blog/posts/entry7.md | 1 + src/blog/posts/entry8.md | 1 + src/blog/posts/entry9.md | 1 + src/layouts/_partials/menu.njk | 3 +- src/layouts/base.njk | 1 - static/admin/config.yml | 62 +++++++++++++------ static/admin/index.html | 43 +++++++++---- 40 files changed, 113 insertions(+), 34 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index 6c92e9c..e9a9a11 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -58,6 +58,7 @@ module.exports = function (eleventyConfig) { eleventyConfig.addCollection("blog", (collectionApi) => { return collectionApi .getFilteredByGlob("src/blog/posts/*.md") + .filter(a => {return a.data.published == true}) .sort((a, b) => a.data.date - b.data.date); }); diff --git a/src/blog/posts/2023-03-25-coko-eu.md b/src/blog/posts/2023-03-25-coko-eu.md index c0ad663..970bc7d 100644 --- a/src/blog/posts/2023-03-25-coko-eu.md +++ b/src/blog/posts/2023-03-25-coko-eu.md @@ -1,6 +1,7 @@ --- title: Coko EU date: 2023-03-25 +published: true intro: |- \ We have just opened a Coko not-for-profit branch in France. diff --git a/src/blog/posts/2023-03-26-introducing-our-groundbreaking-ai-subsystem.md b/src/blog/posts/2023-03-26-introducing-our-groundbreaking-ai-subsystem.md index 683421b..8f9386e 100644 --- a/src/blog/posts/2023-03-26-introducing-our-groundbreaking-ai-subsystem.md +++ b/src/blog/posts/2023-03-26-introducing-our-groundbreaking-ai-subsystem.md @@ -1,5 +1,6 @@ --- title: "Here Come the Robots! : Introducing Our Groundbreaking AI Subsystem" +published: true date: 2023-03-26 intro: Stay ahead of the game with Coko's cutting-edge AI technology. Our new subsystem in CokoDocs, Kotahi, and Ketida is designed to empower publishing diff --git a/src/blog/posts/2023-03-28-kotahi-1-6-release-enhancements-bug-fixes-and-plugin-architecture.md b/src/blog/posts/2023-03-28-kotahi-1-6-release-enhancements-bug-fixes-and-plugin-architecture.md index 9280019..a2653b0 100644 --- a/src/blog/posts/2023-03-28-kotahi-1-6-release-enhancements-bug-fixes-and-plugin-architecture.md +++ b/src/blog/posts/2023-03-28-kotahi-1-6-release-enhancements-bug-fixes-and-plugin-architecture.md @@ -1,4 +1,5 @@ --- +published: true title: "Kotahi 1.6 Release: Enhancements, Bug Fixes, and Plugin Architecture" date: 2023-03-28 intro: Kotahi, an open-source, web-based platform for managing scholarly diff --git a/src/blog/posts/2023-03-29-integrating-ai-into-kotahi-how-to-quantify-its-contribution.md b/src/blog/posts/2023-03-29-integrating-ai-into-kotahi-how-to-quantify-its-contribution.md index d0e7fce..6d54e0c 100644 --- a/src/blog/posts/2023-03-29-integrating-ai-into-kotahi-how-to-quantify-its-contribution.md +++ b/src/blog/posts/2023-03-29-integrating-ai-into-kotahi-how-to-quantify-its-contribution.md @@ -1,6 +1,7 @@ --- title: "Integrating AI into Kotahi: How to Quantify Its Contribution?" date: 2023-03-29 +published: true intro: Recently, a team of technologists from across the globe came together in New Zealand to brainstorm how to integrate AI into the peer review process using Kotahi responsibly. We recognize the potential benefits that AI can diff --git a/src/blog/posts/2023-03-30-mellon-foundation-grants-595-000-to-support-coko-development.md b/src/blog/posts/2023-03-30-mellon-foundation-grants-595-000-to-support-coko-development.md index c0c8aa5..61f9ac9 100644 --- a/src/blog/posts/2023-03-30-mellon-foundation-grants-595-000-to-support-coko-development.md +++ b/src/blog/posts/2023-03-30-mellon-foundation-grants-595-000-to-support-coko-development.md @@ -1,6 +1,7 @@ --- title: Mellon Foundation Grants $595,000 to Support Coko Development date: 2023-03-30 +published: true intro: >- FOR IMMEDIATE RELEASE diff --git a/src/blog/posts/2023-04-13-nucleus-by-amnet-harnessing-cokos-kotahi-for-a-cost-effective-journal-solution.md b/src/blog/posts/2023-04-13-nucleus-by-amnet-harnessing-cokos-kotahi-for-a-cost-effective-journal-solution.md index 44caf78..1a30b6e 100644 --- a/src/blog/posts/2023-04-13-nucleus-by-amnet-harnessing-cokos-kotahi-for-a-cost-effective-journal-solution.md +++ b/src/blog/posts/2023-04-13-nucleus-by-amnet-harnessing-cokos-kotahi-for-a-cost-effective-journal-solution.md @@ -2,6 +2,7 @@ title: "Nvcleus by Amnet: Harnessing Coko's Kotahi for a Cost-Effective Journal Solution" date: 2023-04-13 +published: true intro: Amnet and Coko are celebrating the launch of Nvcleus, a cost-effective journal solution based on the Kotahi platform, at the London Book Fair. This partnership has successfully developed an innovative approach to journal diff --git a/src/blog/posts/2023-04-20-coko-community-products-collaboration-guidelines.md b/src/blog/posts/2023-04-20-coko-community-products-collaboration-guidelines.md index 46921ff..ee72cbc 100644 --- a/src/blog/posts/2023-04-20-coko-community-products-collaboration-guidelines.md +++ b/src/blog/posts/2023-04-20-coko-community-products-collaboration-guidelines.md @@ -1,6 +1,7 @@ --- title: Coko Community Products Collaboration Guidelines date: 2023-04-20 +published: true intro: Guidelines for contributing to Coko products. icon: /static/images/uploads/adaminski_a_close_up_of_people_building_a_robot_style_8bit_ae3d56c1-776c-47d4-8d26-362f384964d0.png image: /static/images/uploads/adaminski_a_close_up_of_people_building_a_robot_style_8bit_ae3d56c1-776c-47d4-8d26-362f384964d0.png diff --git a/src/blog/posts/2023-05-22-flax-arrives.md b/src/blog/posts/2023-05-22-flax-arrives.md index cf594bb..8484db2 100644 --- a/src/blog/posts/2023-05-22-flax-arrives.md +++ b/src/blog/posts/2023-05-22-flax-arrives.md @@ -1,6 +1,7 @@ --- title: FLAX Arrives date: 2023-05-22 +published: true intro: Our new publishing front end and web presence platform for content, arrives. The first project to host content in FLAX is... the Louvre! icon: /static/images/uploads/flax.png diff --git a/src/blog/posts/2023-05-22-ketida-textbook-designer.md b/src/blog/posts/2023-05-22-ketida-textbook-designer.md index 703bfc5..dce48d4 100644 --- a/src/blog/posts/2023-05-22-ketida-textbook-designer.md +++ b/src/blog/posts/2023-05-22-ketida-textbook-designer.md @@ -1,6 +1,7 @@ --- title: Ketida Textbook Designer! date: 2023-05-22 +published: true intro: |- Beautiful textbooks are here! Watch this amazing demo. diff --git a/src/blog/posts/2023-05-23-kotahi-1-7-1-released-today.md b/src/blog/posts/2023-05-23-kotahi-1-7-1-released-today.md index 6d7475c..b9a70d2 100644 --- a/src/blog/posts/2023-05-23-kotahi-1-7-1-released-today.md +++ b/src/blog/posts/2023-05-23-kotahi-1-7-1-released-today.md @@ -1,6 +1,7 @@ --- title: Kotahi 1.7.1 released today! date: 2023-05-23 +published: true intro: Its a 'minor' release but lots of good updates for our best in class journal and preprint/PRC platform. Multitenancy coming in a few weeks! icon: /static/images/uploads/Kotahi.png diff --git a/src/blog/posts/2023-06-20-kotahi-1-7-2-release.md b/src/blog/posts/2023-06-20-kotahi-1-7-2-release.md index 5bd854a..d4b81cb 100644 --- a/src/blog/posts/2023-06-20-kotahi-1-7-2-release.md +++ b/src/blog/posts/2023-06-20-kotahi-1-7-2-release.md @@ -1,6 +1,7 @@ --- title: Kotahi 1.7.2 Release date: 2023-06-20 +published: true intro: Mainly a bug fix release with a few new features. icon: /static/images/uploads/Kotahi.png image: /static/images/uploads/Kotahi.png diff --git a/src/blog/posts/2023-06-20-kotahi-multitenancy-one-step-closer.md b/src/blog/posts/2023-06-20-kotahi-multitenancy-one-step-closer.md index 2822f16..b663903 100644 --- a/src/blog/posts/2023-06-20-kotahi-multitenancy-one-step-closer.md +++ b/src/blog/posts/2023-06-20-kotahi-multitenancy-one-step-closer.md @@ -1,6 +1,7 @@ --- title: Kotahi Multitenancy One Step Closer... date: 2023-06-20 +published: true intro: Kotahi is about to wake some folks up... icon: /static/images/uploads/gitlab.png image: /static/images/uploads/gitlab.png diff --git a/src/blog/posts/entry1.md b/src/blog/posts/entry1.md index 23209c8..a5f7545 100644 --- a/src/blog/posts/entry1.md +++ b/src/blog/posts/entry1.md @@ -1,4 +1,5 @@ --- +published: true title: "Rant #1: Word Processors" date: 2021-12-10 intro: The start of a new series of longer from rants on video. This is about Word Processors and why they might be a lot more important than you think! diff --git a/src/blog/posts/entry10.md b/src/blog/posts/entry10.md index 068ece0..ced37c1 100644 --- a/src/blog/posts/entry10.md +++ b/src/blog/posts/entry10.md @@ -1,4 +1,5 @@ --- +published: true title: "Kotahi and Workflow Optimization" date: 2022-02-24 intro: Adam discusses how Kotahi accelerates scholarly publishing. diff --git a/src/blog/posts/entry11.md b/src/blog/posts/entry11.md index 7be5ff1..074fafe 100644 --- a/src/blog/posts/entry11.md +++ b/src/blog/posts/entry11.md @@ -1,4 +1,5 @@ --- +published: true title: "Peerwith chooses Kotahi" date: 2022-02-25 intro: Peerwith announcement about their adoption of Kotahi! diff --git a/src/blog/posts/entry12.md b/src/blog/posts/entry12.md index 0b3e4f3..17a0b9e 100644 --- a/src/blog/posts/entry12.md +++ b/src/blog/posts/entry12.md @@ -1,4 +1,5 @@ --- +published: true title: "Publishers vs The Web" date: 2022-03-04 intro: Some whimsical theory about the web and publishing that hopefully makes sense. diff --git a/src/blog/posts/entry13.md b/src/blog/posts/entry13.md index 22e97b9..54d7c99 100644 --- a/src/blog/posts/entry13.md +++ b/src/blog/posts/entry13.md @@ -1,5 +1,6 @@ --- title: "Thoughts on ScienceBeam and Libero Editor" +published: true date: 2022-04-04 intro: Thoughts about the exciting recent eLife Announcement. author: Adam Hyde diff --git a/src/blog/posts/entry14.md b/src/blog/posts/entry14.md index c6eecdf..bbac824 100644 --- a/src/blog/posts/entry14.md +++ b/src/blog/posts/entry14.md @@ -1,4 +1,5 @@ --- +published: true title: "Kotahi: A new way to produce JATS" date: 2022-05-07 intro: Coko has a new detailed article on push button JATS creation from Kotahi. diff --git a/src/blog/posts/entry15.md b/src/blog/posts/entry15.md index c54c068..33cc13e 100644 --- a/src/blog/posts/entry15.md +++ b/src/blog/posts/entry15.md @@ -1,4 +1,5 @@ --- +published: true title: "Push Button JATS Production now here!" date: 2022-05-14 intro: We have been working hard on an exciting new innovation. diff --git a/src/blog/posts/entry16.md b/src/blog/posts/entry16.md index 4e16e4d..bf79883 100644 --- a/src/blog/posts/entry16.md +++ b/src/blog/posts/entry16.md @@ -1,4 +1,5 @@ --- +published: true title: "Coko Newsletter number 17 out now!" date: 2022-05-14 intro: Featuring - Kotahi and JATS, Editoria new feature, more on the forthcoming PageBreak Conference. diff --git a/src/blog/posts/entry17.md b/src/blog/posts/entry17.md index 2de0cae..0089237 100644 --- a/src/blog/posts/entry17.md +++ b/src/blog/posts/entry17.md @@ -1,4 +1,5 @@ --- +published: true title: "Coko Newsletter number 18 out now!" date: 2022-06-04 intro: Featuring - It's a bumper GEEK issue! We cover some recent Coko technology developments including - Pagedjs Template Sprint (OER), Wax Question Model Widgets, Libero Editor Consortium, PDF ingestion, Kotahi Multitenancy. diff --git a/src/blog/posts/entry18.md b/src/blog/posts/entry18.md index d1fc8b8..fd76d3a 100644 --- a/src/blog/posts/entry18.md +++ b/src/blog/posts/entry18.md @@ -1,4 +1,5 @@ --- +published: true title: "CokoDocs coming soon!" date: 2022-06-04 intro: New Product Announcement diff --git a/src/blog/posts/entry19.md b/src/blog/posts/entry19.md index 12a877d..3679de3 100644 --- a/src/blog/posts/entry19.md +++ b/src/blog/posts/entry19.md @@ -1,4 +1,5 @@ --- +published: true title: "Coko Annual Report!" date: 2022-06-04 intro: The 2021 - 2022 Coko Annual Report is available for download. diff --git a/src/blog/posts/entry2.md b/src/blog/posts/entry2.md index 599b198..45b8d27 100644 --- a/src/blog/posts/entry2.md +++ b/src/blog/posts/entry2.md @@ -1,4 +1,5 @@ --- +published: true title: "Announcement: Women in Tech Collectives and Coko form Partnership" date: 2021-11-01 intro: Coko and the Women in Tech Collectives are proud to announce a new partnership! The Women in Tech Collectives from India is a small community led by women tech enthusiasts… @@ -24,4 +25,4 @@ In June of 2021 Bhuvana approached Coko Founder Adam Hyde about possible collabo Coko Founder Adam Hyde is also very happy about this collaboration – “Bhuvana and the WITc are awesome! We have welcomed 4 people from the collective into our team so far and looking to work with more within a few weeks. Everyone has been extremely nice, hard working, and enthusiastic about what we do. “ -Coko is also supporting these four team members to work during the week on other WiTc projects to assist the community. Additionally Bhuvana has joined the judging panel of the Open Publishing Awards and Adam and Bhuvana have more exciting ideas for WItC and Coko collaborations in the pipeline to announce! Stay tuned! \ No newline at end of file +Coko is also supporting these four team members to work during the week on other WiTc projects to assist the community. Additionally Bhuvana has joined the judging panel of the Open Publishing Awards and Adam and Bhuvana have more exciting ideas for WItC and Coko collaborations in the pipeline to announce! Stay tuned! diff --git a/src/blog/posts/entry20.md b/src/blog/posts/entry20.md index 138a972..fc3b6b1 100644 --- a/src/blog/posts/entry20.md +++ b/src/blog/posts/entry20.md @@ -1,4 +1,5 @@ --- +published: true title: "Update from Croatia" date: 2022-08-31 intro: We have been working hard in Croatia! diff --git a/src/blog/posts/entry21.md b/src/blog/posts/entry21.md index f31f1bb..ee1549f 100644 --- a/src/blog/posts/entry21.md +++ b/src/blog/posts/entry21.md @@ -1,4 +1,5 @@ --- +published: true title: "Understanding Workflow-first Design" date: 2022-09-22 intro: First in a new two part series of articles on Workflow-first design principles by Coko Founder Adam Hyde.. diff --git a/src/blog/posts/entry22.md b/src/blog/posts/entry22.md index fe7ddbe..ddebce4 100644 --- a/src/blog/posts/entry22.md +++ b/src/blog/posts/entry22.md @@ -1,4 +1,5 @@ --- +published: true title: "Coko Newsletter #22" date: 2022-09-23 intro: Kotahi Update, PageBreak and more... diff --git a/src/blog/posts/entry23.md b/src/blog/posts/entry23.md index a64af37..a9a079d 100644 --- a/src/blog/posts/entry23.md +++ b/src/blog/posts/entry23.md @@ -1,4 +1,5 @@ --- +published: true title: "Understanding Workflow-first Design Part 2" date: 2022-09-27 intro: The Second in a two part series of articles on Workflow-first design principles by Coko Founder Adam Hyde. diff --git a/src/blog/posts/entry3.md b/src/blog/posts/entry3.md index 1052f4a..4b30d96 100644 --- a/src/blog/posts/entry3.md +++ b/src/blog/posts/entry3.md @@ -1,4 +1,5 @@ --- +published: true title: "Adam Hyde recieves Open Source Award" date: 2022-02-02 intro: Coko Founder Adam Hyde recieves Open Source Award for "Exceptional Leadership" diff --git a/src/blog/posts/entry4.md b/src/blog/posts/entry4.md index ffcd1ba..f354cb7 100644 --- a/src/blog/posts/entry4.md +++ b/src/blog/posts/entry4.md @@ -1,6 +1,7 @@ --- title: "All About Coko Architects" date: 2022-02-08 +published: true intro: An introduction to Coko Architects author: Adam Hyde tags: featured diff --git a/src/blog/posts/entry5.md b/src/blog/posts/entry5.md index 0f1883d..7b84c20 100644 --- a/src/blog/posts/entry5.md +++ b/src/blog/posts/entry5.md @@ -1,4 +1,5 @@ --- +published: true title: "Pandoc Integrates Pagedjs" date: 2022-02-10 intro: Popular conversion tool Pandoc integrates Pagedjs" diff --git a/src/blog/posts/entry6.md b/src/blog/posts/entry6.md index f7d489c..0111ff1 100644 --- a/src/blog/posts/entry6.md +++ b/src/blog/posts/entry6.md @@ -1,4 +1,5 @@ --- +published: true title: "How to Radically Optimise Publishing" date: 2022-02-11 intro: Adam discusses a key ingredient for radically improving the time and cost to publish. diff --git a/src/blog/posts/entry7.md b/src/blog/posts/entry7.md index 11dd602..aaf8987 100644 --- a/src/blog/posts/entry7.md +++ b/src/blog/posts/entry7.md @@ -1,4 +1,5 @@ --- +published: true title: "Coko website almost done!" date: 2022-02-16 intro: We have been updating the Coko website and it is almost finished! diff --git a/src/blog/posts/entry8.md b/src/blog/posts/entry8.md index 1d1d24d..d352835 100644 --- a/src/blog/posts/entry8.md +++ b/src/blog/posts/entry8.md @@ -1,4 +1,5 @@ --- +published: true title: "Publishing and Facilitation" date: 2022-02-17 intro: Adam discusses managing publishing processes in a concurrent environment. diff --git a/src/blog/posts/entry9.md b/src/blog/posts/entry9.md index b793ae6..6f5f9ae 100644 --- a/src/blog/posts/entry9.md +++ b/src/blog/posts/entry9.md @@ -1,4 +1,5 @@ --- +published: true title: "New Colab Site" date: 2022-02-20 intro: Our Partners Biophysics Colab launch their Website! diff --git a/src/layouts/_partials/menu.njk b/src/layouts/_partials/menu.njk index 9a9ef37..7eeabff 100644 --- a/src/layouts/_partials/menu.njk +++ b/src/layouts/_partials/menu.njk @@ -11,7 +11,6 @@ {% if item.data.menu %} <li> - {# <span>{{item.data.order}}</span> #} <a data-instant class="{% if item.url == page.url %}active{% endif %}" href="{{ item.url }}" title="{{ item.data.title }}">{%- if item.data.menutitle -%}{{ item.data.menutitle }}{% else %}{{ item.data.title }}{% endif %}</a> </li> {% endif %} @@ -28,4 +27,4 @@ document.querySelector('.topbar nav').classList.toggle('hide'); }) -</script> \ No newline at end of file +</script> diff --git a/src/layouts/base.njk b/src/layouts/base.njk index f05953c..bef9ecf 100644 --- a/src/layouts/base.njk +++ b/src/layouts/base.njk @@ -1,5 +1,4 @@ <!DOCTYPE html> - {# from https://www.matuzo.at/blog/html-boilerplate/ #} <html lang="{% if lang %}{{lang}}{% else %} {{site.lang}}{% endif %}" class="no-js"> diff --git a/static/admin/config.yml b/static/admin/config.yml index d245324..4b170d4 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -12,26 +12,50 @@ backend: base_url: https://gitlab.coko.foundation auth_endpoint: oauth/authorize site_domain: https://coko.foundation/ - # local_backend: true # for local update + + # name: git-gateway +local_backend: true # for local update # publish_mode: editorial_workflow #remove editorial workflow as its in beta for gitlab -media_folder: 'static/images/uploads' # Media files will be stored in the repo under images/uploads +media_folder: "static/images/uploads" # Media files will be stored in the repo under images/uploads collections: - - name: 'blog' - label: 'blog entry' # Used in the UI - folder: 'src/blog/posts/' # The path to the folder where the documents are stored - slug: '{{year}}-{{month}}-{{day}}-{{slug}}' + - name: "blog" + label: "Blog" # Used in the UI + folder: "src/blog/posts/" # The path to the folder where the documents are stored + slug: "{{year}}-{{month}}-{{day}}-{{slug}}" create: true fields: - - { label: 'Title', name: 'title', widget: 'string' } - - { label: 'Date', name: 'date', widget: 'date' } - - { label: 'Intro', required: false, name: 'intro', widget: 'markdown' } - - { label: 'The content', name: 'body', widget: 'markdown' } - - { - label: 'Custom class (leave empty)', - required: false, - name: 'class', - widget: 'string', - } - - { label: 'Video', required: false, name: 'video', widget: 'string' } - - { label: 'icon', required: false, name: 'icon', widget: 'file' } - - { label: 'image', required: false, name: 'image', widget: 'file' } + - label: "Date" + name: "date" + widget: "datetime" + format: "yyyy-MM-dd" + - label: "published" + name: "published" + widget: "boolean" + required: true + default: true + - label: "Title" + name: "title" + widget: "string" + - label: "Intro" + required: false + name: "intro" + widget: "markdown" + - label: "The content" + name: "body" + widget: "markdown" + - label: "Custom class (leave empty)" + required: false + name: "class" + widget: "string" + - label: "Video" + required: false + name: "video" + widget: "string" + - label: "icon" + required: false + name: "icon" + widget: "file" + - label: "image" + required: false + name: "image" + widget: "file" diff --git a/static/admin/index.html b/static/admin/index.html index 62d223b..5149a71 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -1,13 +1,34 @@ -<!doctype html> +<!-- <!doctype html> --> +<!-- <html> --> +<!-- <head> --> +<!-- <meta charset="utf-8" /> --> +<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0" /> --> +<!-- <title>Content Manager</title> --> +<!-- </head> --> +<!-- <body> --> +<!-- //-- real comment --/ 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> --> +<!-- </body> --> +<!-- </html> --> +<!----> + +<!DOCTYPE html> <html> -<head> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <title>Content Manager</title> -</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> + <head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Content Manager</title> + <link + rel="stylesheet" + href="https://unpkg.com/@staticcms/app@^2.0.0/dist/main.css" + /> + </head> + <body> + <!-- Include the script that builds the page and powers StaticJs CMS --> + <script src="https://unpkg.com/@staticcms/app@^2.0.0/dist/static-cms-app.js"></script> -</body> -</html> \ No newline at end of file + <script> + CMS.init(); + </script> + </body> +</html> -- GitLab