A mixin for writing @font-face rules in SASS.
Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.
@include font-face(Samplino, fonts/Samplino);| # Ignore configuration files that may contain sensitive information. | |
| sites/*/settings*.php | |
| # Do not ignore dev configuration files | |
| !sites/*.localhost/settings*.php | |
| # Ignore paths that contain user-generated content. | |
| sites/*/files | |
| sites/*/privatefiles |
| themename_preprocess(&$vars, $hook) | |
| function THEME_preprocess(&$vars, $hook) { | |
| if ($hook == 'page') { | |
| $vars['NEUE_VARIABLE'] = 'WERT'; | |
| } | |
| } | |
| themename_preprocess_hook(&$vars) | |
| function THEME_preprocess_page(&$vars) { | |
| $vars['NEUE_VARIABLE'] = 'WERT'; |