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
| <?php | |
| function get_the_lazy_post_thumbnail($post_id = 0, $size = '', $attr = array()) | |
| { | |
| if(!intval($post_id)) | |
| $post_id = get_the_ID(); | |
| $thumb = get_the_post_thumbnail($post_id, $size, $attr); | |
| preg_match('~ src="(.*)" ~isU', $thumb, $result); | |
| if(count($result) < 2) return $thumb; |
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_expires.c> | |
| ExpiresActive On | |
| ExpiresByType text/html "access plus 1 second" | |
| ExpiresByType text/css "access plus 2 weeks" | |
| ExpiresByType text/javascript "access plus 2 weeks" | |
| ExpiresByType image/jpg "access plus 3 weeks" | |
| ExpiresByType image/png "access plus 3 weeks" | |
| # ... | |
| </IfModule> |
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_deflate.c> | |
| AddOutputFilterByType DEFLATE text/html | |
| AddOutputFilterByType DEFLATE text/css | |
| AddOutputFilterByType DEFLATE text/javascript | |
| # ... | |
| </IfModule> | |
| <IfModule mod_gzip.c> | |
| mod_gzip_on Yes | |
| mod_gzip_dechunk Yes |
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
| <html> | |
| <head> | |
| <style>/* critical */</style> | |
| <script>/* critical */</script> | |
| </head> | |
| <body> | |
| ... | |
| <link rel="stylesheet" href="/css/noncritical.css" type="text/css"> | |
| <script src="/js/noncritical.js" async></script> | |
| </body> |
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_expires.c> | |
| ExpiresActive On | |
| ExpiresByType text/html "access plus 1 second" | |
| ExpiresByType text/css "access plus 2 weeks" | |
| ExpiresByType text/javascript "access plus 2 weeks" | |
| ExpiresByType image/jpg "access plus 3 weeks" | |
| ExpiresByType image/png "access plus 3 weeks" | |
| # … | |
| </IfModule> |
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_deflate.c> | |
| AddOutputFilterByType DEFLATE text/html | |
| AddOutputFilterByType DEFLATE text/css | |
| AddOutputFilterByType DEFLATE text/javascript | |
| # ... | |
| </IfModule> | |
| <IfModule mod_gzip.c> | |
| mod_gzip_on Yes | |
| mod_gzip_dechunk Yes |
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
| @include 'inc/header'; | |
| @include 'inc/content'; | |
| @include 'inc/footer'; |
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
| .afd { | |
| color: brown; | |
| position: absolute; | |
| left: 0; | |
| right: 100%; | |
| .members { | |
| .brain { | |
| width: 0; |
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
| Verifying that "torbenleuschner.id" is my Blockstack ID. https://onename.com/torbenleuschner |