From 51dbed282d6ff0f97d82b461e99bcbddee19932a Mon Sep 17 00:00:00 2001 From: Nicholas Krebs Date: Wed, 20 Mar 2024 10:32:01 +0100 Subject: [PATCH] remove user/ dir --- user/accounts/.gitkeep | 1 - user/config/site.yaml | 7 -- user/config/system.yaml | 45 -------- user/data/.gitkeep | 1 - user/pages/01.home/default.md | 42 -------- user/pages/02.typography/default.md | 155 ---------------------------- user/plugins/.gitkeep | 1 - user/themes/.gitkeep | 1 - 8 files changed, 253 deletions(-) delete mode 100644 user/accounts/.gitkeep delete mode 100644 user/config/site.yaml delete mode 100644 user/config/system.yaml delete mode 100644 user/data/.gitkeep delete mode 100644 user/pages/01.home/default.md delete mode 100644 user/pages/02.typography/default.md delete mode 100644 user/plugins/.gitkeep delete mode 100644 user/themes/.gitkeep diff --git a/user/accounts/.gitkeep b/user/accounts/.gitkeep deleted file mode 100644 index 8c3b42302..000000000 --- a/user/accounts/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -/* @copyright Copyright (c) 2015 - 2023 Trilby Media, LLC. All rights reserved. */ diff --git a/user/config/site.yaml b/user/config/site.yaml deleted file mode 100644 index 4be78edc9..000000000 --- a/user/config/site.yaml +++ /dev/null @@ -1,7 +0,0 @@ -title: Grav -author: - name: Joe Bloggs - email: 'joe@example.com' -metadata: - description: 'Grav is an easy to use, yet powerful, open source flat-file CMS' - diff --git a/user/config/system.yaml b/user/config/system.yaml deleted file mode 100644 index 2e992778d..000000000 --- a/user/config/system.yaml +++ /dev/null @@ -1,45 +0,0 @@ -absolute_urls: false - -home: - alias: '/home' - -pages: - theme: quark - markdown: - extra: false - process: - markdown: true - twig: false - -cache: - enabled: true - check: - method: file - driver: auto - prefix: 'g' - -twig: - cache: true - debug: true - auto_reload: true - autoescape: true - -assets: - css_pipeline: false - css_minify: true - css_rewrite: true - js_pipeline: false - js_module_pipeline: false - js_minify: true - -errors: - display: true - log: true - -debugger: - enabled: false - twig: true - shutdown: - close_connection: true -gpm: - verify_peer: true diff --git a/user/data/.gitkeep b/user/data/.gitkeep deleted file mode 100644 index 8c3b42302..000000000 --- a/user/data/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -/* @copyright Copyright (c) 2015 - 2023 Trilby Media, LLC. All rights reserved. */ diff --git a/user/pages/01.home/default.md b/user/pages/01.home/default.md deleted file mode 100644 index 13b237671..000000000 --- a/user/pages/01.home/default.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: Home -body_classes: title-center title-h1h2 ---- - -# Say Hello to Grav! -## installation successful... - -Congratulations! You have installed the **Base Grav Package** that provides a **simple page** and the default **Quark** theme to get you started. - -!! If you see a **404 Error** when you click `Typography` in the menu, please refer to the [troubleshooting guide](http://learn.getgrav.org/troubleshooting/page-not-found). - -### Find out all about Grav - -* Learn about **Grav** by checking out our dedicated [Learn Grav](http://learn.getgrav.org) site. -* Download **plugins**, **themes**, as well as other Grav **skeleton** packages from the [Grav Downloads](http://getgrav.org/downloads) page. -* Check out our [Grav Development Blog](http://getgrav.org/blog) to find out the latest goings on in the Grav-verse. - -!!! If you want a more **full-featured** base install, you should check out [**Skeleton** packages available in the downloads](http://getgrav.org/downloads). - -### Edit this Page - -To edit this page, simply navigate to the folder you installed **Grav** into, and then browse to the `user/pages/01.home` folder and open the `default.md` file in your [editor of choice](http://learn.getgrav.org/basics/requirements). You will see the content of this page in [Markdown format](http://learn.getgrav.org/content/markdown). - -### Create a New Page - -Creating a new page is a simple affair in **Grav**. Simply follow these simple steps: - -1. Navigate to your pages folder: `user/pages/` and create a new folder. In this example, we will use [explicit default ordering](http://learn.getgrav.org/content/content-pages) and call the folder `03.mypage`. -2. Launch your text editor and paste in the following sample code: - - --- - title: My New Page - --- - # My New Page! - - This is the body of **my new page** and I can easily use _Markdown_ syntax here. - -3. Save this file in the `user/pages/03.mypage/` folder as `default.md`. This will tell **Grav** to render the page using the **default** template. -4. That is it! Reload your browser to see your new page in the menu. - -! NOTE: The page will automatically show up in the Menu after the "Typography" menu item. If you wish to change the name that shows up in the Menu, simple add: `menu: My Page` between the dashes in the page content. This is called the YAML front matter, and it is where you configure page-specific options. diff --git a/user/pages/02.typography/default.md b/user/pages/02.typography/default.md deleted file mode 100644 index d3aa84850..000000000 --- a/user/pages/02.typography/default.md +++ /dev/null @@ -1,155 +0,0 @@ ---- -title: Typography ---- - -! Details on the full capabilities of Spectre.css can be found in the [Official Spectre Documentation](https://picturepan2.github.io/spectre/elements.html) - -The [Quark theme](https://github.com/getgrav/grav-theme-quark) is the new default theme for Grav built with [Spectre.css](https://picturepan2.github.io/spectre/) the lightweight, responsive and modern CSS framework. Spectre provides basic styles for typography, elements, and a responsive layout system that utilizes best practices and consistent language design. - -### Headings - -# H1 Heading `40px` - -## H2 Heading `32px` - -### H3 Heading `28px` - -#### H4 Heading `24px` - -##### H5 Heading `20px` - -###### H6 Heading `16px` - -```html -# H1 Heading -# H1 Heading `40px`` - -H1 Heading -``` - -### Paragraphs - -Lorem ipsum dolor sit amet, consectetur [adipiscing elit. Praesent risus leo, dictum in vehicula sit amet](#), feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat. - -Climb leg rub face on everything give attitude nap all day for under the bed. Chase mice attack feet but rub face on everything hopped up on goofballs. - -### Markdown Semantic Text Elements - -**Bold** `**Bold**` - -_Italic_ `_Italic_` - -~~Deleted~~ `~~Deleted~~` - -`Inline Code` `` `Inline Code` `` - -### HTML Semantic Text Elements - -I18N `` - -Citation `` - -Ctrl + S `` - -TextSuperscripted `` - -TextSubscripted `` - -Underlined `` - -Highlighted `` - - `