word-games-theme 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +2 -0
- data/_data/blog/alertbar.yml +3 -0
- data/_data/blog/blog.yml +2 -0
- data/_data/blog/nav.json +14 -0
- data/_data/blog/share.yml +27 -0
- data/_data/footer/en/data.json +75 -0
- data/_data/footer/hi/data.json +69 -0
- data/_data/footer/networksites.json +16 -0
- data/_data/header/en/data.json +71 -0
- data/_data/header/hi/data.json +145 -0
- data/_data/wordgames/en/anagram_word_finder.json +55 -0
- data/_data/wordgames/en/eight_letter_word_finder.json +224 -0
- data/_data/wordgames/en/eleven_letter_word_finder.json +184 -0
- data/_data/wordgames/en/five_letter_word_finder.json +188 -0
- data/_data/wordgames/en/four_letter_word_finder.json +176 -0
- data/_data/wordgames/en/jumble_word_finder.json +62 -0
- data/_data/wordgames/en/lexical_word_finder.json +54 -0
- data/_data/wordgames/en/nine_letter_word_finder.json +184 -0
- data/_data/wordgames/en/root.json +88 -0
- data/_data/wordgames/en/scrabble_word_finder_cheat.json +55 -0
- data/_data/wordgames/en/seven_letter_word_finder.json +184 -0
- data/_data/wordgames/en/six_letter_word_finder.json +176 -0
- data/_data/wordgames/en/ten_letter_word_finder.json +184 -0
- data/_data/wordgames/en/thirteen_letter_word_finder.json +184 -0
- data/_data/wordgames/en/three_letter_word_finder.json +188 -0
- data/_data/wordgames/en/twelve_letter_word_finder.json +184 -0
- data/_data/wordgames/en/two_letter_word_finder.json +188 -0
- data/_data/wordgames/en/words_with_friends_word_finder.json +56 -0
- data/_includes/Rating/rating.html +88 -0
- data/_includes/Rating/structureddata.html +53 -0
- data/_includes/author_bio.html +16 -0
- data/_includes/authors/authors.html +27 -0
- data/_includes/custom-head.html +32 -0
- data/_includes/disqus_comments.html +11 -0
- data/_includes/filterWords/index.html +11 -0
- data/_includes/footer/index.html +40 -0
- data/_includes/google-analytics.html +23 -0
- data/_includes/head/index.html +105 -0
- data/_includes/header/blogHeader.html +28 -0
- data/_includes/header/index.html +48 -0
- data/_includes/paginationBlogPage.html +35 -0
- data/_includes/paginationPostPage.html +15 -0
- data/_includes/postauthorbio.html +18 -0
- data/_includes/postbox.html +30 -0
- data/_includes/script.html +14 -0
- data/_includes/section/about.html +26 -0
- data/_includes/section/alertbar.html +12 -0
- data/_includes/section/blog.html +39 -0
- data/_includes/section/commonPage.html +119 -0
- data/_includes/section/count.html +24 -0
- data/_includes/section/feature.html +35 -0
- data/_includes/section/home.html +68 -0
- data/_includes/section/home2.html +93 -0
- data/_includes/section/news.html +33 -0
- data/_includes/section/recent_posts.html +43 -0
- data/_includes/section/related_categories_post.html +74 -0
- data/_includes/section/related_tag_post.html +60 -0
- data/_includes/section/wordGroup.html +7 -0
- data/_includes/seo.html +57 -0
- data/_includes/share/socialshare.html +50 -0
- data/_layouts/blog.html +67 -0
- data/_layouts/categories.html +26 -0
- data/_layouts/default.html +35 -0
- data/_layouts/disclaimer.html +116 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +69 -0
- data/_layouts/privacyPolicy.html +421 -0
- data/_layouts/termAndCondition.html +421 -0
- data/_layouts/wordMeaning.html +107 -0
- data/assets/css/HomePageblog.css +154 -0
- data/assets/css/about.css +51 -0
- data/assets/css/advancedFilter.css +134 -0
- data/assets/css/blog.css +481 -0
- data/assets/css/feature.css +67 -0
- data/assets/css/footer.css +94 -0
- data/assets/css/home.css +186 -0
- data/assets/css/news.css +59 -0
- data/assets/css/style.css +374 -0
- data/assets/css/wordGroup.css +62 -0
- data/assets/images/Ankita.webp +0 -0
- data/assets/images/Anushka.webp +0 -0
- data/assets/images/Arjyahi.webp +0 -0
- data/assets/images/Nikita.webp +0 -0
- data/assets/images/alka.webp +0 -0
- data/assets/images/angle-arrow-down.svg +43 -0
- data/assets/images/bg_elements.png +0 -0
- data/assets/images/footer.png +0 -0
- data/assets/images/footer2-bg.webp +0 -0
- data/assets/images/keshav.webp +0 -0
- data/assets/images/left_obj_01.png +0 -0
- data/assets/images/left_obj_02.png +0 -0
- data/assets/images/loading.gif +0 -0
- data/assets/images/next.webp +0 -0
- data/assets/images/paavan.webp +0 -0
- data/assets/images/prev.webp +0 -0
- data/assets/images/rating.webp +0 -0
- data/assets/images/right.png +0 -0
- data/assets/images/right.svg +38 -0
- data/assets/images/right2.svg +38 -0
- data/assets/images/right3.svg +38 -0
- data/assets/images/right_obj_01.png +0 -0
- data/assets/images/word-games-logo.svg +52 -0
- data/assets/images/yellow_bg.png +0 -0
- data/assets/js/TopScroll.js +8 -0
- data/assets/js/X-letter.js +200 -0
- data/assets/js/advancedFilter.js +5 -0
- data/assets/js/advancedFilter2.js +5 -0
- data/assets/js/advancedFilter3.js +2 -0
- data/assets/js/manifest.json +17 -0
- data/assets/js/scrabbleDictonary.js +162 -0
- data/assets/js/serviceworker.js +42 -0
- data/assets/js/wordScrabble.js +363 -0
- metadata +198 -0
@@ -0,0 +1,68 @@
|
|
1
|
+
{% assign file = page.fileName %}
|
2
|
+
{% assign lang = page.lang %}
|
3
|
+
{% assign dataToShow = site.data.[page.folderName][lang][file] %}
|
4
|
+
|
5
|
+
<!-- starting landingPage -->
|
6
|
+
<div class="pageHeaderBg">
|
7
|
+
<div class="container">
|
8
|
+
<div class="pageHeading text-center">
|
9
|
+
<h1 class="heading pb-3">
|
10
|
+
{{dataToShow.h1}}</h1>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
<div class="container-fluid" id="containerWd">
|
14
|
+
<div class="serachSection">
|
15
|
+
<div class="position-relative serachBox">
|
16
|
+
<form action="/result" id='form' method="GET">
|
17
|
+
<input type="text" placeholder="Enter up to 15 letters?" class="txtBox" autocomplete="off" value
|
18
|
+
name="search" maxlength="15" required>
|
19
|
+
<input type="submit" class="serachBtn" id="serach" value>
|
20
|
+
|
21
|
+
<div class="wrapper_dropDown d-flex justify-content-end mt-5" style="gap:15px">
|
22
|
+
<div class="dictonaryDropdown">
|
23
|
+
<select class="form-select" name="dictonary" id="select_dropDown"
|
24
|
+
aria-label="Default select example">
|
25
|
+
<option selected value="">Dictonary</option>
|
26
|
+
<option value="twl06">TWL06 (US, Canada, Thailand)</option>
|
27
|
+
<option value="sowpods">SOWPODS (Uk and Others)</option>
|
28
|
+
<option value="wwf">Enable (Words With Friends)</option>
|
29
|
+
</select>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<div class="advancedFilter" style="position: relative;">
|
33
|
+
<input type="button" value="Advanced Filter" class="filterButton">
|
34
|
+
<div class="angle-arrow2"></div>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
<div class="fillterWrapper">
|
41
|
+
<div class="startsWith">
|
42
|
+
<label for="startsWith">Starts With</label>
|
43
|
+
<input type="text" id="startsWith" placeholder="Prefix" value="" name="prefix">
|
44
|
+
</div>
|
45
|
+
<div class="mustInclude">
|
46
|
+
<label for="mustInclude">Must Include </label>
|
47
|
+
<input type="text" id="mustInclude" placeholder="Contains" name="contains">
|
48
|
+
|
49
|
+
</div>
|
50
|
+
<div class="endsWith">
|
51
|
+
<label for="endsWith">End With</label>
|
52
|
+
<input type="text" id="endsWith" placeholder="Suffix" name="suffix">
|
53
|
+
|
54
|
+
</div>
|
55
|
+
<div class="wordLength">
|
56
|
+
<label for="wordLength">Word Length </label>
|
57
|
+
<input type="text" id="wordLength" placeholder="Length" name="length">
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
</form>
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
|
66
|
+
<script src="/assets/js/advancedFilter2.js"></script>
|
67
|
+
<!-- close landingPage -->
|
68
|
+
<!-- // page conditions -->
|
@@ -0,0 +1,93 @@
|
|
1
|
+
{% assign file = page.fileName %}
|
2
|
+
{% assign lang = page.lang %}
|
3
|
+
{% assign dataToShow = site.data.[page.folderName][lang][file] %}
|
4
|
+
|
5
|
+
<!-- starting landingPage -->
|
6
|
+
<div class="pageHeaderBg">
|
7
|
+
<div class="container">
|
8
|
+
<div class="pageHeading text-center">
|
9
|
+
<h1 class="heading pb-3">
|
10
|
+
{{dataToShow.h1}}</h1>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
<div class="container-fluid" id="containerWd">
|
14
|
+
<div class="serachSection">
|
15
|
+
<div class="position-relative serachBox">
|
16
|
+
<form action="{{page.url}}/result" id='form' method="GET">
|
17
|
+
<input type="text" placeholder="Enter up to 15 letters?" class="txtBox" autocomplete="off" value
|
18
|
+
name="search" maxlength="15" required>
|
19
|
+
<input type="submit" class="serachBtn" id="serach" value>
|
20
|
+
|
21
|
+
<div class="wrapper_dropDown d-flex justify-content-end mt-5" style="gap:15px">
|
22
|
+
<div class="dictonaryDropdown">
|
23
|
+
<select class="form-select" name="dictonary" id="select_dropDown"
|
24
|
+
aria-label="Default select example">
|
25
|
+
<option selected value="">Dictonary</option>
|
26
|
+
<option value="twl06">TWL06 (US, Canada, Thailand)</option>
|
27
|
+
<option value="sowpods">SOWPODS (Uk and Others)</option>
|
28
|
+
<option value="wwf">Enable (Words With Friends)</option>
|
29
|
+
</select>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<div class="advancedFilter" style="position: relative;">
|
33
|
+
<input type="button" value="Advanced Filter" class="filterButton">
|
34
|
+
<div class="angle-arrow2"></div>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
<div class="fillterWrapper">
|
41
|
+
<div class="startsWith">
|
42
|
+
<label for="startsWith">Starts With</label>
|
43
|
+
<input type="text" id="startsWith" placeholder="Prefix" value="" name="prefix">
|
44
|
+
</div>
|
45
|
+
<div class="mustInclude">
|
46
|
+
<label for="mustInclude">Must Include </label>
|
47
|
+
<input type="text" id="mustInclude" placeholder="Contains" name="contains">
|
48
|
+
|
49
|
+
</div>
|
50
|
+
<div class="endsWith">
|
51
|
+
<label for="endsWith">End With</label>
|
52
|
+
<input type="text" id="endsWith" placeholder="Suffix" name="suffix">
|
53
|
+
|
54
|
+
</div>
|
55
|
+
<div class="wordLength">
|
56
|
+
<label for="wordLength">Word Length </label>
|
57
|
+
<input type="text" id="wordLength" placeholder="Length" name="length">
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
</form>
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
<!-- close landingPage -->
|
66
|
+
<!-- // page conditions -->
|
67
|
+
|
68
|
+
|
69
|
+
{% if page.url == "/anagram-word-finder" %}
|
70
|
+
|
71
|
+
<script src="/assets/js/advancedFilter2.js"></script>
|
72
|
+
|
73
|
+
{% elsif page.url == "/jumble-word-finder" %}
|
74
|
+
|
75
|
+
<script src="/assets/js/advancedFilter2.js"></script>
|
76
|
+
|
77
|
+
{% elsif page.url == "/lexical-word-finder" %}
|
78
|
+
|
79
|
+
<script src="/assets/js/advancedFilter2.js"></script>
|
80
|
+
|
81
|
+
{% elsif page.url == "/scrabble-word-finder-cheat" %}
|
82
|
+
|
83
|
+
<script src="/assets/js/advancedFilter2.js"></script>
|
84
|
+
|
85
|
+
{% elsif page.url == "/words-with-friends-word-finder" %}
|
86
|
+
|
87
|
+
<script src="/assets/js/advancedFilter2.js"></script>
|
88
|
+
|
89
|
+
{% else %}
|
90
|
+
|
91
|
+
<script src="/assets/js/advancedFilter3.js"></script>
|
92
|
+
|
93
|
+
{% endif %}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{% assign file = page.fileName %}
|
2
|
+
{% assign lang = page.lang %}
|
3
|
+
{% assign dataToShow = site.data.[page.folderName][lang][file] %}
|
4
|
+
<!-- starting news section -->
|
5
|
+
<div class="container-fluid">
|
6
|
+
<div class="row rowHeight2">
|
7
|
+
<div class="col-xl-3 col-lg-12">
|
8
|
+
<div class="row">
|
9
|
+
<div class="col-xl-3 p-0">
|
10
|
+
<div class="news">
|
11
|
+
<img src="/assets/images/left_obj_02.png" alt="">
|
12
|
+
<span class="site-no">{{dataToShow.newsNo}}</span>
|
13
|
+
<span class="site-no">{{dataToShow.FaqNo}}</span>
|
14
|
+
<h5 class="title">{{dataToShow.Faq_title}}</h5>
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
<div class="col-xl-9 col-lg-12">
|
21
|
+
<div class="row my-xl-0">
|
22
|
+
{% for entry in dataToShow.faqList %}
|
23
|
+
<div class="col-md-6 pt-5">
|
24
|
+
<p class="meduim-text2 mb-0">{{entry.faqQuestion}}</p>
|
25
|
+
<p class="meduim-text mb-0">{{entry.faqAnswer}}</p>
|
26
|
+
</div>
|
27
|
+
{% endfor %}
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<!-- close -->
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<div class="container">
|
2
|
+
<div class="relatedPosts">
|
3
|
+
{%- if site.posts.size>0 -%}
|
4
|
+
<h1 class="related_post_heading">Recent Posts</h1>
|
5
|
+
{%- endif -%}
|
6
|
+
<div class="row">
|
7
|
+
{% for post in site.posts offset:1 limit:3 %}
|
8
|
+
{% if post.url != page.url %}
|
9
|
+
{%- include /authors/authors.html -%}
|
10
|
+
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
11
|
+
<div class="card h-100">
|
12
|
+
<a href="{{ post.url }}">
|
13
|
+
<img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy" alt="">
|
14
|
+
</a>
|
15
|
+
<div class="card-body">
|
16
|
+
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
17
|
+
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
18
|
+
</a>
|
19
|
+
</div>
|
20
|
+
<div class="card-footer bg-white">
|
21
|
+
<div class="wrapfooter">
|
22
|
+
{% if post.author %}
|
23
|
+
<span class="meta-footer-thumb">
|
24
|
+
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
|
25
|
+
</span>
|
26
|
+
{% endif %}
|
27
|
+
<span class="author-meta">
|
28
|
+
<span class="post-name">
|
29
|
+
<a target="_blank" href="/blog">{{authorName}}</a>
|
30
|
+
</span><br>
|
31
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
32
|
+
</span>
|
33
|
+
<span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
|
34
|
+
title="Read Story">Read More</a></span>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
{% endif %}
|
40
|
+
{% endfor %}
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
</div>
|
@@ -0,0 +1,74 @@
|
|
1
|
+
<div class="container">
|
2
|
+
|
3
|
+
<div class="relatedPosts">
|
4
|
+
|
5
|
+
{%- if page.categories or page.tags-%}
|
6
|
+
<h2 class="pt-5 pb-0 related_post_heading">You might also like</h2>
|
7
|
+
{%- endif -%}
|
8
|
+
|
9
|
+
{% assign maxRelated = 3 %}
|
10
|
+
{% assign minCommonTags = 1 %}
|
11
|
+
{% assign maxRelatedCounter = 0 %}
|
12
|
+
|
13
|
+
<div class="row">
|
14
|
+
{% for post in site.posts %}
|
15
|
+
{%- include /authors/authors.html -%}
|
16
|
+
{% assign sameTagCount = 0 %}
|
17
|
+
{% assign commonTags = '' %}
|
18
|
+
|
19
|
+
{% for category in post.categories %}
|
20
|
+
{% if post.url != page.url %}
|
21
|
+
{% if page.categories contains category %}
|
22
|
+
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
23
|
+
|
24
|
+
|
25
|
+
{% capture tagmarkup %} <span class="label label-default">{{ category }}</span> {% endcapture %}
|
26
|
+
{% assign commonTags = commonTags | append: tagmarkup %}
|
27
|
+
{% endif %}
|
28
|
+
{% endif %}
|
29
|
+
{% endfor %}
|
30
|
+
|
31
|
+
|
32
|
+
{% if sameTagCount >= minCommonTags %}
|
33
|
+
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
34
|
+
<div class="card h-100">
|
35
|
+
<a href="{{ post.url }}">
|
36
|
+
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%" alt="">
|
37
|
+
</a>
|
38
|
+
<div class="card-body">
|
39
|
+
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
40
|
+
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
41
|
+
</a>
|
42
|
+
</div>
|
43
|
+
<div class="card-footer bg-white">
|
44
|
+
<div class="wrapfooter">
|
45
|
+
{% if post.author %}
|
46
|
+
<span class="meta-footer-thumb">
|
47
|
+
<img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
|
48
|
+
</span>
|
49
|
+
{% endif %}
|
50
|
+
|
51
|
+
<span class="author-meta">
|
52
|
+
<span class="post-name">
|
53
|
+
<a target="_blank" href="/blog">{{authorName}}</a>
|
54
|
+
</span><br>
|
55
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
56
|
+
</span>
|
57
|
+
<span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
|
58
|
+
title="Read Story">Read More</a></span>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
64
|
+
{% if maxRelatedCounter >= maxRelated %}
|
65
|
+
{% break %}
|
66
|
+
{% endif %}
|
67
|
+
{% endif %}
|
68
|
+
{% endfor %}
|
69
|
+
{%- if page.tags -%}
|
70
|
+
{%- include section/related_tag_post.html -%}
|
71
|
+
{%- endif -%}
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
</div>
|
@@ -0,0 +1,60 @@
|
|
1
|
+
{%- include /authors/authors.html -%}
|
2
|
+
{% assign maxRelated = 1 %}
|
3
|
+
{% assign minCommonTags = 1 %}
|
4
|
+
{% assign maxRelatedCounter = 0 %}
|
5
|
+
|
6
|
+
|
7
|
+
{% for post in site.posts %}
|
8
|
+
{%- include /authors/authors.html -%}
|
9
|
+
{% assign sameTagCount = 0 %}
|
10
|
+
{% assign commonTags = '' %}
|
11
|
+
|
12
|
+
{% for tag in post.tags %}
|
13
|
+
{% if post.url != page.url %}
|
14
|
+
{% if page.tags contains tag %}
|
15
|
+
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
16
|
+
|
17
|
+
{% capture tagmarkup %} <span class="label label-default">{{ tag }}</span> {% endcapture %}
|
18
|
+
{% assign commonTags = commonTags | append: tagmarkup %}
|
19
|
+
|
20
|
+
{% endif %}
|
21
|
+
{%- endif -%}
|
22
|
+
{% endfor %}
|
23
|
+
|
24
|
+
|
25
|
+
{% if sameTagCount >= minCommonTags %}
|
26
|
+
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
27
|
+
<div class="card h-100">
|
28
|
+
<a href="{{ post.url }}">
|
29
|
+
<img src="{{ post.image }}" loading="lazy" class="card-img-top" alt="">
|
30
|
+
</a>
|
31
|
+
<div class="card-body">
|
32
|
+
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
33
|
+
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
34
|
+
</a>
|
35
|
+
</div>
|
36
|
+
<div class="card-footer bg-white">
|
37
|
+
<div class="wrapfooter">
|
38
|
+
{% if post.author %}
|
39
|
+
<span class="meta-footer-thumb">
|
40
|
+
<img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
|
41
|
+
</span>
|
42
|
+
{% endif %}
|
43
|
+
<span class="author-meta">
|
44
|
+
<span class="post-name">
|
45
|
+
<a target="_blank" href="/blog">{{authorName}}</a>
|
46
|
+
</span><br>
|
47
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
48
|
+
</span>
|
49
|
+
<span class="post-read-more"><a class="text-dark" href="{{ post.url }}" title="Read Story">Read
|
50
|
+
More</a></span>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
56
|
+
{% if maxRelatedCounter >= maxRelated %}
|
57
|
+
{% break %}
|
58
|
+
{% endif %}
|
59
|
+
{% endif %}
|
60
|
+
{% endfor %}
|
data/_includes/seo.html
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
{%- if seo_title -%}
|
2
|
+
{%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
|
3
|
+
{%- endif -%}
|
4
|
+
|
5
|
+
{% if page.canonical_url %}
|
6
|
+
{%- assign canonical_url = page.canonical_url %}
|
7
|
+
{% else %}
|
8
|
+
{%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url %}
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
|
12
|
+
{%- if seo_description -%}
|
13
|
+
{%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
|
14
|
+
{%- endif -%}
|
15
|
+
|
16
|
+
{%- assign author = page.author | default: page.authors[0] | default: site.author -%}
|
17
|
+
{%- assign author = site.data.authors[author] | default: author -%}
|
18
|
+
|
19
|
+
{%- if author.twitter -%}
|
20
|
+
{%- assign author_twitter = author.twitter | replace: "@", "" -%}
|
21
|
+
{%- endif -%}
|
22
|
+
|
23
|
+
{%- if page.date -%}
|
24
|
+
{%- assign og_type = "article" -%}
|
25
|
+
{%- else -%}
|
26
|
+
{%- assign og_type = "website" -%}
|
27
|
+
{%- endif -%}
|
28
|
+
|
29
|
+
{% if author.name %}
|
30
|
+
<meta name="author" content="{{ author.name | default: author }}">
|
31
|
+
{% endif %}
|
32
|
+
|
33
|
+
{% unless page.layout == 'post' %}
|
34
|
+
<meta name="description" content="{{ dataToShow.meta }}">
|
35
|
+
<meta name="og:description" content="{{ dataToShow.meta }}">
|
36
|
+
<meta property="og:title" content="{{ dataToShow.title }}">
|
37
|
+
{% endunless%}
|
38
|
+
|
39
|
+
{% if page.layout == 'post'%}
|
40
|
+
<meta name="description" content="{{ seo_description }}">
|
41
|
+
<meta name="og:description" content="{{ seo_description }}">
|
42
|
+
<meta property="og:title"
|
43
|
+
content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
44
|
+
{% endif %}
|
45
|
+
|
46
|
+
<meta property="og:type" content="{{ og_type }}">
|
47
|
+
<meta property="og:locale" content="{{ site.locale | replace: " -", "_" | default: "en_US" }}">
|
48
|
+
<meta property="og:site_name" content="{{ site.name }}">
|
49
|
+
<meta property="og:url" content="{{ canonical_url }}">
|
50
|
+
<meta data-rh="true" property="og:url" content="{{ canonical_url }}">
|
51
|
+
<meta data-rh="true" property="og:site_name" content="{{site.name}}">
|
52
|
+
<meta data-rh="true" property="twitter:domain" content="{{site.url}}">
|
53
|
+
<meta data-rh="true" property="twitter:url" content="{{site.url | append: page.url}}">
|
54
|
+
<meta data-rh="true" name="twitter:title" content="{{ dataToShow.title }}">
|
55
|
+
<meta data-rh="true" name="twitter:description" content="{{ dataToShow.meta }}">
|
56
|
+
<meta data-rh="true" name="twitter:image:src" content="{{ canonical_url }}">
|
57
|
+
<link rel="canonical" content="{{ canonical_url }}">
|