appscms-tools-theme 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4757c1b2ee574acc7833d77b12cb034fb776901849023f52247ccd3642dc19ed
4
- data.tar.gz: e12c0cf3582aebd8a6c806d883adeb06f679940c14427e08975227f83178f057
3
+ metadata.gz: 814ac9031697b59e0c506d9d765588d9c0f0586e3a63c1f08bf95fbae4902213
4
+ data.tar.gz: edc2caaacbf5b892d0992ee7d564d16de0e1dc27dd9c860c809a385a2f569f7c
5
5
  SHA512:
6
- metadata.gz: e62ed7e63454fb7bd2687a87dca5b6e0010bc97f9cddd05a91442f4f48aaec0c75d24bc3cef437b6ba2d17e4f1c04b9bd79b7759de6a2a1524d2ae27ab756d04
7
- data.tar.gz: 60b66c8cc396765f66821a6d4189e825378a890833196b1f97bb02c8ad215c2923b0f18eafe434eec14ed6a2cfe206da9d4c6585eba44019410c2791583ad88f
6
+ metadata.gz: a81977d6ef6ffd7be080a0eb77a71845606540a7250c93be8b059a9713e60a9aaa44c2bfdef185fd14f72e49c616cc8ba5b904de2120ca53d750be8e16e8d470
7
+ data.tar.gz: 9d998e386031b6592706f1bc11567e96ad0893eecc90d73ba46cebb3c415d1a1e49201e39cdf5d991a6eda69ed4b5317ac1515efe025ebfa249734067d92611b
File without changes
File without changes
File without changes
@@ -0,0 +1,14 @@
1
+ {
2
+ "navbarBrandText": "",
3
+ "navbarBrandLogo": "/assets/images/logo.png",
4
+ "navItems":[
5
+ {
6
+ "name":"Blog",
7
+ "url":"blog"
8
+ },
9
+ {
10
+ "name":"",
11
+ "url":""
12
+ }
13
+ ]
14
+ }
File without changes
@@ -0,0 +1,58 @@
1
+ {
2
+ "navbarBrandText": "Your_site_name",
3
+ "navbarBrandLogo": "/assets/images/logo.png",
4
+ "firstCat":[
5
+ {
6
+ "item": "item1",
7
+ "item2": "item2",
8
+ "item3": "item3",
9
+ "item4": "item4"
10
+ }
11
+ ],
12
+ "secondCat":[
13
+ {
14
+ "item": "item1",
15
+ "item2": "item2",
16
+ "item3": "item3",
17
+ "item4": "item4"
18
+ }
19
+ ],
20
+ "thirdCat":[
21
+ {
22
+ "item": "item1",
23
+ "item2": "item2",
24
+ "item3": "item3",
25
+ "item4": "item4"
26
+ }
27
+ ],
28
+ "fourCat":[
29
+ {
30
+ "item": "item1",
31
+ "item2": "item2",
32
+ "item3": "item3",
33
+ "item4": "item4"
34
+ }
35
+ ],
36
+ "fiveCat":[
37
+ {
38
+ "item": "item1",
39
+ "item2": "item2",
40
+ "item3": "item3",
41
+ "item4": "item4"
42
+ }
43
+ ],
44
+ "navItems":[
45
+ {
46
+ "name":"Alarm Clock",
47
+ "url":"/alarm-clock"
48
+ },
49
+ {
50
+ "name":"Timer",
51
+ "url":"/timer"
52
+ },
53
+ {
54
+ "name":"Stopwatch",
55
+ "url":"/stopwatch"
56
+ }
57
+ ]
58
+ }
@@ -2,29 +2,28 @@
2
2
  <header id="header">
3
3
  <!-- navigation startss -->
4
4
  <nav class="navbar navbar-expand-lg navbar-dark bg-light">
5
- {%- assign navbar = site.data.nav -%}
6
- {% if navbar.navbar-brand-text != "" %}
7
- <a class="navbar-brand" href="/" title="{{navbar.navbar-brand-text}}">{{navbar.navbar-brand-text}}</a>
5
+ {%- assign navbar = site.data.blog.nav -%}
6
+ {% if navbar.navbarBrandText != "" %}
7
+ <a class="navbar-brand" href="/" title="{{navbar.navbarBrandText}}">{{navbar.navbarBrandText}}</a>
8
8
 
9
9
  {% else %}
10
10
  <a href="/">
11
- <img src="{{navbar.navbar-brand-logo}}" alt="{{navbar.navbar-brand-logo}}" class="navbar-brand-image">
11
+ <img src="{{navbar.navbarBrandLogo}}" alt="{{navbar.navbarBrandLogo}}" class="navbar-brand-image">
12
12
 
13
13
  </a>
14
14
  {% endif %}
15
15
 
16
-
17
-
18
-
19
16
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent">
20
17
  <i class="fas fa-bars fa-2x" style="color:#000"></i>
21
18
  </button>
22
19
 
23
20
  <div class="collapse navbar-collapse" id="navbarSupportedContent">
24
21
  <ul class="navbar-nav ml-auto">
22
+ {%- for item in site.data.blog.nav.navItems -%}
25
23
  <li class="nav-item">
26
- <a class="nav-link" href="/blog">{{site.data.nav.nav-item}}</a>
24
+ <a class="nav-link" href="/{{item.url}}">{{item.name}}</a>
27
25
  </li>
26
+ {% endfor %}
28
27
  </ul>
29
28
  </div>
30
29
  </nav>
@@ -1,3 +1,6 @@
1
+ {% assign lang = page.fileName %}
2
+ {% assign dataToShow = site.data.header[lang].data %}
3
+
1
4
  <!-- Header -->
2
5
  <div class="bitun5-1 inueBp">
3
6
  <div class="bitun5-0 fElXmN">
@@ -5,14 +8,31 @@
5
8
  <div class="sc-1sjqft3-2 ckPTIm">
6
9
  <div class="sc-168sfod-0 hiSbSb">
7
10
  <a class="lqkt1b-0 fdItuc sc-168sfod-1 hjaywk" href="/" title="pdf">
8
- <div class="sc-168sfod-3 hjrrEC" id="__cond-851085">
9
- <img class="sc-168sfod-2 hjiVat" src="/assets/logo.svg" alt="pdf logo">
11
+ <div class="sc-168sfod-3 hjrrEC" style="margin-top:11px" id="__cond-851085">
12
+ {% if dataToShow.navbarBrandText != "" %}
13
+ <a class="navbar-brand" href="/"
14
+ title="{{dataToShow.navbarBrandText}}">{{dataToShow.navbarBrandText}}</a>
15
+ {% else %}
16
+ <a href="/">
17
+ <img class="sc-168ssfod-2 hjiVat" src="{{ dataToShow.navbarBrandLogo }}"
18
+ alt="{{ dataToShow.navbarBrandLogo }}">
19
+ </a>
20
+ {% endif %}
10
21
  </div>
11
22
  </a>
12
23
  </div>
13
- </div>
14
- <div class="sc-1sjqft3-3 ckYqmv">
15
- <div class="sc-1hd6z21-0 hcnRAo">
24
+
25
+ <div class="sc-1sjqft3-3 ckYqmv">
26
+ <div style="display:flex" id="__cond-851089">
27
+ <div class="soxssp-0 gXzTud">
28
+ <div class="xda4z1-0 fIwWsF">Tools</div>
29
+ </div>
30
+ </div>
31
+ </div>
32
+
33
+ {% for item in dataToShow.navItems %}
34
+ <div class="sc-1sjqft3-3 ckYqmv">
35
+ <!-- <div class="sc-1hd6z21-0 hcnRAo">
16
36
  <div style="display:flex" id="__cond-851086">
17
37
  <ul class="sc-1hd6z21-1 hcwoex">
18
38
  <div style="display: flex;" id="__cond-851087">
@@ -32,52 +52,59 @@
32
52
  </div>
33
53
  </div>
34
54
  </div>
35
- </div>
36
- <div style="display:flex" id="__cond-851089">
37
- <div class="soxssp-0 gXzTud">
38
- <div class="xda4z1-0 fIwWsF">Login</div>
55
+ </div> -->
56
+ <div style="display:flex" id="__cond-851089">
57
+ <div class="soxssp-0 gXzTud">
58
+ <div class="xda4z1-0 fIwWsF">
59
+ <a href="{{item.url}}">{{item.name}}</a>
60
+ </div>
61
+ </div>
39
62
  </div>
40
63
  </div>
41
- <div style="display: none;" id="__cond-851090"></div>
64
+ {% endfor %}
65
+ </div>
66
+
67
+
68
+
69
+
70
+ <!-- <div style="display: none;" id="__cond-851090"></div>
42
71
  <div style="display:flex" id="__cond-851091">
43
72
  <div class="sc-1ucfe2p-0 ipqJFq">
44
73
  <button class="sc-1mvwhop-0 cPHJoA" type="submit">
45
74
  <div id="__cond-851092">Free Trial</div>
46
75
  </button>
47
76
  </div>
48
- </div>
49
- <div class="yue4at-0 fPnIVd">
50
- <div class="yue4at-1 fPwfzm">
51
- <div style="display: none;" id="__cond-851093">
52
- <div class="sc-1pc5grg-0 jxQvto">
53
- <div class="sc-1pc5grg-1 deuuwy">
54
- <div class="vnoyvz-0 sHtdd">
55
- <div class="vnoyvz-1 sPPHm">
56
- <div class="vnoyvz-2 sYmlv">
77
+ </div> -->
78
+ <div class="yue4at-0 fPnIVd">
79
+ <div class="yue4at-1 fPwfzm">
80
+ <div style="display: none;" id="__cond-851093">
81
+ <div class="sc-1pc5grg-0 jxQvto">
82
+ <div class="sc-1pc5grg-1 deuuwy">
83
+ <div class="vnoyvz-0 sHtdd">
84
+ <div class="vnoyvz-1 sPPHm">
85
+ <div class="vnoyvz-2 sYmlv">
57
86
 
58
- </div>
59
87
  </div>
60
88
  </div>
61
- <div class="rhlin0-0 cblySq">
62
- <div class="sc-2xfn8l-0 bxyVaO sxq67w-0 bVpxBN">
63
- <svg xmlns="http://www.w3.org/2000/svg"
64
- xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 12 12"
65
- fill="#000">
66
- <polygon points="2 5 10 5 6 9"></polygon>
67
- </svg>
68
- </div>
89
+ </div>
90
+ <div class="rhlin0-0 cblySq">
91
+ <div class="sc-2xfn8l-0 bxyVaO sxq67w-0 bVpxBN">
92
+ <svg xmlns="http://www.w3.org/2000/svg"
93
+ xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 12 12" fill="#000">
94
+ <polygon points="2 5 10 5 6 9"></polygon>
95
+ </svg>
69
96
  </div>
70
- <div class="sc-1apfbp1-0 knfgvG">
97
+ </div>
98
+ <div class="sc-1apfbp1-0 knfgvG">
71
99
 
72
- </div>
73
100
  </div>
74
101
  </div>
75
102
  </div>
76
- <div style="display:flex" id="__cond-851094">
77
- <div class="rnvo6-0 jxYGTk">
78
- <div class="rnvo6-1 jyhdxt">
103
+ </div>
104
+ <div style="display:flex" id="__cond-851094">
105
+ <div class="rnvo6-0 jxYGTk">
106
+ <div class="rnvo6-1 jyhdxt">
79
107
 
80
- </div>
81
108
  </div>
82
109
  </div>
83
110
  </div>
@@ -86,5 +113,6 @@
86
113
  </div>
87
114
  </div>
88
115
  </div>
116
+ </div>
89
117
  <div class="sc-1p2sah-0 jKLUgT"></div>
90
118
  <!-- Header End -->
@@ -1,6 +1,6 @@
1
1
  <div class="alertbar" style="display: none;">
2
2
  <div class="container text-center">
3
- <span style="font-size: 15px;">{{site.data.alertbar.span}}</span>
3
+ <span style="font-size: 15px;">{{site.data.blog.alertbar.span}}</span>
4
4
  <form>
5
5
  <div class="mc-field-group">
6
6
  <input type="email" placeholder="Email" name="EMAIL" class="required email" id="mce-EMAIL"
data/_layouts/blog.html CHANGED
@@ -9,9 +9,10 @@
9
9
  <div class="container">
10
10
  <div class="row justify-content-center section-title-wrap">
11
11
  <div class="col-lg-12">
12
- <h1 style="font-weight: 900;" class="display-4 m-0 small_description">{{ site.data.blog.h1 }}</h1>
12
+ <h1 style="font-weight: 900;" class="display-4 m-0 small_description">{{ site.data.blog.blog.h1 }}
13
+ </h1>
13
14
  <p class="lead mb-5 mt-1" style="font-size: 18px;">
14
- {{ site.data.blog.description }}
15
+ {{ site.data.blog.blog.description }}
15
16
  </p>
16
17
  </div>
17
18
  </div>
@@ -35,7 +36,7 @@
35
36
  </a>
36
37
  </div>
37
38
 
38
- {% assign author = site.data.authors[post.author] %}
39
+ {% assign author = site.data.blog.authors[post.author] %}
39
40
  <div class="card-footer bg-white">
40
41
  <div class="wrapfooter">
41
42
  {% if post.author %}
data/_layouts/home.html CHANGED
@@ -1,12 +1,13 @@
1
- {% assign file = page.fileName %}
2
- {% assign dataArr = site.data.home[file] %}
3
- {% assign dataToShow = dataArr %}
4
1
  <!DOCTYPE html>
5
2
  <html lang="en" data-tool="landing">
6
3
  {% include head/index.html %}
7
4
 
5
+
8
6
  <body>
9
7
  {% include header/index.html %}
8
+ {% assign file = page.fileName %}
9
+ {% assign dataArr = site.data.home[file] %}
10
+ {% assign dataToShow = dataArr %}
10
11
 
11
12
  <div class="sc-1ttxsn1-0 fxCLCz">
12
13
  <div class="sc-1ttxsn1-1 hvHwmD">
@@ -41,7 +42,7 @@
41
42
  <div class="sc-1ttxsn1-1 hvHwmD">
42
43
  <ul class="je654-0 dhopRv">
43
44
  {% for product in dataToShow.features %}
44
- <li style = background:{{product.color}} class="sc-1jhrmy1-0 hpzLVg">
45
+ <li style=background:{{product.color}} class="sc-1jhrmy1-0 hpzLVg">
45
46
  <div class="sc-1jhrmy1-2 hpQFdy">
46
47
  <div class="sc-2xfn8l-0 bxyVaO sc-1nz7oec-0 dTTiwf">
47
48
  <img src="{{product.icon}}" alt="star icon">
data/_layouts/post.html CHANGED
@@ -22,7 +22,7 @@
22
22
  {% assign url = page.url | relative_url | prepend: site.url %}
23
23
 
24
24
 
25
- {% for share in site.data.share.platforms %}
25
+ {% for share in site.data.blog.share.platforms %}
26
26
  {% assign link = share.link | replace: 'TITLE', title | replace: 'URL', url %}
27
27
  <li> <a href=" {{ link }}" data-toggle="tooltip"
28
28
  onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
@@ -34,12 +34,15 @@
34
34
  </span>
35
35
  </ul>
36
36
  <div class="sep"></div>
37
+ <div class="comments-count">
38
+ <a href="{{ content.absolute_url }}#disqus_thread" class="comment_count"></a>
39
+ </div>
37
40
  </ul>
38
41
  </div>
39
42
  </div>
40
43
 
41
44
  <div class="col-md-8">
42
- {% assign author = site.data.authors[page.author] %}
45
+ {% assign author = site.data.blog.authors[page.author] %}
43
46
 
44
47
  {% if author %}
45
48
  {% include author_bio.html %}
@@ -50,7 +53,9 @@
50
53
  </div>
51
54
  {%- include paginationPostPage.html -%}
52
55
  <div class="commentsection">
56
+ {%- if site.disqus.shortname -%}
53
57
  {%- include disqus_comments.html -%}
58
+ {%- endif -%}
54
59
  </div>
55
60
  </div>
56
61
  </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-04 00:00:00.000000000 Z
11
+ date: 2021-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -61,21 +61,22 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - LICENSE.txt
63
63
  - README.md
64
- - _data/alertbar.yml
65
- - _data/authors.yml
66
- - _data/blog.yml
64
+ - _data/blog/alertbar.yml
65
+ - _data/blog/authors.yml
66
+ - _data/blog/blog.yml
67
+ - _data/blog/nav.json
68
+ - _data/blog/share.yml
67
69
  - _data/feature/en/compress-pdf.json
68
70
  - _data/feature/en/split-pdf.json
69
71
  - _data/feature/hi/compress-pdf.json
70
72
  - _data/footer/en/data.json
73
+ - _data/header/en/data.json
71
74
  - _data/home/en.json
72
75
  - _data/home/hi.json
73
- - _data/nav.json
74
76
  - _data/pages/about.json
75
77
  - _data/pages/contact.json
76
78
  - _data/pages/help.json
77
79
  - _data/pages/termAndCondition.json
78
- - _data/share.yml
79
80
  - _includes/author_bio.html
80
81
  - _includes/custom-head.html
81
82
  - _includes/disqus_comments.html
data/_data/nav.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "navbar-brand-text": "",
3
- "navbar-brand-logo": "/assets/images/logo.png",
4
- "nav-item": "Blog",
5
- "nav-item2": "",
6
- "nav-item3": "",
7
- "nav-item4": "",
8
- "nav-item5": "",
9
- "nav-item6": ""
10
- }