Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
PandaSekh committed Jun 2, 2020
1 parent ac67005 commit f5cf19e
Show file tree
Hide file tree
Showing 11 changed files with 54 additions and 41 deletions.
45 changes: 45 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType audio/mp3 "access 1 year"
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
## EXPIRES CACHING ##

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
</IfModule>
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ plugins: [jekyll-paginate, jekyll-seo-tag, jekyll-sitemap]
exclude: [_podcast.rss]

#Pagination
paginate: 4
paginate: 3
paginate_path: "/pagina-:num/"

#Sass
Expand All @@ -31,7 +31,7 @@ twitter:
card: summary
facebook:
app_id: "743664233037553"
logo: /assets/img/cover.png
logo: /assets/img/Podcast_Cover.png
social:
name: Arte della Lettura
links:
Expand Down
2 changes: 1 addition & 1 deletion _data/settings.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
analytics-id: UA-120959156-1
analytics-id: "UA-120959156-1"

#Pages
pages:
Expand Down
4 changes: 2 additions & 2 deletions _includes/analytics.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.settings.analytics-id }}"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.settings.analytics-id }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', '{{ site.settings.analytics-id }}');
gtag('config', '{{ site.data.settings.analytics-id }}');
</script>
2 changes: 1 addition & 1 deletion _includes/cover.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<img src="{{"assets/img/Podcast_Cover.jpg" | relative_url}}" alt="Podcast Cover">
<img src="{{"assets/img/Podcast_Cover_Small.jpg" | relative_url}}" alt="Podcast Cover">
2 changes: 1 addition & 1 deletion _includes/sidebar.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img src="assets/img/Podcast_Cover.jpg" alt="Podcast cover">
<img src="assets/img/Podcast_Cover_Small.jpg" alt="Podcast cover">

<div id = "info">
<h3>{{site.title}}</h3>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{% if post.cover %}
<img src="{{post.cover}}" alt="Podcast Cover">
{% else %}
<img src="{{ "/assets/img/Podcast_Cover.jpg" | relative_url}}" alt="Podcast Cover">
<img src="{{ "/assets/img/Podcast_Cover_Small.jpg" | relative_url}}" alt="Podcast Cover">
{% endif %}
</div>

Expand Down
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h2>{{page.title}}</h2>
{% if post.cover %}
<img src="{{post.cover}}" alt="Podcast Cover">
{% else %}
<img src="{{ "/assets/img/Podcast_Cover.jpg" | relative_url}}" alt="Podcast Cover">
<img src="{{ "/assets/img/Podcast_Cover_Small.jpg" | relative_url}}" alt="Podcast Cover">
{% endif %}

<p>{{page.description}}</p>
Expand Down
18 changes: 0 additions & 18 deletions _plugins/audio_duration.rb

This file was deleted.

14 changes: 0 additions & 14 deletions _plugins/filesize.rb

This file was deleted.

Binary file added assets/img/Podcast_Cover_Small.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f5cf19e

Please sign in to comment.