get-started.html.twig

Same filename and directory in other branches
  1. 9 core/themes/olivero/templates/includes/get-started.html.twig
  2. 10 core/themes/olivero/templates/includes/get-started.html.twig

Olivero's theme Get Started section.

This section is enabled when no front page content has been populated.

TODO:

  • Move this markup into Drupal's core Frontpage Views.
  • Translate/localize this page for different languages.

File

core/themes/olivero/templates/includes/get-started.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Olivero's theme Get Started section.
  5. *
  6. * This section is enabled when no front page content has been populated.
  7. *
  8. * TODO:
  9. * - Move this markup into Drupal's core Frontpage Views.
  10. * - Translate/localize this page for different languages.
  11. */
  12. #}
  13. {% set drupal_community = 'https://www.drupal.org/community' %}
  14. {% set drupal_values = 'https://www.drupal.org/about/values-and-principles' %}
  15. {% set drupal_user_guide = 'https://www.drupal.org/docs/user_guide/en/index.html' %}
  16. {% set create_content = path('node.add_page') %}
  17. {% set drupal_extend = 'https://www.drupal.org/docs/extending-drupal' %}
  18. {% set drupal_global_training_days = 'https://groups.drupal.org/global-training-days' %}
  19. {% set drupal_events = 'https://www.drupal.org/community/events' %}
  20. {% set drupal_slack = 'https://www.drupal.org/slack' %}
  21. {% set drupal_chat = 'https://www.drupal.org/drupalchat' %}
  22. {% set drupal_answers = 'https://drupal.stackexchange.com/' %}
  23. {% set drupal_support = 'https://www.drupal.org/support' %}
  24. <div class="text-content">
  25. <p>{% trans %}<em>You haven’t created any frontpage content yet.</em>{% endtrans %}</p>
  26. <h2>{% trans %}Congratulations and welcome to the Drupal community.{% endtrans %}</h2>
  27. <p>{% trans %}Drupal is an open source platform for building amazing digital experiences. It’s made, used, taught, documented, and marketed by the <a href="{{ drupal_community }}">Drupal community</a>. Our community is made up of people from around the world with a shared set of <a href="{{ drupal_values }}">values</a>, collaborating together in a respectful manner. As we like to say:{% endtrans %}</p>
  28. <blockquote>{% trans %}Come for the code, stay for the community.{% endtrans %}</blockquote>
  29. <h2>{% trans %}Get Started{% endtrans %}</h2>
  30. <p>{% trans %}There are a few ways to get started with Drupal:{% endtrans %}</p>
  31. <ol>
  32. <li>{% trans %}<a href="{{ drupal_user_guide }}">User Guide:</a> Includes installing, administering, site building, and maintaining the content of a Drupal website.{% endtrans %}</li>
  33. <li>{% trans %}<a href="{{ create_content }}">Create Content:</a> Want to get right to work? Start adding content. <strong>Note:</strong> the information on this page will go away once you add content to your site. Read on and bookmark resources of interest.{% endtrans %}</li>
  34. <li>{% trans %}<a href="{{ drupal_extend }}">Extend Drupal:</a> Drupal’s core software can be extended and customized in remarkable ways. Install additional functionality and change the look of your site using addons contributed by our community.{% endtrans %}</li>
  35. </ol>
  36. <h2>{% trans %}Next Steps{% endtrans %}</h2>
  37. <p>{% trans %}Bookmark these links to our active Drupal community groups and support resources.{% endtrans %}</p>
  38. <ul>
  39. <li>{% trans %}<a href="{{ drupal_global_training_days }}">Global Training Days:</a> Helpful information for evaluating Drupal as a framework and as a career path. Taught in your local language.{% endtrans %}</li>
  40. <li>{% trans %}<a href="{{ drupal_events }}">Upcoming Events:</a> Learn and connect with others at conferences and events held around the world.{% endtrans %}</li>
  41. <li>{% trans %}<a href="{{ drupal_community }}">Community Page:</a> List of key Drupal community groups with their own content.{% endtrans %}</li>
  42. <li>{% trans %}Get support and chat with the Drupal community on <a href="{{ drupal_slack }}">Slack</a> or <a href="{{ drupal_chat }}">DrupalChat</a>. When you’re looking for a solution to a problem, go to <a href="{{ drupal_support }}">Drupal Support</a> or <a href="{{ drupal_answers }}">Drupal Answers on Stack Exchange</a>.{% endtrans %}</li>
  43. </ul>
  44. </div>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.