ausybenelux / Ocelot

Ocelot is a theming starter kit for drupal 7.
5 stars 2 forks source link

Favicon generator html and issues in info file features settings and drupal css #101

Closed rob-bar closed 9 years ago

rob-bar commented 9 years ago
<!DOCTYPE html>
<html <?php print $rdf_namespaces; ?> class="no-js" lang="<?php print $language->language; ?>">
  <head>
    <?php print $head; ?>

    <title><?php print $head_title; ?></title>

    <!-- Favicon -->
    <link rel="shortcut icon" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/favicon.ico"/>

    <!-- Apple -->
    <link rel="apple-touch-icon" sizes="57x57" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/apple-touch-icon-57x57.png">
    <link rel="apple-touch-icon" sizes="60x60" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/apple-touch-icon-60x60.png">
    <link rel="apple-touch-icon" sizes="72x72" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="76x76" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/apple-touch-icon-76x76.png">
    <link rel="apple-touch-icon" sizes="114x114" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/apple-touch-icon-114x114.png">
    <link rel="apple-touch-icon" sizes="120x120" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/apple-touch-icon-120x120.png">
    <link rel="apple-touch-icon" sizes="144x144" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/apple-touch-icon-144x144.png">
    <link rel="apple-touch-icon" sizes="152x152" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/apple-touch-icon-152x152.png">
    <link rel="apple-touch-icon" sizes="180x180" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/apple-touch-icon-180x180.png">

    <!-- Icon -->
    <link rel="icon" type="image/png" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/favicon-32x32.png" sizes="32x32">
    <link rel="icon" type="image/png" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/favicon-194x194.png" sizes="194x194">
    <link rel="icon" type="image/png" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/favicon-96x96.png" sizes="96x96">
    <link rel="icon" type="image/png" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/android-chrome-192x192.png" sizes="192x192">
    <link rel="icon" type="image/png" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/favicon-16x16.png" sizes="16x16">
    <link rel="manifest" href="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/manifest.json">

    <!-- Windows -->
    <meta name="msapplication-TileColor" content="#ffffff">
    <meta name="msapplication-TileImage" content="<?php echo url(drupal_get_path('theme', variable_get('theme_default', NULL)), array("absolute" => true)); ?>/assets/img/icon/mstile-144x144.png">
    <meta name="theme-color" content="#ffffff">

    <!-- Google font api -->
    <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css' async>

    <!-- Styles -->
    <?php print $styles; ?>

  </head>

  <body class="<?php print $classes; ?>" <?php print $attributes;?>>
    <?php print $page_top; ?>
    <?php print $page; ?>
    <?php print $page_bottom; ?>

    <!-- Scripts -->
    <?php print $scripts; ?>
  </body>
</html>

info file

name = Vlaamse Judo Federatie
core = 7.x
base theme = omega

; ========================================
; Stylesheets
; ========================================
stylesheets[all][] = assets/css/drupal/system/system.menus.theme.css
stylesheets[all][] = assets/css/drupal/system/system.messages.theme.css
stylesheets[all][] = assets/css/drupal/system/system.theme.css

stylesheets[all][] = assets/css/base-styles.css
stylesheets[all][] = assets/css/helper-styles.css
stylesheets[all][] = assets/css/component-styles.css
stylesheets[all][] = assets/css/layout-styles.css
stylesheets[all][] = assets/css/print-styles.css

; ========================================
; Features
; ========================================
features[] = name
features[] = slogan
features[] = logo

; ========================================
; Settings
; ========================================
settings[toggle_favicon] = 0
settings[favicon_path] = ""
settings[favicon_upload] = ""
settings[default_favicon] = 0
settings[omega_apple_touch] = 0
settings[omega_livereload] = 0
rob-bar commented 9 years ago

http://dl.getdropbox.com/u/7422112/shares/ocelot-favs.zip