File tree 4 files changed +16
-9
lines changed
4 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ gems: [jekyll-paginate]
5
5
6
6
# Site settings
7
7
title : Scala.js
8
- description : " Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description. "
8
+ description : " Build robust front-end web applications in Scala with Scala.js "
9
9
analytics : # Google analytics code in the format XX-nnnnnnnn-n
10
10
# baseurl: ""
11
11
baseurl : " "
Original file line number Diff line number Diff line change 6
6
< meta name ="author " content ="">
7
7
< link rel ="shortcut icon " href ="{{ "/assets/img/scala-js-logo-32.png" | prepend: site.baseurl }}">
8
8
9
- < title > {{ site.title }}{ % if page.title %} - {{ page.title }}{% endif %}</ title >
9
+ < title > {% if page.title %} {{ page.title }} - {% endif %}{{ site.title } }</ title >
10
10
11
11
{% include ogp.html %}
12
12
<!-- Bootstrap core CSS -->
Original file line number Diff line number Diff line change 1
1
{% capture header %}
2
2
3
3
{% if page.title %}
4
- < meta property ="og:type " content ="article " />
5
4
< meta property ="og:title " content ="{{ page.title }} " />
6
5
{% else %}
6
+ < meta property ="og:title " content ="Scala.js " />
7
+ {% endif %}
8
+
9
+ {% if page.category == "news" %}
10
+ < meta property ="og:type " content ="article " />
11
+ {% else %}
7
12
< meta property ="og:type " content ="website " />
8
13
{% endif %}
9
14
10
- {% include meta.html property="og:site_name" content=site.title %}
15
+ {% if page.description %}
16
+ < meta property ="og:description " content ="{{ page.description }} " />
17
+ {% else %}
18
+ < meta property ="og:description " content ="{{ site.description }} " />
19
+ {% endif %}
11
20
12
- {% capture page_url %}{{ page.url | replace:'/index.html','/' | prepend: site.url }}{% endcapture %}
13
- {% include meta.html property="og:url" content=page_url %}
21
+ {% include meta.html property="og:site_name" content=site.title %}
14
22
15
23
{% capture image_url %}{{ site.url | append: '/assets/img/scala-js-logo-256.png'}}{% endcapture %}
16
24
{% include meta.html content=image_url property="og:image" %}
Original file line number Diff line number Diff line change 1
1
---
2
2
layout: index
3
- title: Home
4
3
permalink: /
5
4
---
6
5
< div id ="headerwrap ">
10
9
< img width ="100 " src ="{{ '/assets/img/scala-js-logo.svg' | prepend: site.baseurl }} ">
11
10
12
11
< div >
13
- < h2 style ="margin-top: 10px; "> Scala.js</ h2 > < h4 > A safer way to build bug-free < br /> front-end web applications!</ h4 >
12
+ < h2 style ="margin-top: 10px; "> Scala.js</ h2 > < h4 > A safer way to build robust < br /> front-end web applications!</ h4 >
14
13
</ div >
15
14
< div >
16
15
< a class ="btn btn-theme " href ="{{ site.baseurl }}/tutorial/ "> Learn Scala.js</ a >
@@ -35,7 +34,7 @@ <h4>Correctness</h4>
35
34
mixing up strings or numbers, forgetting what keys an object has, or
36
35
worrying about typos in your method names. Scala.js takes care of all this
37
36
tedious book-keeping for you, letting you focus on the actual, more interesting
38
- problem your website is trying to solve.
37
+ problem your application is trying to solve.
39
38
</ div >
40
39
< div class ="col-md-4 ">
41
40
< div class ="center-align ">
You can’t perform that action at this time.
0 commit comments