jekyll-theme-minimal-ryan 0.1.2 → 0.2.0

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: d8224352ef583e984238aa2a634b4ff45d7e9490cf6ab0e546890145ccfbed15
4
- data.tar.gz: '09233fb1c6acc79761f1805b7e9e8687ef07ea7bdb7d483083002f2d5ee08d64'
3
+ metadata.gz: 34577329505a0cb942e351e6a4c1e874eb89a16afa32c1cc0b6952c59468cca1
4
+ data.tar.gz: ee1e6263415e5fcdaaf543f298e10a326e9a959b527af36f033c9fb09f16fdaf
5
5
  SHA512:
6
- metadata.gz: b73c81b8bdeb88dd66489ffdb34ce59309958455adbdc89d5fac04d8704fc4984eade9f27b8b6b8d143cf8f1a839202f64ffb56ae3454cba18eaa00cf0fde776
7
- data.tar.gz: 06d6724e37d88dc7a961079f637be85cc39aff11fae9c091edcdcf7ef86bd64422d382666c847d57bf706f25d89dedc96b9c54e64cde5b1327acf35d4f52e9a0
6
+ metadata.gz: 55ddcec692b77804cfc1595e8576ce4d459d4acae972005ade5535f1bf4f6fc94c6b13611015efe06ce38cd59472cb2fa2f6d83839d8808257325e09f3e55df9
7
+ data.tar.gz: ffaa409cd64c5280b889ed7006b89e926e1f122ce8e4151bb58f680dc1d16dbdde45dea6abc1c8913674e3b59d84df9bb2d3559cec39d153131d983fdf83d715
data/CHANGELOG.md ADDED
@@ -0,0 +1,12 @@
1
+ ## 0.2.0 (2022-12-27)
2
+
3
+ ### Feat
4
+
5
+ - add post cheat sheet
6
+ - initialize theme
7
+
8
+ ### Fix
9
+
10
+ - images not appearing in posts correctly
11
+ - lists not expanding entire width
12
+ - regex not removing all html tags
data/_layouts/blog.html CHANGED
@@ -13,7 +13,7 @@ layout: default
13
13
  <div class="post-content">
14
14
  <p class="post-title">{{ post.title | escape }}</p>
15
15
  <p class="post-blurb">
16
- {{ post.content | escape | regex_replace: '&lt;[^&gt;]*&gt;', '' }}
16
+ {{ post.content | escape | regex_replace: '&lt;(?!&gt;).*?&gt;', '' }}
17
17
  </p>
18
18
  </div>
19
19
  </a>
data/_layouts/post.html CHANGED
@@ -4,7 +4,7 @@ layout: default
4
4
 
5
5
  <div id="post-page" class="content-container">
6
6
  {%- if page.image -%}
7
- <img src="{{ page.image }}" />
7
+ <img id="post-title-img" src="{{ page.image }}" />
8
8
  {%- endif -%}
9
9
 
10
10
  <h1>{{ page.title }}</h1>
@@ -43,6 +43,14 @@ header {
43
43
  }
44
44
  }
45
45
 
46
+ ul, li, ol {
47
+ list-style-position: inside;
48
+ }
49
+
50
+ img {
51
+ object-fit: contain;
52
+ }
53
+
46
54
  footer {
47
55
  display: flex;
48
56
  justify-content: space-between;
@@ -125,7 +125,7 @@
125
125
  flex-direction: column;
126
126
  align-items: center;
127
127
 
128
- * {
128
+ & > * {
129
129
  padding: 8px 0;
130
130
  width: 100%;
131
131
  line-height: 1.4em;
@@ -135,9 +135,13 @@
135
135
  }
136
136
  }
137
137
 
138
- img {
138
+ #post-title-img {
139
139
  height: 300px;
140
140
  width: 100%;
141
141
  object-fit: cover;
142
142
  }
143
+
144
+ p img {
145
+ width: 100%;
146
+ }
143
147
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-minimal-ryan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryanshepps
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-24 00:00:00.000000000 Z
11
+ date: 2022-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -45,6 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - CHANGELOG.md
48
49
  - LICENSE
49
50
  - README.md
50
51
  - _data/theme.yml