Due a very restrictiv »file uri origin«-policy Firefox/Iceweasel won’t load custom fonts.
Try to set a specific header for each font file (TTF, OTF, EOT) in your .htaccess:
<FilesMatch "\.(ttf|otf|eot)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
(via)
You can build an archive of blog posts/articles which is grouped by year and months with built in tags. The nested tags and HTML elements are looking really weird but it works as unordered nested list.
<txp:article_custom sort="Posted desc" limit="99999" wraptag="ul" break="" class="archive">
<txp:variable name="year" value='<txp:if_different><txp:posted format="%Y" /></txp:if_different>' />
<txp:variable name="month" value='<txp:if_different><txp:posted format="%B" /></txp:if_different>' />
<txp:if_variable name="year" value=""><txp:else />
<txp:if_first_article><txp:else />
</ul>
</li>
</ul>
</txp:if_first_article>
<li><h2><txp:posted format="%Y" /></h2>
<ul>
</txp:variable>
<txp:if_variable name="month" value=""><txp:else />
<txp:if_variable name="year" value="">
</ul>
</li>
<txp:else /></txp:if_variable>
<li><h3><txp:posted format="%B" /></h3>
<ul>
</txp:variable>
<li><txp:posted />: <txp:permlink><txp:title /></txp:permlink></li>
<txp:if_last_article></ul></li></ul></txp:if_last_article>
</txp:article_custom>
Zur Fender gesellt sich ab sofort eine Ortega R10-ST.







trenc am 22. Dezember 2011
Linkhub |