Commit 75873e07 authored by Rohan Sakhale's avatar Rohan Sakhale 💻

Separation of assets in separate 'static' domain

parent 338c8228
Pipeline #22620991 failed with stage
in 6 minutes and 44 seconds
......@@ -6,7 +6,7 @@
favicon: /images/favicon.png
# Set default keywords (Use a comma to separate)
keywords: "Hexo, NexT"
keywords: "Rohan, Sakhale, PHP, Java, Developer, Software Architect, Mentor, Trainer"
# Set rss to false to disable feed link.
# Leave rss as empty to use site's feed link.
......
......@@ -28,7 +28,7 @@
{% if theme.vendors.fancybox_css %}
{% set fancybox_css_uri = theme.vendors.fancybox_css %}
{% endif %}
<link href="{{ fancybox_css_uri }}" rel="stylesheet" type="text/css" />
<link href="https://static.rohansakhale.com{{ fancybox_css_uri }}" rel="stylesheet" type="text/css" />
{% endif %}
{% include "./head/external-fonts.swig" %}
......@@ -37,9 +37,9 @@
{% if theme.vendors.fontawesome %}
{% set font_awesome_uri = theme.vendors.fontawesome %}
{% endif %}
<link href="{{ font_awesome_uri }}" rel="stylesheet" type="text/css" />
<link href="https://static.rohansakhale.com{{ font_awesome_uri }}" rel="stylesheet" type="text/css" />
<link href="{{ url_for(theme.css) }}/main.css?v={{ theme.version }}" rel="stylesheet" type="text/css" />
<link href="https://static.rohansakhale.com{{ url_for(theme.css) }}/main.css?v={{ theme.version }}" rel="stylesheet" type="text/css" />
{% if page.keywords %}
<meta name="keywords" content="{{ page.keywords }}" />
......@@ -54,12 +54,12 @@
{% set theme.rss = config.feed.path %}
{% endif %}
{% if theme.rss %}
<link rel="alternate" href="{{ url_for(theme.rss) }}" title="{{ config.title }}" type="application/atom+xml" />
<link rel="alternate" href="https://static.rohansakhale.com{{ url_for(theme.rss) }}" title="{{ config.title }}" type="application/atom+xml" />
{% endif %}
{% if theme.favicon %}
<link rel="shortcut icon" type="image/x-icon" href="{{ url_for(theme.favicon) }}?v={{ theme.version }}" />
<link rel="shortcut icon" type="image/x-icon" href="https://static.rohansakhale.com{{ url_for(theme.favicon) }}?v={{ theme.version }}" />
{% endif %}
......@@ -115,7 +115,7 @@
},{
"@type": "Organization",
"name": "Sai Ashirwad Informatia",
"logo": "http://about.saiashirwad.com/images/logo.png",
"logo": "https://about.saiashirwad.com/images/logo.png",
"founder": {
"@type": "Person",
"name": "Rohan Sakhale",
......@@ -138,7 +138,7 @@
"publisher": {
"@type": "Organization",
"name": "Sai Ashirwad Informatia",
"logo": "http://about.saiashirwad.com/images/logo.png"
"logo": "https://about.saiashirwad.com/images/logo.png"
},
"author": {
"@type": "Person",
......
......@@ -5,5 +5,5 @@
%}
{% for bs in boot_scripts %}
<script type="text/javascript" src="{{ url_for(theme.js) }}/{{ bs }}?v={{ theme.version }}"></script>
<script type="text/javascript" src="https://static.rohansakhale.com{{ url_for(theme.js) }}/{{ bs }}?v={{ theme.version }}"></script>
{% endfor %}
......@@ -6,5 +6,5 @@
%}
{% for common in js_commons %}
<script type="text/javascript" src="{{ url_for(theme.js) }}/{{ common }}?v={{ theme.version }}"></script>
<script type="text/javascript" src="https://static.rohansakhale.com{{ url_for(theme.js) }}/{{ common }}?v={{ theme.version }}"></script>
{% endfor %}
<script type="text/javascript" src="{{ url_for(theme.js) }}/src/scrollspy.js?v={{ theme.version }}"></script>
<script type="text/javascript" src="{{ url_for(theme.js) }}/src/post-details.js?v={{ theme.version }}"></script>
<script type="text/javascript" src="https://static.rohansakhale.com{{ url_for(theme.js) }}/src/scrollspy.js?v={{ theme.version }}"></script>
<script type="text/javascript" src="https://static.rohansakhale.com{{ url_for(theme.js) }}/src/post-details.js?v={{ theme.version }}"></script>
......@@ -19,5 +19,5 @@
{% for name, internal in js_vendors %}
{% set internal_script = url_for(theme.vendors._internal) + '/' + internal %}
<script type="text/javascript" src="{{ theme.vendors[name] | default(internal_script) }}"></script>
<script type="text/javascript" src="https://static.rohansakhale.com{{ theme.vendors[name] | default(internal_script) }}"></script>
{% endfor %}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment