From b0d7993926caf574ca84ce9e139298816739478b Mon Sep 17 00:00:00 2001 From: Daniel Hladek Date: Thu, 1 Oct 2020 14:52:17 +0200 Subject: [PATCH 01/12] mytheme workflow --- themes/mytheme/CHANGELOG.md | 5 ++ themes/mytheme/LICENSE | 21 ++++++ themes/mytheme/README.md | 7 ++ themes/mytheme/blueprints.yaml | 18 +++++ themes/mytheme/mytheme.php | 9 +++ themes/mytheme/mytheme.yaml | 8 +++ themes/mytheme/screenshot.jpg | Bin 0 -> 15428 bytes themes/mytheme/templates/README.html.twig | 79 ++++++++++++++++++++++ themes/mytheme/thumbnail.jpg | Bin 0 -> 3681 bytes 9 files changed, 147 insertions(+) create mode 100644 themes/mytheme/CHANGELOG.md create mode 100644 themes/mytheme/LICENSE create mode 100644 themes/mytheme/README.md create mode 100644 themes/mytheme/blueprints.yaml create mode 100644 themes/mytheme/mytheme.php create mode 100644 themes/mytheme/mytheme.yaml create mode 100644 themes/mytheme/screenshot.jpg create mode 100644 themes/mytheme/templates/README.html.twig create mode 100644 themes/mytheme/thumbnail.jpg diff --git a/themes/mytheme/CHANGELOG.md b/themes/mytheme/CHANGELOG.md new file mode 100644 index 0000000000..dcd12877e1 --- /dev/null +++ b/themes/mytheme/CHANGELOG.md @@ -0,0 +1,5 @@ +# v0.1.0 +## 09/30/2020 + +1. [](#new) + * ChangeLog started... diff --git a/themes/mytheme/LICENSE b/themes/mytheme/LICENSE new file mode 100644 index 0000000000..d46cd6c82f --- /dev/null +++ b/themes/mytheme/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 sadf + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/themes/mytheme/README.md b/themes/mytheme/README.md new file mode 100644 index 0000000000..81887ab63a --- /dev/null +++ b/themes/mytheme/README.md @@ -0,0 +1,7 @@ +# Mytheme Theme + +The **Mytheme** Theme is for [Grav CMS](http://github.com/getgrav/grav). This README.md file should be modified to describe the features, installation, configuration, and general usage of this theme. + +## Description + +mytheme diff --git a/themes/mytheme/blueprints.yaml b/themes/mytheme/blueprints.yaml new file mode 100644 index 0000000000..8d5400cd99 --- /dev/null +++ b/themes/mytheme/blueprints.yaml @@ -0,0 +1,18 @@ +name: Mytheme +slug: mytheme +type: theme +version: 0.1.0 +description: mytheme +icon: rebel +author: + name: sadf + email: dhladek@mgial.com +homepage: https://github.com/asdf/grav-theme-mytheme +demo: http://demo.yoursite.com +keywords: grav, theme, etc +bugs: https://github.com/asdf/grav-theme-mytheme/issues +readme: https://github.com/asdf/grav-theme-mytheme/blob/develop/README.md +license: MIT + +dependencies: + - { name: grav, version: '>=1.6.0' } diff --git a/themes/mytheme/mytheme.php b/themes/mytheme/mytheme.php new file mode 100644 index 0000000000..62940a0f30 --- /dev/null +++ b/themes/mytheme/mytheme.php @@ -0,0 +1,9 @@ +$J1-@qBmf8m0!V@%;MWY`58z;6 zU}2!+U}0h1!NtKNdPG7*KtRMu`GD*ZI};}-8`D!(ZXrc+Zhjd7)~6EsFJzQewY0Rj zp1(3TR5w%9&{Bio-nm1BPee~bLa)aAlvnNlTYj|zcxZ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+BE{@8BzJ23J+I~K``Bi%F=Y_|9Dlj= zbUDMU0hGhFQ(2C;1sq*lrG~umz9+IAByz*7j;S5d98j%crak6sw2V-+tOvRN@(Owe za3%tI1XALTDmB!(pzu@oxmRyK2yl!r3ocd<;w74jRZ+oa`PEiuSFQ<$a23sKd1q5z zXBk%S51vY|y-sjuFBs{IBD2(u&mE?QMm~K?Hod%AiDBvH;8GN5fAZF~cbk6_Z=7GaWYPLD5X|8RC9+Nwxz{ zVWMy73fQPVGBsm=3uxP`+$A2iP5A{>d-F+#eplmuHci`GlVzYt+gBSbqBX--h5gWqmksDTEOS+ zH1Wz{wk(!({ZCcObStHZCR>JFNXE5F*Ai`Cj@c40AAOr>AF|bbq(-oAL%eS~6-O39 z8eWYZu_WE3t6gtJ8-^e+$Q|P3$2H694bzTh zx-2wimfmeDNkHVMks4p`vlY{e$Ct*Qhc;ynaYKjJY5mFsF3nRKad#uQiz;u6H|A<< z>##)%vZMLt93mWNMZ$R1bQRxsdwWR!;HAbNelBuu!^r7t z7qnx<>+QT$!GYl*bb7J#t>>EKlMGEC2X@}ny(U{)O+j~IofX48QD#R8q3^>B<@(-! zuYVB#cq{h{K$~kZ9BFBPW;1#E3pjl1Mf~GE;`e((n`Ldm;~xP2f0|Kb7u3-{Jz>i+-@uaLC> literal 0 HcmV?d00001 diff --git a/themes/mytheme/templates/README.html.twig b/themes/mytheme/templates/README.html.twig new file mode 100644 index 0000000000..61491b2846 --- /dev/null +++ b/themes/mytheme/templates/README.html.twig @@ -0,0 +1,79 @@ +{% extends 'partials/base.html.twig' %} + +{% block content %} +
+
+

+ {% if page.header.media == 'video' %} + + {% else %} + + {% endif %} + {{ page.title|e }} +

+ {% if (grav.theme.config.params.articles.show.date) or (grav.theme.config.params.articles.show.authors) or (grav.theme.config.params.articles.show.topics) or (grav.theme.config.params.articles.show.time) %} +
+ {% if grav.theme.config.params.articles.show.date %} + {{ page.date|date("F j, Y") }} + {% endif %} + {% if grav.theme.config.params.articles.show.authors %} + {% set authorlist = [] %} + {% for author in page.taxonomy['author'] %} + {# Check to see if a dedicated author page exists #} + {% set slug = author|hyphenize|url_encode %} + {% set p = page.find('/authors/'~slug) %} + {% if p == null %} + {% set authorlist = authorlist|merge([''~author~'']) %} + {% else %} + {% set authorlist = authorlist|merge([''~author~'']) %} + {% endif %} + {% endfor %} + {{ authorlist|join(', ') }} + {% endif %} + {% if grav.theme.config.params.articles.show.topics %} + {% set catlist = [] %} + {% for cat in page.taxonomy.category %} + {% set catlist = catlist|merge([''~cat~'']) %} + {% endfor %} + {{ catlist|join(', ') }} + {% endif %} + {% if grav.theme.config.params.articles.show.time %} + {{ page.content|readingtime }} + {% endif %} +
+ {% endif %} +
+
+ {{ page.content }} + {% if not page.header.hide_mediasummary %} +

+ {% for image in page.media.images %} + {{ image.cropResize(700, 400).html("title", "alt", "itemscreenshot") }} + {% endfor %} + {% endif %} + +
+
+ {% if page.taxonomy.tag|length > 0 %} + {% set taglist = [] %} + {% for tag in page.taxonomy.tag %} + {% set taglist = taglist|merge([''~tag~'']) %} + {% endfor %} +
+ {{ taglist|join(', ') }} +
+ {% endif %} + {% if config.plugins.relatedpages.enabled and related_pages|length > 0 %} + + {% endif %} +
+ {% if config.plugins.comments.enabled %} +
+

{{ 'COMMENTS'|t }}

+
+ {% endif %} +
+{% endblock %} diff --git a/themes/mytheme/thumbnail.jpg b/themes/mytheme/thumbnail.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e82d66ec04b9b119061d56e26a46a2e50d0688bf GIT binary patch literal 3681 zcmZWpc{J1y_x_B11~ZH;WJ?$m%3AiN%vfqLvV;_xZ1YDr_`md&!GCK1 z<>(8qHrW3=CJt)*JFf!(b4y>bb>*hD%@1C`#{d(uCYWoYG~{l5vtWJTHULES`a4&A zS{h7xvA>EP|8e_3#Et^+zPd88XteMt0iF*Xknb1l;ahnv@nY~0U~ZS28`q5sg>~(G zJDHMTzm3U@G_P^L2{Iy2s#(T&?S}g|usB~D@&wqShTlmJhBvyN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(qxj$?|dyWm*J}EArj(=%3Z;cNsRmJ zOnqw)x$1HAvSIR+uI?<9cCu+q@iTUOJ1!ID_3(E}PWpUNf4#~pqfOr)JhCV+uU+> z0e)eYg>`DO1;hv458@9C>|EA%iD1doPFVmK#j>H7)D~yJX{7Wq%#C!=Cx_Jb%l{zO zA24NV7OmV_z&hdiJx_a0gL)%q>_IziI?ktH1iL&K;1*)+-8-gzf5-3r&u2Iq-i7^p@;)to=W(TnE-ZtrK#P=NoP1rrwgr7j_Qk8B{M^HD_5 z7r~*3cls7f>$~vC7A>To6=PD5CQ(<`GyJW;t2c_aTZ&40T%9Q>9eCk;=SP#U1og|> zD;oE!7pf4UVM1JVr((06(wKxC_xj^saBsdvu^q=%l@vv1!X{H-j|&I$ZB8N82)9o! zOFLlJ{YtG!{ba#x;U4P#c>{Xx&f>0)u0is(kEX^dZVQEIo21x;&0%qVFVTZOPE8%-}*H4&Bq zt%duY^i$13V38GB5qJ7y6>{O08r4+smYIhnS~72N#R>m3ZwIrG-3^Z|*+&6!TT?#_ zrE8F39EG1HI}}^dn!R>6_ZF@+4ZXic^@k9qC)Pgx&AMLGAt@sz4}d7JXLvAP=8Opz z^VYZxi{O8`)@(gDwQ8msQeg|tE1E~+CEm3L%@=cXJDseJB-`Xv?$?#c<#`?|dsmFl5yTlCoX#8IoF}gbd literal 0 HcmV?d00001 From 792bd1212ea9d7f3339de23b066a647440c33169 Mon Sep 17 00:00:00 2001 From: Daniel Hladek Date: Thu, 1 Oct 2020 14:54:08 +0200 Subject: [PATCH 02/12] deleted --- pages/01.home/default.md | 42 --------- pages/02.typography/default.md | 155 --------------------------------- pages/home/README.md | 36 -------- 3 files changed, 233 deletions(-) delete mode 100644 pages/01.home/default.md delete mode 100644 pages/02.typography/default.md delete mode 100644 pages/home/README.md diff --git a/pages/01.home/default.md b/pages/01.home/default.md deleted file mode 100644 index 13b237671a..0000000000 --- a/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/pages/02.typography/default.md b/pages/02.typography/default.md deleted file mode 100644 index d3aa848509..0000000000 --- a/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 `` - - `