dark-blog-theme 1.0.0 → 1.0.1

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: 310f0408074b80c8a8044808bb86f404660fc8d6ec0ce3e01d5d75204f9454b1
4
- data.tar.gz: 984b9eecc48d3a8d2ea4c27e04e76340ef8000649996be7f1c95fc1f8162e71c
3
+ metadata.gz: 4ba29f4b80d3673e842ccc171dbc0a99571528b5ad99174ae89f82f64b6e6a55
4
+ data.tar.gz: f2fa934f1e75a07955f942d4531ba36402990712bd4c2883deb9e684cb9cbed5
5
5
  SHA512:
6
- metadata.gz: f89b1a5febecaa7cc989efb5fef9ce23b777ec7583ba69749f7f4b981bbbf910b8e318be11d4f6f437f0f204d69eb8e863e7c752be8261b67708ccea134d9d8c
7
- data.tar.gz: 3d6aa2581eb36fd8cfc648cfb523c19f902225d0607a2295fef28fed96f95c537350e65e00103c565de9780ee9e6e1fe530e5a3441a0df4f842ed47eaa7d94fe
6
+ metadata.gz: 797680cdfc5054fe23a37403105476c1c1c145a5ccae0c23d71285ccabbac7851e95056b9a3f8ad93f87b0bfa15ee45c9dc4d4e85d9853645781d7b3fa4b4d26
7
+ data.tar.gz: ef6010b0cf13ac8002c3ebe118cb4a1cbe12a575f63d2c30582026994a0b5e7f15d60329f8a8f9d8f8a32cebba59118da72274d511ad9f2d01ca3f854eed17f5
@@ -2,15 +2,14 @@
2
2
  <div class="wrapper header-container">
3
3
  {%- assign default_paths = site.pages | map: 'path' -%}
4
4
  {%- assign page_paths = site.header_pages | default: default_paths -%}
5
- <img class="logo" src="/assets/images/logo.svg">
5
+ <img class="logo" src="{{- "theme-assets/theme-images/logo.svg" | relative_url -}}">
6
6
  <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
7
-
8
7
  {%- if page_paths -%}
9
8
  <nav class="site-nav">
10
9
  <input type="checkbox" id="nav-trigger" class="nav-trigger">
11
10
  <label for="nav-trigger">
12
11
  <span class="menu-icon">
13
- <img src="{{- "assets/images/menu.svg" | relative_url -}}" alt="menu-icon">
12
+ <img src="{{- "theme-assets/theme-images/menu.svg" | relative_url -}}" alt="menu-icon">
14
13
  </span>
15
14
  </label>
16
15
 
data/_layouts/post.html CHANGED
@@ -4,7 +4,9 @@ layout: default
4
4
  <article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
5
5
  <header class="post-header">
6
6
  <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1>
7
- <img src="{{- page.image | relative_url -}}" alt="" class="featured-image">
7
+ {%- if page.image -%}
8
+ <img src="{{- page.image | relative_url -}}" alt="" class="featured-image">
9
+ {%- endif -%}
8
10
  <p class="post-meta">
9
11
  <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
10
12
  {%- assign date_format = site.minima.date_format | default: '%b %-d, %Y' -%}
@@ -174,11 +174,11 @@ figure {
174
174
  --md-sys-color-surface-container-high: rgb(47 40 45);
175
175
  --md-sys-color-surface-container-highest: rgb(58 51 56);
176
176
  }
177
- .logo{
177
+ .logo {
178
178
  height: 150px;
179
179
  padding-right: 10%;
180
180
  }
181
- .header-container{
181
+ .header-container {
182
182
  display: flex;
183
183
  justify-content: center;
184
184
  align-items: center;
@@ -186,7 +186,7 @@ figure {
186
186
  }
187
187
  @font-face {
188
188
  font-family: Virgil;
189
- src: url("/assets/fonts/Virgil.woff2");
189
+ src: url("/theme-assets/theme-fonts/Virgil.woff2");
190
190
  }
191
191
  /**
192
192
  * Basic styling
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dark-blog-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gul Noor