This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% favicons.each do |favicon| %> | |
<% unless favicon[:rel].nil? %> | |
<link rel="<%= favicon[:rel]%>" sizes="<%= favicon[:size]%>" href="<%= data.informacoes_do_site.hostname + "/" + favicon[:icon]%>"> | |
<% end -%> | |
<% end -%> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin test-img-alt { | |
img { | |
border: 2px dotted red; | |
} | |
img[alt] { | |
border: none; | |
} | |
} | |
@mixin test-link-title { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
# Redirect to another domain | |
RewriteCond %{HTTP_HOST} ^example\.com$ [NC] # Here goes the regex to match the domain that will be redirected | |
RewriteCond %{HTTP_HOST} ^(www\.)?example\.net$ [NC] # Create a new condition for every domain, if possible | |
RewriteRule ^(.*)$ http://www.example.it/$1 [R=301,NC,L] | |
# Force redirect to www | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} !^www\. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteCond %{HTTP_HOST} ^example\.com$ [NC] # Here goes the regex to match the domain that will be redirected | |
RewriteCond %{HTTP_HOST} ^(www\.)?example\.net$ [NC] # Create a new condition for every domain, if possible | |
RewriteRule ^(.*)$ http://www.example.it/$1 [R=301,NC,L] | |
# Force redirect to www | |
RewriteCond %{HTTP_HOST} ^example\.com$ | |
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,NC,L] | |
</IfModule> |
NewerOlder