From 29325f36a0eb7472872ec61a87b295fcaa869027 Mon Sep 17 00:00:00 2001 From: Regular James Date: Thu, 24 Oct 2024 11:13:37 -0400 Subject: [PATCH 1/2] Migration of data --- _data/assetPaths.json | 25 ++++++-- _data/collections.yaml | 45 ++++++++++++-- _data/site.yaml | 132 +++++++++++++++++++++++++++-------------- 3 files changed, 149 insertions(+), 53 deletions(-) diff --git a/_data/assetPaths.json b/_data/assetPaths.json index a760a2d..ea9f067 100644 --- a/_data/assetPaths.json +++ b/_data/assetPaths.json @@ -1,11 +1,26 @@ { + "2017-benchmarking-us-government.pdf": "/assets/documents/2017-benchmarking-us-government-websites.pdf", + "AFWERX-case.pdf": "/assets/documents/AFWERX-case-study.pdf", + "Federalist-ATO-Extension.pdf": "/assets/documents/Federalist-ATO-Extension-Letter.pdf", + "Federalist-One.pdf": "/assets/documents/Federalist-One-Pager.pdf", + "Office_Hours_EC_ES_Tech_Talk.pdf": "/assets/documents/Office_Hours_EC_ES_Tech_Talk.pdf", + "Pages.pdf": "/assets/documents/Pages-Proposal.pdf", + "afwerx.pdf": "/assets/documents/afwerx-success.pdf", + "cloud-gov-benefits-of-enterprise.pdf": "/assets/documents/cloud-gov-benefits-of-enterprise-solution.pdf", + "coe.pdf": "/assets/documents/coe-success.pdf", + "doi.pdf": "/assets/documents/doi-success.pdf", + "example-diagram.pdf": "/assets/documents/example-diagram-2.pdf", + "federalist-system.pdf": "/assets/documents/federalist-system-architecture.pdf", + "how-federalist-works-for.pdf": "/assets/documents/how-federalist-works-for-presentation.pdf", + "how-pages-works.pdf": "/assets/documents/how-pages-works-diagram.pdf", + "pages-compliance.pdf": "/assets/documents/pages-compliance-memo.pdf", "admin.js": "/assets/js/admin-OYJBR6FH.js", "admin.map": "/assets/js/admin-OYJBR6FH.js.map", - "anchor.mi.js": "/assets/js/anchor.min.js", - "app.js": "/assets/js/app-ZQYILJ3O.js", - "app.map": "/assets/js/app-ZQYILJ3O.js.map", + "anchor.min.js": "/assets/js/anchor.min.js", + "app.js": "/assets/js/app-QEPMZAPG.js", + "app.map": "/assets/js/app-QEPMZAPG.js.map", "uswds.js": "/assets/js/uswds-init.js", "prism-atom.css": "/assets/styles/prism-atom-dark.css", - "styles.css": "/assets/styles/styles-BBYPEDQ2.css", - "styles.map": "/assets/styles/styles-BBYPEDQ2.css.map" + "styles.css": "/assets/styles/styles-LAEZDHNO.css", + "styles.map": "/assets/styles/styles-LAEZDHNO.css.map" } \ No newline at end of file diff --git a/_data/collections.yaml b/_data/collections.yaml index a81b235..d1aad82 100644 --- a/_data/collections.yaml +++ b/_data/collections.yaml @@ -4,16 +4,53 @@ # This is simple, hopefully provides you with a good enough example to make changes as needed - name: GSA url: https://gsa.gov - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus interdum pellentesque. Integer eu vehicula elit. Sed cursus magna in dui suscipit rhoncus. + description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus interdum pellentesque. Integer eu vehicula elit. Sed cursus magna in dui suscipit rhoncus. - name: USDA url: http://usda.gov/ - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus interdum pellentesque. Integer eu vehicula elit. Sed cursus magna in dui suscipit rhoncus. + description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus interdum pellentesque. Integer eu vehicula elit. Sed cursus magna in dui suscipit rhoncus. - name: Performance.gov url: http://performance.gov/ - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus interdum pellentesque. Integer eu vehicula elit. Sed cursus magna in dui suscipit rhoncus. + description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus interdum pellentesque. Integer eu vehicula elit. Sed cursus magna in dui suscipit rhoncus. - name: Login.gov url: https://login.gov - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus interdum pellentesque. Integer eu vehicula elit. Sed cursus magna in dui suscipit rhoncus. + description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus interdum pellentesque. Integer eu vehicula elit. Sed cursus magna in dui suscipit rhoncus. + + + +- label: cloud.gov knowledge base + name: kbarticles + folder: pages/knowledge-base/articles/ + create: true + slug: "{{year}}-{{month}}-{{day}}-{{slug}}" + editor: + preview: false + fields: + - { label: 'Layout', name: 'layout', widget: 'hidden', default: 'layouts/post' } + - { label: 'Tags', name: 'tags', widget: 'hidden', default: [ 'posts' ] } + - { label: "Title", name: "title", widget: "string" } + - { label: "Author", name: "author", widget: "string" } + - { + label: "Publish Date", + name: "date", + widget: "datetime", + format: 'YYYY-MM-DD', + dateFormat: 'YYYY-MM-DD', + timeFormat: false + } + - { + label: "Image", + name: "image", + widget: "image", + allow_multiple: false, + required: false + } + - { + label: "Image Alt Text", + name: "image_alt_text", + widget: "string", + required: false + } + - { label: "Body", name: "body", widget: "markdown" } diff --git a/_data/site.yaml b/_data/site.yaml index aebcf2d..4c115d2 100644 --- a/_data/site.yaml +++ b/_data/site.yaml @@ -1,11 +1,25 @@ -title: Agency Name -email: contact@example.gov -description: >- # this means to ignore newlines - Agency Name (EAC) Lorem ipsum dolor sit amet, consectetur adipiscing elit. - Aenean et sapien a leo auctor scelerisque quis nec magna. Sed dictum ante a risus vehicula facilisis. +title: cloud.gov +email: support@cloud.gov +support_email_address: support@cloud.gov +description: >- # this means to ignore newlines until "baseurl:" + Expedite your agency’s path to a secure and compliant cloud. cloud.gov provides an application environment that enables rapid deployment and ATO assessment for modern web applications. +baseurl: "" # the subpath of your site, e.g. /knowledge-base +# url: "https://example.gov" # the base hostname & protocol for your site, e.g. http://example.com # Twitter handle. Only the handle, not the URL. -twitter: 18F +twitter: clouddotgov +github_url: https://github.com/cloud-gov/cg-site +support_email: mailto:support@cloud.gov?body=What+is+your+question%3F%0D%0A%0D%0APlease+provide+your+application+name+or+URL.+Do+not+include+any+sensitive+information+about+your+platform+in+this+email. +inquiries_email: mailto:inquiries@cloud.gov?body=What%27s%20your%20name%3F%0A%0AWhat%20agency%20or%20office%20do%20you%20work%20for%3F%0A%0AWhat%27s%20your%20job%20title%20or%20role%3F%0A%0ATell%20us%20a%20little%20about%20your%20project%20or%20your%20questions%20about%20cloud.gov%3A%0A%0AIf%20you%27d%20like%20us%20to%20call%20you%2C%20what%27s%20your%20phone%20number%20and%20when%20might%20be%20a%20good%20time%3F%0A%0AHow%20did%20you%20first%20hear%20about%20cloud.gov%3F + +github_branch: main + +# Configuration for Google Analytics, add your UA code here: +google_analytics_ua: UA-48605964-34 + +# Configuration for DAP, add your agency ID here: +dap_agency: GSA +dap_subagency: TTS,cloud.gov ################################################################# # @@ -41,39 +55,70 @@ twitter: 18F # ################################################################# dap: - # agency: your-agency +# agency: your-agency - # Optional - # subagency: your-subagency +# Optional +# subagency: your-subagency # Configuration for Google Analytics ga: - # ua: your-ua +# ua: your-ua # Site Navigation primary_navigation: - - name: Home - url: / - - name: Blog - url: /blog/ - - name: Document - url: /document/ - - name: Document with sidenav - url: /document-with-sidenav/ - - name: Document submenu + - name: Why cloud.gov? + key: overview + children: + - name: Overview + url: /docs/overview/what-is-cloudgov/ + - name: We’re FedRAMP authorized + url: /docs/overview/fedramp-tracker/ + - name: Applications we support + url: /docs/overview/portfolio-analysis/ + - name: Benefits of PaaS + url: /docs/technology/responsibilities/ + - name: Customer stories + url: /docs/customer-stories/epa-airnow-gov/ + - name: Our team + url: /docs/overview/cloudgov-team/ + - name: Get started + url: /sign-up/ + - name: Pricing + key: pricing children: - - name: Navigation link - url: "#main-content" - - name: Navigation link - url: "#main-content" - - name: Navigation link - url: "#main-content" + - name: Pricing + url: /pricing/ + - name: Try a Free Sandbox + url: /docs/pricing/free-limited-sandbox/ + - name: Quota Costs Billing & Limits + url: /docs/pricing/quotas/ + - name: Support Packages + url: /support-packages/ + - name: Documentation + key: docs + children: + - name: Deploying apps + url: /docs/deployment/deployment/ + - name: Managing apps + url: /docs/management/plugins/ + - name: Managing services + url: /docs/services/intro/ + - name: Managing orgs + url: /docs/orgs-spaces/dashboard/ + - name: News + url: /news/ + - name: Knowledge base + url: /knowledge-base/ + - name: Pages + url: /pages/ + - name: Contact us + url: /contact/ secondary_navigation: - - name: Secondary link - url: "#main-content" - - name: Another secondary link - url: "#main-content" + - name: Platform Status + url: https://cloudgov.statuspage.io/ + - name: Log in + url: https://login.fr.cloud.gov/login # Search.gov configuration # @@ -81,24 +126,23 @@ secondary_navigation: # 2. Add a new site. # 3. Add your site/affiliate name here. searchgov: - - # Only change this if you're using a CNAME. Learn more here: https://search.gov/manual/cname.html - endpoint: https://search.usa.gov - - # Replace this with your search.gov account. - affiliate: federalist-uswds-example - - # Replace this with your access key. - access_key: xX1gtb2RcnLbIYkHAcB6IaTRr4ZfN-p16ofcyUebeko= - - # This renders the results within the page instead of sending to user to search.gov. - inline: true - - # This allows Search.gov to present relevant type-ahead search suggestions in your website's search box. - # If you do not want to present search suggestions, set this value to false. + endpoint: https://search.usa.gov # You should not change this. + affiliate: cloud.gov + access_key: v_vjJAaWUAy1wHDmCPVM7zEvyH7-gbS1WeYhoEA_X9o= + inline: false #this renders the results on the same domain. Otherwise, it will render the results in the search.gov domain suggestions: true ########################################################################################## # The values below here are more advanced and should only be # changed if you know what they do ########################################################################################## + +permalink: pretty + +url: "https://cloud.gov" + + +### plugin settings ### +last-modified-at: + date-format: "%Y-%m-%d" + From ee058fab2043e935071c466cf231249c3dab8b46 Mon Sep 17 00:00:00 2001 From: Regular James Date: Tue, 29 Oct 2024 13:13:59 -0400 Subject: [PATCH 2/2] removed _data/assetPaths.json from tracking. removed unused collections --- .gitignore | 3 ++- _data/assetPaths.json | 26 --------------------- _data/collections.yaml | 52 ------------------------------------------ 3 files changed, 2 insertions(+), 79 deletions(-) delete mode 100644 _data/assetPaths.json diff --git a/.gitignore b/.gitignore index 2e998b9..4320bf4 100644 --- a/.gitignore +++ b/.gitignore @@ -120,4 +120,5 @@ web_modules/ _site public node_modules -.idea \ No newline at end of file +.idea +_data/assetPaths.json \ No newline at end of file diff --git a/_data/assetPaths.json b/_data/assetPaths.json deleted file mode 100644 index ea9f067..0000000 --- a/_data/assetPaths.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "2017-benchmarking-us-government.pdf": "/assets/documents/2017-benchmarking-us-government-websites.pdf", - "AFWERX-case.pdf": "/assets/documents/AFWERX-case-study.pdf", - "Federalist-ATO-Extension.pdf": "/assets/documents/Federalist-ATO-Extension-Letter.pdf", - "Federalist-One.pdf": "/assets/documents/Federalist-One-Pager.pdf", - "Office_Hours_EC_ES_Tech_Talk.pdf": "/assets/documents/Office_Hours_EC_ES_Tech_Talk.pdf", - "Pages.pdf": "/assets/documents/Pages-Proposal.pdf", - "afwerx.pdf": "/assets/documents/afwerx-success.pdf", - "cloud-gov-benefits-of-enterprise.pdf": "/assets/documents/cloud-gov-benefits-of-enterprise-solution.pdf", - "coe.pdf": "/assets/documents/coe-success.pdf", - "doi.pdf": "/assets/documents/doi-success.pdf", - "example-diagram.pdf": "/assets/documents/example-diagram-2.pdf", - "federalist-system.pdf": "/assets/documents/federalist-system-architecture.pdf", - "how-federalist-works-for.pdf": "/assets/documents/how-federalist-works-for-presentation.pdf", - "how-pages-works.pdf": "/assets/documents/how-pages-works-diagram.pdf", - "pages-compliance.pdf": "/assets/documents/pages-compliance-memo.pdf", - "admin.js": "/assets/js/admin-OYJBR6FH.js", - "admin.map": "/assets/js/admin-OYJBR6FH.js.map", - "anchor.min.js": "/assets/js/anchor.min.js", - "app.js": "/assets/js/app-QEPMZAPG.js", - "app.map": "/assets/js/app-QEPMZAPG.js.map", - "uswds.js": "/assets/js/uswds-init.js", - "prism-atom.css": "/assets/styles/prism-atom-dark.css", - "styles.css": "/assets/styles/styles-LAEZDHNO.css", - "styles.map": "/assets/styles/styles-LAEZDHNO.css.map" -} \ No newline at end of file diff --git a/_data/collections.yaml b/_data/collections.yaml index d1aad82..dd1de55 100644 --- a/_data/collections.yaml +++ b/_data/collections.yaml @@ -2,55 +2,3 @@ # In this example, we create a simple array of options and then in the _pages/collections.md file we # Reference this data file in 'datafile' in the Front Matter and _layouts/list.html renders it # This is simple, hopefully provides you with a good enough example to make changes as needed -- name: GSA - url: https://gsa.gov - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus interdum pellentesque. Integer eu vehicula elit. Sed cursus magna in dui suscipit rhoncus. - -- name: USDA - url: http://usda.gov/ - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus interdum pellentesque. Integer eu vehicula elit. Sed cursus magna in dui suscipit rhoncus. - -- name: Performance.gov - url: http://performance.gov/ - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus interdum pellentesque. Integer eu vehicula elit. Sed cursus magna in dui suscipit rhoncus. - -- name: Login.gov - url: https://login.gov - description: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus interdum pellentesque. Integer eu vehicula elit. Sed cursus magna in dui suscipit rhoncus. - - - -- label: cloud.gov knowledge base - name: kbarticles - folder: pages/knowledge-base/articles/ - create: true - slug: "{{year}}-{{month}}-{{day}}-{{slug}}" - editor: - preview: false - fields: - - { label: 'Layout', name: 'layout', widget: 'hidden', default: 'layouts/post' } - - { label: 'Tags', name: 'tags', widget: 'hidden', default: [ 'posts' ] } - - { label: "Title", name: "title", widget: "string" } - - { label: "Author", name: "author", widget: "string" } - - { - label: "Publish Date", - name: "date", - widget: "datetime", - format: 'YYYY-MM-DD', - dateFormat: 'YYYY-MM-DD', - timeFormat: false - } - - { - label: "Image", - name: "image", - widget: "image", - allow_multiple: false, - required: false - } - - { - label: "Image Alt Text", - name: "image_alt_text", - widget: "string", - required: false - } - - { label: "Body", name: "body", widget: "markdown" }