diff --git a/core/profiles/demo_umami/LICENSE b/core/profiles/demo_umami/LICENSE new file mode 100644 index 0000000000..23cb790338 --- /dev/null +++ b/core/profiles/demo_umami/LICENSE @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {description} + Copyright (C) {year} {fullname} + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + {signature of Ty Coon}, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/core/profiles/demo_umami/css/toolbar-warning.css b/core/profiles/demo_umami/css/toolbar-warning.css new file mode 100644 index 0000000000..163d3c6d70 --- /dev/null +++ b/core/profiles/demo_umami/css/toolbar-warning.css @@ -0,0 +1,32 @@ +/** + * @file + * Styling for toolbar warning message. + */ + +.toolbar-warning { + margin: 0.5em 0; + padding: 0.5em 2em 0.5em 2.3333em; + background: url(../../../../core/misc/icons/e29700/warning.svg) no-repeat center center transparent; + background-size: auto 20px; + text-indent: -1000px; + overflow: hidden; +} + +.toolbar-warning:hover { + color: #000; +} + +@media only screen and (min-width: 40em) { + .toolbar-warning { + padding-right: 1em; + border-radius: 4px; + border-color: #f4daa6; + background-color: #fdf8ed; + background-position: 0.5em center; + background-size: auto 18px; + text-indent: 0; + text-decoration: none; + font-weight: bold; + color: #000; + } +} diff --git a/core/profiles/demo_umami/demo_umami.info.yml b/core/profiles/demo_umami/demo_umami.info.yml new file mode 100644 index 0000000000..7459aa96ad --- /dev/null +++ b/core/profiles/demo_umami/demo_umami.info.yml @@ -0,0 +1,43 @@ +name: Umami Demo - Experimental +type: profile +description: 'Install with the Umami food magazine demonstration website, a sample Drupal website that shows off some of the features of what is possible with Drupal "Out of the Box".
' +version: VERSION +core: 8.x +dependencies: + - node + - history + - block + - breakpoint + - ckeditor + - color + - config + - contextual + - contact + - menu_link_content + - datetime + - block_content + - quickedit + - editor + - help + - image + - menu_ui + - options + - path + - page_cache + - dynamic_page_cache + - taxonomy + - dblog + - search + - shortcut + - toolbar + - field_ui + - file + - rdf + - views + - views_ui + - tour + - automated_cron + - responsive_image +themes: + - seven + - umami diff --git a/core/profiles/demo_umami/demo_umami.install b/core/profiles/demo_umami/demo_umami.install new file mode 100644 index 0000000000..b3c1bfe119 --- /dev/null +++ b/core/profiles/demo_umami/demo_umami.install @@ -0,0 +1,106 @@ +get('demo_umami_drupal_version'); + + $requirements['experimental_profile_used'] = [ + 'title' => t('Experimental profile used'), + 'value' => \Drupal::VERSION, + 'description' => t('Demo Umami is an experimental profile to be used for demonstration purposes only, and should not be used for a production/live site. To start building a new site, you should re-install Drupal and choose another profile, for example "Standard".'), + 'severity' => REQUIREMENT_WARNING, + ]; + + // Check if Drupal version has changed since demo_umami was installed. + if ($demo_umami_installed_drupal != \Drupal::VERSION) { + $requirements['demo_umami_drupal_version'] = [ + 'title' => t('Demo Umami Drupal Version'), + 'value' => \Drupal::VERSION, + 'description' => t('Drupal has been updated since this demo was installed, which could cause issues with this site. It is recommended that you re-install the demo to evaluate the latest changes.'), + 'severity' => REQUIREMENT_ERROR, + ]; + } + } + return $requirements; +} + +/** + * Implements hook_install(). + * + * Perform actions to set up the site for this profile. + * + * @see system_install() + */ +function demo_umami_install() { + // Set front page to "node". + \Drupal::configFactory()->getEditable('system.site')->set('page.front', '/node')->save(TRUE); + + // Allow visitor account creation with administrative approval. + $user_settings = \Drupal::configFactory()->getEditable('user.settings'); + $user_settings->set('register', USER_REGISTER_ADMINISTRATORS_ONLY)->save(TRUE); + + // Assign user 1 the "administrator" role. + $user = User::load(1); + $user->roles[] = 'administrator'; + $user->save(); + + // We install some menu links, so we have to rebuild the router, to ensure the + // menu links are valid. + \Drupal::service('router.builder')->rebuildIfNeeded(); + + // Enable the Contact link in the footer menu. + /** @var \Drupal\Core\Menu\MenuLinkManagerInterface $menu_link_manager */ + $menu_link_manager = \Drupal::service('plugin.manager.menu.link'); + $menu_link_manager->updateDefinition('contact.site_page', ['enabled' => TRUE]); + + user_role_grant_permissions(RoleInterface::ANONYMOUS_ID, ['access site-wide contact form']); + user_role_grant_permissions(RoleInterface::AUTHENTICATED_ID, ['access site-wide contact form']); + + // Allow authenticated users to use shortcuts. + user_role_grant_permissions(RoleInterface::AUTHENTICATED_ID, ['access shortcuts']); + + // Populate the default shortcut set. + $shortcut = Shortcut::create([ + 'shortcut_set' => 'default', + 'title' => t('Add content'), + 'weight' => -20, + 'link' => ['uri' => 'internal:/node/add'], + ]); + $shortcut->save(); + + $shortcut = Shortcut::create([ + 'shortcut_set' => 'default', + 'title' => t('All content'), + 'weight' => -19, + 'link' => ['uri' => 'internal:/admin/content'], + ]); + $shortcut->save(); + + // Allow all users to use search. + user_role_grant_permissions(RoleInterface::ANONYMOUS_ID, ['search content']); + user_role_grant_permissions(RoleInterface::AUTHENTICATED_ID, ['search content']); + + // Enable the admin theme. + \Drupal::configFactory()->getEditable('node.settings')->set('use_admin_theme', TRUE)->save(TRUE); + + // Enable the demo content module. This can't be specified as a dependency + // in the demo_umami.info.yml file, as it requires configuration provided by + // the profile (fields etc.). + \Drupal::service('module_installer')->install(['demo_umami_content'], TRUE); + + // Store the version of Drupal installed. + \Drupal::state()->set('demo_umami_drupal_version', \Drupal::VERSION); +} diff --git a/core/profiles/demo_umami/demo_umami.libraries.yml b/core/profiles/demo_umami/demo_umami.libraries.yml new file mode 100644 index 0000000000..14ead3f5b0 --- /dev/null +++ b/core/profiles/demo_umami/demo_umami.libraries.yml @@ -0,0 +1,4 @@ +toolbar-warning: + css: + component: + css/toolbar-warning.css: {} diff --git a/core/profiles/demo_umami/demo_umami.links.menu.yml b/core/profiles/demo_umami/demo_umami.links.menu.yml new file mode 100644 index 0000000000..2278b2163b --- /dev/null +++ b/core/profiles/demo_umami/demo_umami.links.menu.yml @@ -0,0 +1,4 @@ +standard.front_page: + title: 'Home' + route_name: '' + menu_name: main diff --git a/core/profiles/demo_umami/demo_umami.profile b/core/profiles/demo_umami/demo_umami.profile new file mode 100644 index 0000000000..7da27f9e5a --- /dev/null +++ b/core/profiles/demo_umami/demo_umami.profile @@ -0,0 +1,51 @@ +getValue('site_mail'); + ContactForm::load('feedback')->setRecipients([$site_mail])->trustData()->save(); +} + +/** + * Implements hook_toolbar(). + */ +function demo_umami_toolbar() { + // Add a warning about using an experimental profile. + // @todo: This can be removed once a generic warning for experimental profiles has been introduced. + // @see https://www.drupal.org/project/drupal/issues/2934374 + $items['experimental-profile-warning'] = array( + '#type' => 'toolbar_item', + 'tab' => array( + '#type' => 'inline_template', + '#template' => 'This installation is for demonstration purposes only.', + '#context' => [ + 'more_info_link' => 'https://www.drupal.org/project/drupal/issues/2829101', + ], + '#attached' => [ + 'library' => ['demo_umami/toolbar-warning'], + ], + ), + '#weight' => 999, + ); + return $items; +} diff --git a/core/profiles/demo_umami/demo_umami_content/default_content/LICENCE.txt b/core/profiles/demo_umami/demo_umami_content/default_content/LICENCE.txt new file mode 100644 index 0000000000..ba9479a9d9 --- /dev/null +++ b/core/profiles/demo_umami/demo_umami_content/default_content/LICENCE.txt @@ -0,0 +1,23 @@ +Creative Commons Attribution-ShareAlike 4.0 International License +================================================================================ + +The following image files: + +chocolate-brownie-umami.jpg by Keith Jay +heritage-carrots.jpg by Keith Jay +home-grown-herbs.jpg by Keith Jay +mediterranean-quiche-umami.jpg by Keith Jay +mushrooms-umami.jpg by Keith Jay +pineapple-placeholder-10.jpg by Keith Jay +pizza-umami.jpg by Keith Jay +supermarket-savvy-umami.jpg by Keith Jay +thai-green-curry-umami.jpg by Keith Jay +veggie-pasta-bake-hero-umami.jpg by Keith Jay +veggie-pasta-bake-umami.jpg by Keith Jay +victoria-sponge-umami.jpg by Keith Jay +watercress-soup-umami.jpg by Keith Jay + +are all licensed under a http://creativecommons.org/licenses/by-sa/4.0/ Creative +Commons Attribution-ShareAlike 4.0 International License. + +================================================================================ diff --git a/core/profiles/demo_umami/demo_umami_content/default_content/articles.csv b/core/profiles/demo_umami/demo_umami_content/default_content/articles.csv new file mode 100644 index 0000000000..7b24c5f10f --- /dev/null +++ b/core/profiles/demo_umami/demo_umami_content/default_content/articles.csv @@ -0,0 +1,91 @@ +title,body,author,slug,image,alt,tags +Give it a go and grow your own herbs,"There’s nothing like having your own supply of fresh herbs, readily available and close at hand to use whilst cooking. Whether you have a large allotment or a small kitchen window sill, there’s always enough room for something home grown. + +

Outdoors

+ +

Mint

+ +Mint is a great plant to grow as its hardy and can grow in almost any soil. Mint can go totally wild though, so keep it contained in a pot or it might spread and take over your whole garden or allotment. + +

Sage

+ +Like mint, sage is another prolific growing plant and will take over your garden if you let it. Highly aromatic, the sage plant can be planted in a pot or flower bed in well drained soil. The best way to store the herb is to sun dry the leaves and store in a cool, dark cupboard in a sealed container. + +

Rosemary

+ +Rosemary plants grow into lovely shrubs. Easily grown from cuttings, rosemary plants do not like freezing temperatures so keep pots or planted bushes near the home to shelter them from the cold. It grows well in pots as it likes dry soil, but can survive well in the ground too. If pruning rosemary to encourage it into a better shape, save the branches and hang them upside down to preserve the flavour and use in food.  + +

Indoors

+ +

Basil

+ +Perfect in sunny spot on a kitchen window sill. Basil is an annual plant, so will die off in the autumn, so it’s a good idea to harvest it in the summer if you have an abundance and dry it. Picked basil stays fresh longer if it is placed in water (like fresh flowers). A great way to store basil is to make it into pesto! + +

Chives

+ +A versatile herb, chives can grow well indoors. Ensure the plant is watered well, and gets plenty of light. Remember to regularly trim the chives. This prevents the flowers from developing and encourages new growth. + +

Coriander (Cilantro)

+ +Coriander can grow indoors, but unlike the other herbs, it doesn't like full sun in the middle of the day. If you have a south facing kitchen window, this isn't the place for it. Although not as thirsty as basil, coriander doesn't like dry soil so don’t forget to water it! Cut coriander is best stored in the fridge.",Holly Foat,articles/give-it-a-go-and-grow-your-own-herbs,home-grown-herbs.jpg,"Fresh cut herbs including mint, parsley, thyme and dill","Grow your own,Seasonal,Herbs" +The real deal for supermarket savvy shopping,"This may not surprise you - but your supermarket is a hot bed of marketing mayhem, designed to improve their profit and to encourage the consumer to spend more than they intended. The tricks that all supermarkets employ are sometimes sensible ploys that any retailer should do to improve sales - but some may be more subtle and less obvious than you might think. + +With consumer awareness articles and documentaries frequently picking up on this topic, it’s likely the case that retailers find it harder to get away with the more obvious ploys. We are becoming ever more savvy consumers and there’s probably not a great deal that gets past us. But here’s a few retail tricks to keep in mind when you are rushing around the weekly supermarket stock-up. + +

Lost essentials

+ +The layout of your supermarket may make sense to you when you have shopped there for a while, but for newcomers, trying to find essentials, it may make very little sense at all. Some supermarkets have noted that people come to their store to buy milk, bread or eggs and that by hiding these essentials in the far reaches of the store, they encourage the newcomer to wander the aisles - picking up other items as they go. + +Sure, this can be great for nudging the memory on essentials you might otherwise forget, but for saving the pennies it’s tough to stick to grabbing only the things you came for and the supermarkets know it! + +
+Our tip: Make your shopping list before leaving the house, checking what you need and sticking to that list. You could be amazed by what you’ll save over time. +
+ +

Nonsensical multibuys

+ +Buy one, get one free; two for £2 and meal deals. They all seem like a great deal. But in some cases these are loss leaders that are positioned to encourage you to take up the deal and buy other stuff while you are there. In other cases, deals for multi-buy or discounts on specific pack sizes might seem like a bargain, until you compare the pricing like-for-like on similar brands or with pack sizes for the same brand. These deals can mean you end up paying less but is it less for something you don’t really need and in some cases you can end up paying more for the item. Remember, the supermarkets know you are often in a hurry and might not have the time to take in the full picture. + +
+Our tip: Don’t be rushed, take the time to read the small print. The large print will draw you in but if you read the label small print, you should find the price per 100 grams or per litre and you’ll be surprised how often the headline deals are actually more expensive than just buying a different package type or size of the product. +
+ +

Understanding our shopping habits

+ +The cheapest products in a supermarket are almost always positioned on the bottom of the shelving where you’ll need to bend over to pick it up. You also may not be able to easily read the price ticket. Most people will shop on the middle rows because it is easier and often quicker. These are where the highest profit items are kept and they are the ones the supermarkets want you to buy. + +The layout, the music, the colours and the product types are all decided based on principles laid down by industry experts on people - psychologists and behavioural experts who know how we think. And so the savvy shopper will certainly be able to take advantage of great deals in their weekly shop, but it takes a little time and effort just to be more aware of what we are being encouraged to reach for in the aisles.",Megan Collins Quinlan,articles/the-real-deal-for-supermarket-savvy-shopping,supermarket-savvy-umami.jpg,Products presented on supermarket shelving.,"Supermarkets,Shopping" +The umami guide to our favourite mushrooms,"We think mushrooms are one of the most enjoyable ingredients to cook with. There are plenty of edible varieties to try, each with their own distinctive shape, size and taste. And with curious names such as chanterelle, the gypsy, horn of plenty or hen of the woods, who wouldn't want to know more about cooking with the mighty mushroom? + +One of the best things about mushrooms is their versatility. They can be fried, roasted, grilled, steamed or even cooked in the microwave, and they can be served as the main ingredient for a dish, or simply added as part of the mix. This makes mushrooms an ideal choice for creating absolutely delicious vegetarian dishes. + +So let's take a look at some of our favourite types of mushroom. You might not have tried cooking with them before but don't let that put you off. With their delicious, distinctive flavours you can easily transform soups, starters, sauces and create amazing pasta or stir-fry dishes. + +Try the lovely shiitake. Used in Asian cooking, these can be purchased dried and rehydrated for a strong, deep flavour. Or buy fresh and add to soups and stir-fries. Not only does this mushroom have an intense flavour, it looks lovely too. The deep brown and smooth shapes will provide texture to your meal. In their dried form and rehydrated, these are the perfect addition for a deep and flavourful stock for a risotto. + +The gorgeous sunny chanterelle with its yellow flesh has a fruity flavour - but it is worth mentioning that there are many lookalikes out there and care should be taken to ensure you're eating the right ones. These look great in an omelette or an asian soup to complement the yellow tones. + +The brown morel offers a meaty and distinctive flavour and you'll probably love how extraordinary they look in a meal. The morel is a more popular mushroom during the spring, when their availability is high. + +For delicacy try the enoki with its tiny white heads that grow in a bunch. These can even be eaten raw in salads. Finally, you can choose the popular oyster mushroom. They are named thus because they look nothing like a mushroom and resemble the innards of an oyster and their sweet flavour is delicious.",Umami,articles/the-umami-guide-to-our-favourite-mushrooms,mushrooms-umami.jpg,A delightful selection of mushroom varieties laid out on a simple wooden plate.,"Mushrooms,Vegetarian" +Let's hear it for carrots,"Let's hear it for the humble carrot! This sweet and healthy ‘everyday’ veg packs it all in. Great flavour, fantastic colour, and if you're one for believing the old story, they can even help you to see better in the dark. + +Who doesn't love cooking with this super versatile root veg? We roast them, boil them, blend them into soups and grate them into salads. The humble carrot has to be one of our favourite veg choices and it's been grown for thousands of years. But back then you were more likely to find a purple, red, yellow or white carrot and not the orange one we are all so familiar with today. + +

So what happened? When did orange become the preferred colour?

+ +It was the Dutch during the 17th century who cultivated and made popular the orange variety, most likely because of its brilliant colour and higher levels of beta carotene. And it has also been suggested that they were cultivated in tribute to William of Orange, who led the struggle during the Dutch battle for independence. + +For whatever reason, the orange variety has stuck but look out for the ‘heritage’ varieties at farmers markets and grocers, their mix of purple, yellow, orange and white are especially appealing to cook with and look absolutely great served as a side dish. + +

Nutrition

+ +Carrots are rich in beta carotene which your body converts into vitamin A. It's often tricky to know whether cooking vegetables will enhance or reduce their nutritious value and unfortunately there's no simple rule. But in the case of carrots, nutrition is enhanced by consuming them cooked. In fact, it only takes 100 grams of carrots to get more than your daily value of vitamin A. + +

Get them at their best

+ +Young carrots, harvested when they are small have an especially sweet flavour and they are absolutely delicious. To cook them you can skip the peeling, give them a good wash and pop them in the steamer for just a few minutes. Carrots will taste the best when they are fresh, so make sure they are firm and bright in colour when buying. + +

And that thing about carrots helping you see more in the dark?

+ +Of course it's a myth. During World War II the U.K. Ministry of Food promoted carrots as a super healthy veg that would improve your ability to see during the blackouts and as an explanation for the succesfull night missions of UK fighter pilots. In reality, the only truth in the connection between carrots and improved eye sight is that vitamin A does indeed help to maintain vision.",Umami,articles/lets-hear-it-for-carrots,heritage-carrots.jpg,"Purple, orange, yellow and white heritage carrots.","Carrots,Vegetarian,Healthy" \ No newline at end of file diff --git a/core/profiles/demo_umami/demo_umami_content/default_content/images/chocolate-brownie-umami.jpg b/core/profiles/demo_umami/demo_umami_content/default_content/images/chocolate-brownie-umami.jpg new file mode 100644 index 0000000000..94fc918296 --- /dev/null +++ b/core/profiles/demo_umami/demo_umami_content/default_content/images/chocolate-brownie-umami.jpg @@ -0,0 +1,744 @@ +JFIFHHtExifMM*  (12Їi%NIKON CORPORATIONNIKON D3200HHPixelmator 3.72018:01:10 13:01:52""'0 +’  +ʒ,Ғ808080K  + <2018:01:10 09:19:082018:01:10 09:19:082ASCII N<WT3'dd http://ns.adobe.com/xap/1.0/ Brownie image by Keith Jay for Umami Photoshop 3.08BIMhZ%G>20180110?091908$Brownie image by Keith Jay for Umami720180110<0919088BIM%ܧq糯Y6" + }!1AQa"q2#BR$3br +%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz + w!1AQaq"2B #3Rbr +$4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzC + + + + + + + + + C ` ?H0r߅[H#j1*T?Ѷ֑pr*DHS$\sՔɳXy8aa2ŞEe#[2GNĀdƭ:5ibqȬ-y# +jq)8RYDAT1o`J#'M&ƙQS֤.Vsӭ(J&TـN1J\=3C!CEcZ]ՠ(U1)=TLmBAIsW/R$8CA;VۯLufFrGZ_$u/4?ZB#ۚ<)|x4\3 ғ=E9CNC<)V h@3ӹCsKzh(9O:U/8'.AE>!SVHۦ8ʞ^qON;V$50sUeͭ+TGj֧t5nC(Nrx! ^Xs t%Ȣ;Z"=lVw +_+(ܭ^: VaڢLw(8RqӁW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