Skip to content

Commit 0719336

Browse files
committed
added ssl url support
1 parent 50f4c97 commit 0719336

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
title: Tools
22
description: Third party tools for working with PhoneGap
33
baseurl: "/tool" # the subpath of your site, e.g. /blog
4-
url: "http://phonegap.com" # the base hostname & protocol for your site
4+
url: "" # the base hostname & protocol for your site
55

66
gems:
77
- jekyll-paginate

_includes/head.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<meta http-equiv="X-UA-Compatible" content="IE=edge">
44
<meta name="viewport" content="width=device-width, initial-scale=1">
55

6-
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7-
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
6+
<title>{% if page.title %}{{ page.title | xml_escape }}{% else %}{{ site.title | xml_escape }}{% endif %}</title>
7+
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | xml_escape | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | strip_html | strip_newlines | xml_escape }}{% endif %}">
88

99
<script src="//use.typekit.net/exp7awb.js"></script>
1010
<script src="//assets.adobedtm.com/659ec8ada5450db95675e43beaaae92399591a11/satelliteLib-46e65db5bb0c375f8f64619be31cc9b29acf4867.js"></script>
@@ -14,7 +14,11 @@
1414
{% for js_name in page.extra_js %}
1515
<script src="/scripts/{{ js_name }}"></script>
1616
{% endfor %}
17-
<link rel="stylesheet" type="text/css" href="{{ "/styles/main.css" | prepend: site.url }}"/>
17+
{% for js_name in page.extra_js %}
18+
<script src="{{ js_name | prepend: '/app/scripts/' }}"></script>
19+
{% endfor %}
20+
<link rel="stylesheet" type="text/css" href="{{ '/styles/main.css' | prepend: site.url }}"/>
21+
<link rel="icon" type="image/png" href="{{ '/favicon.ico' | prepend: site.url }}">
1822
<style type="text/css">
1923
{% capture include_to_sassify %}{% include tool.sass %}{% endcapture %}
2024
{{ include_to_sassify | sassify }}

0 commit comments

Comments
 (0)