Sha256: 0581e444378b00397dd13fbb23ebb9a1c25df9faf2e5e0bd24bd602612f6de85

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 KB

Contents

!!!
%html{ lang: I18n.locale }
  %head
    %title
      - if content_for?(:title)
        = "#{yield(:title)} - <%= app_name.capitalize %>"
      - else
        = '<%= app_name.capitalize %>'
    %meta{ 'http-equiv': 'content-type', content: 'text/html', charset: 'utf-8' }
    %meta{ 'http-equiv': 'x-ua-compatible', content: 'ie=edge,chrome=1' }
    %meta{ name: 'description', content: '<%= app_name.capitalize %>' }
    %meta{ name: 'author', content: '<%= app_name.capitalize %>' }
    %link{ rel: 'shortcut icon', href: '/images/favicon.png' }

    = stylesheet_link_tag 'https://use.fontawesome.com/releases/v5.7.0/css/all.css',
                          'application', media: 'all', 'data-turbolinks-track': 'reload'
    = javascript_include_tag 'application',
                             'data-turbolinks-track': 'reload'
    = csrf_meta_tags
    = yield :head
  %body
    = render 'layouts/partials/warnings'
    .container-narrow
      .header
        = render 'layouts/partials/navbar'
      = render 'layouts/partials/messages'
      = yield
      .footer
        %p
          = t('view.welcome.footer', app_name: '<%= app_name.capitalize %>',
                                     year: Time.zone.now.year).html_safe

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cybele-2.3.2 templates/app_files/app/views/layouts/application.html.haml.erb
cybele-2.3.1 templates/app_files/app/views/layouts/application.html.haml.erb