Skip to content

Instantly share code, notes, and snippets.

View sbonardt's full-sized avatar

Sebastiaan Bonardt sbonardt

  • Sebbon / Flink
  • Den Haag
View GitHub Profile
{
// Gebruik als start van een css document.
// Voor een deel gebaseerd op de ideeen van dit verhaal: https://codyhouse.co/blog/post/css-custom-properties-vs-sass-variables
"Setup": {
"scope": "css",
"prefix": "Start de setup",
"body": [
@ankedsgn
ankedsgn / master_with_404_title.twig
Created January 11, 2019 11:16
Return a title in the Bolt 404 page with SEO extension
{% if app.request.get('_route') %}{# no route, no SEO tags #}
<title>{{ seo.title() }}</title>
{{ seo.metatags() }}
{% else %}
<title>Niet Gevonden | {{ config.get('general/sitename') }}</title>
{% endif %}
@media print {
/* Hide stuff you don't want visible on the printed page */
.foo {
display: none;
}
/* Hiding video's and removing ugly whitespace fromr hidden iframes */