potato-hacker-jekyll-template 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a8f93052da349dc0c0114f2bb4dcae4d41440b08
4
- data.tar.gz: 1d78b44cb5881c824ac194f1da4ae3a9036aa00f
3
+ metadata.gz: 2e5b42c5c1d7765726f6f1c2ded22453c2953c3a
4
+ data.tar.gz: 970bc057505c20a891f15e582efc840924eb2443
5
5
  SHA512:
6
- metadata.gz: febee77122281aae06e129f19f19a89fcc90f975bd5af0dbd64f63ba9adf60df029ca570e6e026a0f479395c5b8d11b812f5817611bdb9448b02d5c61a14d9eb
7
- data.tar.gz: 0b25aa5c8fb214709bac16007ad596e162f5c999216753bde0239b64b3760c7e568378d5ad849132f3fcf38218661ca87a3ef6c28c703614d3fceb464c373e8a
6
+ metadata.gz: 7d06d3f2d0e52710f5c9e4c7d87f6a37e8c92fd8650339db9052d35d4b199654ca4a065624ddc6716025a06814c15260a31fb2ca4cca3940477eb369123cc220
7
+ data.tar.gz: 4762956e999e4d02e98ceb592cf3b2f69d88b1498f10c48b06e1f52a86357e705df5a70a57541b9906ddf2e527be193a24c8f9855e8473b90750c7f596a0c099
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ ![screenshot](screenshot.png "screenshot")
6
6
 
7
7
  ## Installation
8
8
 
@@ -29,6 +29,21 @@ Or install it yourself as:
29
29
  ## Usage
30
30
 
31
31
  This is a simple theme I made to my portfolio/blog https://armlessjohn404.github.io/
32
+ There are four different categories of pages for this template:
33
+ * Main page `index.md` in the root.
34
+ * About page `about/index.md`
35
+ * Blog posts `_posts` folder.
36
+ * Dropdown menu projects `_projects` folder.
37
+
38
+ The dropdown menus are generated based on the YAML data in the files. Use the `dropdown` attribute to chose where the page will be placed.
39
+ ```yaml
40
+ ---
41
+ layout: page
42
+ title: dropdown1 item1
43
+ description: Test page
44
+ dropdown: dropdown1
45
+ ---
46
+ ```
32
47
 
33
48
  ## Contributing
34
49
 
@@ -12,6 +12,7 @@
12
12
  <section class="content">
13
13
  <div class="row">
14
14
  <div class="col-sm-{{site.columns}} col-sm-offset-{{site.offset}} content-div">
15
+ <h1 class="post-title"> {{ page.title }}</h1>
15
16
  {{ content }}
16
17
  </div>
17
18
  </div>
data/_layouts/page.html CHANGED
@@ -1,5 +1,4 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <h1 class="post-title"> {{ page.title }}</h1>
5
4
  {{ content }}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: potato-hacker-jekyll-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luiz Eduardo Amaral