You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2023/02/09 10:33:04 UTC
[cloudstack-www] branch docusaurus-staging updated (db3c8ada -> a289c25a)
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a change to branch docusaurus-staging
in repository https://gitbox.apache.org/repos/asf/cloudstack-www.git
from db3c8ada fix build url
new ab91d3ab test netlify cms admin
new a289c25a try hostname custom to netlify
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.asf.yaml | 1 +
blog/2021-11-15-first-blog-post.md | 13 +++++++++++++
static/admin/config.yml | 33 +++++++++++++++++++++++++++++++++
static/admin/index.html | 12 ++++++++++++
4 files changed, 59 insertions(+)
create mode 100644 blog/2021-11-15-first-blog-post.md
create mode 100644 static/admin/config.yml
create mode 100644 static/admin/index.html
[cloudstack-www] 01/02: test netlify cms admin
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch docusaurus-staging
in repository https://gitbox.apache.org/repos/asf/cloudstack-www.git
commit ab91d3abe2fbfda7d22b3b34dc43d25527e690ad
Author: Rohit Yadav <ro...@shapeblue.com>
AuthorDate: Thu Feb 9 15:57:47 2023 +0530
test netlify cms admin
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
blog/2021-11-15-first-blog-post.md | 13 +++++++++++++
static/admin/config.yml | 33 +++++++++++++++++++++++++++++++++
static/admin/index.html | 12 ++++++++++++
3 files changed, 58 insertions(+)
diff --git a/blog/2021-11-15-first-blog-post.md b/blog/2021-11-15-first-blog-post.md
new file mode 100644
index 00000000..d60ad4b0
--- /dev/null
+++ b/blog/2021-11-15-first-blog-post.md
@@ -0,0 +1,13 @@
+---
+title: First Blog Post
+slug: first-blog-post
+tags:
+ - foo
+ - bar
+authors:
+ - name: Garrison McMullen
+ title: Instruction Writer
+ url: https://github.com/garrison0
+ image_url: https://avatars.githubusercontent.com/u/4089393?v=4
+---
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat.
diff --git a/static/admin/config.yml b/static/admin/config.yml
new file mode 100644
index 00000000..d6b2f26d
--- /dev/null
+++ b/static/admin/config.yml
@@ -0,0 +1,33 @@
+backend:
+ name: github
+ branch: docusaurus-staging
+ repo: shapeblue/cloudstack-www
+
+# These lines should *not* be indented
+media_folder: "static/img" # Media files will be stored in the repo under static/images/uploads
+public_folder: "/img/" # The src attribute for uploaded media will begin with /images/uploads
+
+collections:
+- name: blog
+ label: "blog"
+ folder: blog
+ identifier_field: title
+ extension: md
+ widget: "list"
+ create: true
+ slug: "{{year}}-{{month}}-{{day}}-{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
+ fields:
+ - { name: title, label: Title, widget: string }
+ - { name: body, label: Body, widget: markdown }
+ - { name: slug, label: Slug, widget: string }
+ - label: "Tags"
+ name: "tags"
+ widget: "list"
+ - label: "Authors"
+ name: "authors"
+ widget: "list"
+ fields:
+ - { name: name, label: Name, widget: string }
+ - { name: title, label: Title, widget: string }
+ - { name: url, label: URL, widget: string }
+ - { name: imageUrl, label: ImageURL, widget: string }
diff --git a/static/admin/index.html b/static/admin/index.html
new file mode 100644
index 00000000..823c7db5
--- /dev/null
+++ b/static/admin/index.html
@@ -0,0 +1,12 @@
+<!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>
+ </body>
+</html>
[cloudstack-www] 02/02: try hostname custom to netlify
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch docusaurus-staging
in repository https://gitbox.apache.org/repos/asf/cloudstack-www.git
commit a289c25af0361248c1b2d7e7420aaa99f4c8afe1
Author: Rohit Yadav <ro...@shapeblue.com>
AuthorDate: Thu Feb 9 16:02:33 2023 +0530
try hostname custom to netlify
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
.asf.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.asf.yaml b/.asf.yaml
index 379e16c2..b2535317 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -42,6 +42,7 @@ staging:
profile: ~
whoami: docusaurus-staging
outputdir: build
+ hostname: beautiful-pastelito-4eb422.netlify.app
publish:
whoami: asf-site