Skip to content

Commit

Permalink
Switch to markdown-notices styling rather than older >>> block quot…
Browse files Browse the repository at this point in the history
…e overrides
  • Loading branch information
rhukster committed May 23, 2016
1 parent d18aa3e commit 2ce137e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ git:
url: https://github.com/getgrav/grav-plugin-error
path: user/plugins/error
branch: master
markdown-notices:
url: https://github.com/getgrav/grav-plugin-markdown-notices
path: user/plugins/markdown-notices
branch: master
antimatter:
url: https://github.com/getgrav/grav-theme-antimatter
path: user/themes/antimatter
Expand All @@ -20,6 +24,10 @@ links:
src: grav-plugin-error
path: user/plugins/error
scm: github
markdown-notices:
src: grav-plugin-markdown-notices
path: user/plugins/markdown-notices
scm: github
antimatter:
src: grav-theme-antimatter
path: user/themes/antimatter
Expand Down
4 changes: 2 additions & 2 deletions user/pages/01.home/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Home

Congratulations! You have installed the **Base Grav Package** that provides a **simple page** and the default **antimatter** theme to get you started.

>>>>> If you want a more **full-featured** base install, you should check out [**Skeleton** packages available in the downloads](http://getgrav.org/downloads).
!!! If you want a more **full-featured** base install, you should check out [**Skeleton** packages available in the downloads](http://getgrav.org/downloads).

### Find out all about Grav

Expand Down Expand Up @@ -36,4 +36,4 @@ Creating a new page is a simple affair in **Grav**. Simply follow these simple
3. Save this file in the `user/pages/02.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 "Home" 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.
! NOTE: The page will automatically show up in the Menu after the "Home" 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.

1 comment on commit 2ce137e

@hughbris
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just saying, but to my mind this is an overkill requirement for a couple of blocks on a sample homepage. Or do you have further plans to use these notices?

Supplementary ignorant question: is there a way to make a plugin a dependency of a theme? If so, seems that would be a more logical grouping (i.e. make markdown-notices a dependency of antimatter).

Please sign in to comment.