From 8ec4ca5bb50bdbd826f1154e8e4e9f72a6543736 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Fri, 12 Jun 2020 08:33:12 +0300 Subject: [PATCH] Set the media property for the CSS files. Improving performance? --- templates/base.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index 95ceb6f..6db8b30 100644 --- a/templates/base.html +++ b/templates/base.html @@ -15,7 +15,8 @@ <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> {% endif %} - <link rel="stylesheet" href="{{ SITEURL }}/theme/css/screen.css" type="text/css" /> + <link rel="stylesheet" media="screen" href="{{ SITEURL }}/theme/css/screen.css" type="text/css" /> + <link rel="stylesheet" media="print" href="{{ SITEURL }}/theme/css/print.css" type="text/css" /> </head> -- GitLab