structrdfal 0.1.3 → 0.1.4

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: 9dc05082817aceae872a464e5f3d37e09879c0a35b1c19caece2efc316321189
4
- data.tar.gz: 4811c5912a3a9d68a67b094bca10930ee7b72155699ff8c670f3ce62a7e98301
3
+ metadata.gz: 0c1498953ccad82822794c4b972168840a824966bce5beefbdac37a060f77aad
4
+ data.tar.gz: de3902e27a1968a57f33291fc9552f9e7ffc35c4c3a49b2b16d8d356ca3a03e8
5
5
  SHA512:
6
- metadata.gz: 10178e99e1bc6665de1de18cc5121162da4a063405e532e2cae1b566909251d7629bd98f31a6a14fa7840314646a1e8d0c6d17132444cb8110ecec5fea47917d
7
- data.tar.gz: 3a231b68765b4eac2074755dacae9d4c24d62f2e16b72dbb8c81b6648cd40c7ea13e5446afa354aa04cd0199820e4ff39f3d599991f080bab571e19a2f3fe36e
6
+ metadata.gz: dc6f0f6910102a93b65619d79acbdaf7fd5dec6bf8f92b7f023844b6231cd876b0b6f05db5679331458f2cb5ac9b1a020930f6604e1e2f40d1f5034551c5a529
7
+ data.tar.gz: a6ee50446fc76297baebe6915d6ff9dc7ce7d64523c6d01d52a1954b148ae8060c31263d56e626bc2333f34defb09be87d97dba6237bdc027cf5cbf36ce52d8e
@@ -67,4 +67,4 @@
67
67
  {%- endif %}
68
68
  {%- endif %}
69
69
  </nav>
70
- <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
70
+ <p class="rss-subscribe"><img src="{{ "/feed-icon-28x28.png" | relative_url }}" alt=""> subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
@@ -1,18 +1,20 @@
1
- <footer>
2
- <address property="author" typeof="Person">Contact <a href="mailto:{{ site.email }}" property="name" content="{{ site.author }}">{{ site.author }}</a></address>
3
- <p {% unless page.description %}property="description"{% endunless %}>{{ site.description }}</p>
4
- {% if javascriptON -%}
5
- <script src="{{ scPath }}vendor/modernizr-3.6.0.min.js"></script>
6
- <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
7
- <script>window.jQuery || document.write('<script src="{{ scPath }}vendor/jquery-3.3.1.min.js"><\/script>')</script>
8
- <script src="{{ scPath }}plugins.js"></script>
9
- <script src="{{ scPath }}main.js"></script>
1
+ <div id="footer-box">
2
+ <footer id="page-footer">
3
+ <address property="author" typeof="Person">Contact <a href="mailto:{{ site.email }}" property="name" content="{{ site.author }}">{{ site.author }}</a></address>
4
+ <p {% unless page.description %}property="description"{% endunless %}>{{ site.description }}</p>
5
+ {% if javascriptON -%}
6
+ <script src="{{ scPath }}vendor/modernizr-3.6.0.min.js"></script>
7
+ <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
8
+ <script>window.jQuery || document.write('<script src="{{ scPath }}vendor/jquery-3.3.1.min.js"><\/script>')</script>
9
+ <script src="{{ scPath }}plugins.js"></script>
10
+ <script src="{{ scPath }}main.js"></script>
10
11
  {%- endif -%}
11
12
  {% if site.google_analytics -%}
12
13
  <script>
13
14
  window.ga = function () { ga.q.push(arguments) }; ga.q = []; ga.l = +new Date;
14
- ga('create', '{{ site.google_analytics }}, 'auto'); ga('send', 'pageview')
15
+ ga('create', '{{ site.google_analytics }}', 'auto'); ga('send', 'pageview')
15
16
  </script>
16
17
  <script src="https://www.google-analytics.com/analytics.js" async defer></script>
17
18
  {%- endif -%}
18
- </footer>
19
+ </footer>
20
+ </div>
data/_includes/nav.html CHANGED
@@ -1,14 +1,11 @@
1
- {%- assign menuURLs = "/blog/|/about.html|/contact.html" | split: "|" -%}
2
- {%- assign menuAnchors = "Blog|About|Contact" | split: "|" -%}
3
- {%- assign menuTitles = "My blog about stuff.|About this here website.|Contact us." | split: "|" -%}
4
1
  <nav id="site-nav">
5
- {% for link in menuURLs -%}
6
- {% capture idx %}{{ link | append: "index.html" }}{% endcapture -%}
2
+ {% for link in site.data.site-nav -%}
3
+ {% capture idx %}{{ link.url | append: "index.html" }}{% endcapture -%}
7
4
  <a
8
- {%- if page.url==link %} class="nav-self"
9
- {%- elsif page.url contains link and page.url == idx %} class="nav-self"
5
+ {%- if page.url==link.url %} class="nav-self"
6
+ {%- elsif page.url contains link.url and page.url == idx %} class="nav-self"
10
7
  {%- else %}
11
- {%- if page.url contains link and page.url != link %} class="nav-sub"{% endif %} href="{{ link }}"
12
- {%- endif %} title="{{ menuTitles[forloop.index0] }}">{{ menuAnchors[forloop.index0] }}</a>
8
+ {%- if page.url contains link.url and page.url != link.url %} class="nav-sub"{% endif %} href="{{ link.url }}"
9
+ {%- endif %} title="{{ link.title }}">{{ link.anchor }}</a>
13
10
  {% endfor -%}
14
11
  </nav>
@@ -6,6 +6,7 @@ pagination:
6
6
  enabled: true
7
7
  ---
8
8
  <h1 property="name">AutoPage Category <b>{% if page.autopages %}{{page.autopage.display_name}}{% endif %}</b> Page {{page.pagination_info.curr_page}} of {{page.pagination_info.total_pages}}</h1>
9
+ <p class="auto-notice">This page is automagically created and paginated for each category available in the posts on this site</p>
9
10
  {{ content | markdownify }}
10
11
 
11
12
  {%- include blogList.html -%}
@@ -6,7 +6,7 @@ pagination:
6
6
  enabled: true
7
7
  ---
8
8
  <h1 property="title">AutoPage for Tag <b>{% if page.autopages %}{{page.autopages.display_name}}{% endif %}</b> Page {{page.pagination_info.curr_page}} of {{page.pagination_info.total_pages}}</h1>
9
- <p>This page is automagically created and paginated for each tag available in the posts on this site</p>
9
+ <p class="auto-notice">This page is automagically created and paginated for each tag available in the posts on this site</p>
10
10
  {{ content | markdownify }}
11
11
 
12
12
  {%- include blogList.html -%}
@@ -21,7 +21,7 @@
21
21
  ------------------------------------------------------------------ -->
22
22
  {%- endcomment %}
23
23
  <title property="dc:title">{{ preTitle }}{{ page.title }}{{ postTitle }}</title>
24
- <meta name="description" property="dc:description" content="{{ page.description | default: site.description }}">
24
+ <meta name="description" property="dc:description" content="{{ page.description | strip_html | default: site.description }}">
25
25
  {% if page.tags or page.categories or page.keywords -%}
26
26
  {%- assign nothing = "" | split: ", " %}
27
27
  {%- assign ptags = page.tags | default: nothing %}
@@ -110,13 +110,13 @@
110
110
  <!--[if lte IE 9]>
111
111
  <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
112
112
  <![endif]-->
113
+ {% include header.html -%}
113
114
  {%- if mainType %}
114
115
  <main tabindex="-1" id="main-thing" property="mainEntity" typeof="{{ mainType }}">
115
116
  {%- else %}
116
117
  <main tabindex="-1" id="main-thing">
117
- <h1 property="name">{{ page.title }}</h1>
118
+ <h1 id="page-title" property="name">{{ page.title }}</h1>
118
119
  {%- endif %}
119
- <a href="/" title="Home"><img id="top-corner-logo" src="/icon.png" alt="logo"></a>
120
120
  <!-- <p>default: pageType={{pageType}}, spt:{{site.pgtype}}, lpt:{{layout.pgtype}}<br />
121
121
  mainType={{mainType}}, smt:{{site.mntype}}, lmt:{{layout.mntype}}</p> -->
122
122
  {{ content }}
@@ -135,9 +135,4 @@ layout: post
135
135
  </li>
136
136
  </ul></dd> -->
137
137
  </dl>
138
- <!-- <p property="description">
139
- yatta yatta event
140
- </p> -->
141
- </section>
142
- </main>
143
138
  </section>
@@ -49,13 +49,13 @@
49
49
  <!--[if lte IE 9]>
50
50
  <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
51
51
  <![endif]-->
52
+ {% include header.html -%}
52
53
  {%- if page.mntype -%}
53
54
  <main tabindex="-1" id="main-thing" property="mainEntity" typeof="{{ page.mntype }}">
54
55
  {%- else -%}
55
56
  <main tabindex="-1" id="main-thing">
56
57
  <h1 property="name">{{ page.title }}</h1>
57
58
  {%- endif %}
58
- <img id="top-corner-logo" src="/icon.png" alt="logo" title="Home">
59
59
  {{ content }}
60
60
  </main>
61
61
  {% include nav.html -%}
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: structrdfal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carol Wang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-07 00:00:00.000000000 Z
11
+ date: 2022-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.7'
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.7'
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-paginate-v2
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.16'
47
+ version: '1.17'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.16'
54
+ version: '1.17'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '12.0'
61
+ version: '12.3'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '12.0'
68
+ version: '12.3'
69
69
  description: A theme focused on structured data marked up using RDFa Lite based on
70
70
  HTML5 Boilerplate.
71
71
  email:
@@ -114,6 +114,8 @@ files:
114
114
  - assets/contactform.html
115
115
  - assets/eventform.html
116
116
  - assets/favicon.ico
117
+ - assets/feed-icon-14x14.png
118
+ - assets/feed-icon-28x28.png
117
119
  - assets/humans.txt
118
120
  - assets/icon.png
119
121
  - assets/robots.txt
@@ -149,8 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
151
  - !ruby/object:Gem::Version
150
152
  version: '0'
151
153
  requirements: []
152
- rubyforge_project:
153
- rubygems_version: 2.7.6
154
+ rubygems_version: 3.0.3.1
154
155
  signing_key:
155
156
  specification_version: 4
156
157
  summary: Structured Data using RDFa Lite.