doctype html
html
  head
    title =(content_for?(:title) ? yield(:title) : "screenshots.debian.net")
    / TODO: make title reflect the virtual host (e.g. Debian)
    meta charset="utf-8"
    / meta name="keywords" content="debian screenshots packages applications linux"
    meta name="viewport" content="width=device-width, initial-scale=1.0"
    / TODO: make the keywords reflect the virtual host (e.g. Debian)

    // Includes all stylesheet files in app/assets/stylesheets
    / = stylesheet_link_tag :app, "data-turbo-track": "reload"
    / = javascript_include_tag "application", "data-turbo-track": "reload", type: "module"

    = stylesheet_link_tag "application", media: "all"

    / = javascript_include_tag "jquery.js", "data-turbo-track": "reload", type: "module"
    / = javascript_include_tag "foundation", "data-turbo-track": "reload", type: "module"
    / = javascript_include_tag "debshots", "data-turbo-track": "reload", type: "module"

    = javascript_importmap_tags

    = csrf_meta_tags

  body
    = render 'layouts/topbar'

    #content.grid-container
      - if Rails.configuration.alert_message
        .callout.warning.alert-callout-subtle.radius =Rails.configuration.alert_message
      #messages
        = render 'layouts/messages'
      = yield

    = render 'layouts/footer'
