realsimple-theme 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: ae797b3ac9caecba52eafe67806735cec40327f5
4
- data.tar.gz: 6c50cb59261e3a035dcc7750eb3bca5dbfd33eec
3
+ metadata.gz: c6f62e9dcbcd65382858ba154f006432e33bbc93
4
+ data.tar.gz: c2f4c51b37a3614d8c3a7dd751d91345f2160dfc
5
5
  SHA512:
6
- metadata.gz: e47eab5f9c22e519bec37008f36500cc71b12f3be3673dbc0dd8eb9149a5fac1fb245e32007a946b53b6d623a435135ee7c8793d39202253f341b1a4c7529031
7
- data.tar.gz: 8ba99349678399b1d167d35145aa9884089103a3e14076aa43b15705822c3f75791fae3b86b4024ec5fa1625b277a5c2eaa3887956b97903dc79c850a6c3dab8
6
+ metadata.gz: 8074dfa1de466db166520aa04a35bb5facce7cc0d41695321c31d32368b5a616ed620bc56bbe490b89c88b1cba519bfd68c0ff4da8461f48463666f53b0f1f81
7
+ data.tar.gz: 1a8ad9cb2f105961859eb8ed32c404c94bb215dc7ba8f40b32a784274a586c8699e173fb143c483ae17c4d56c9e94b94110a81914b1ec2264d8ce1ef605d806f
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  If you find any bugs or have suggestions for improving this theme, please let me know via email (suzanmsucro@gmail.com) or with a Github issue: github.com/suzmas/realsimple-theme.
6
6
 
7
- <iframe src="//giphy.com/embed/uuGQhuT8kDzry" width="480" height="328" frameBorder="0" class="giphy-embed" allowFullScreen></iframe><p><a href="https://giphy.com/gifs/uuGQhuT8kDzry">via GIPHY</a></p>
7
+ <iframe src="//giphy.com/embed/uuGQhuT8kDzry" width="480" height="328" frameBorder="0" class="giphy-embed" allowFullScreen></iframe><p><a href="https://giphy.com/gifs/uuGQhuT8kDzry">Realsimple gif preview</a></p>
8
8
 
9
9
 
10
10
  ## Installation
@@ -30,16 +30,23 @@ Or install it yourself as:
30
30
  $ gem install realsimple-theme
31
31
 
32
32
  ## Usage
33
+ Your config.yaml file should include definitions for author, author_title, twitter_url, linkedin_url, and github_url in order for the homepage links to work correctly.
33
34
 
34
35
  Available layouts: default, default-nofp, home, page, post. Default uses the fullpage.js wrapper, while default-nofp does not.
35
36
 
36
- The homepage layout cycles through your site's files that use the 'page' layout in the order they are organized in your directory- and creates a section on the homepage to display their content. The last section of the homepage displays links and snippets of your recent posts. Files defined with layout 'post' use the 'default-nofp' layout.
37
+ The homepage layout cycles through your site's files that use the 'page' layout in the order they are organized in your directory- and creates a section on the homepage to display their content. The last section of the homepage displays links and snippets of your recent posts.
37
38
 
38
- Fullpage.js is initialized with four sections for the homepage (home, about, projects, posts). If you add additional files that use the 'page' layout, you'll need to modify fullpg.js in your assets file. You can read about Fullpage.js options here: https://github.com/alvarotrigo/fullPage.js/
39
+ Files defined with layout 'post' use the 'default-nofp' layout by default.
39
40
 
40
- Your config.yaml file should include definitions for author, author_title, twitter_url, linkedin_url, and github_url in order for the homepage links to work correctly.
41
+ ### Fullpage.js Settings
42
+
43
+ You'll need to define 'page_str:' in the front-matter of all files using the page layout- page strings should follow the format of Fullpage.js section links--> firstPage, secondPage, 3rdpage, 4thpage. See https://github.com/suzmas/realsimple-theme/tree/master/example for an example.
44
+
45
+ Fullpage.js is initialized with four sections for a landing section, about section, portfolio section, and posts section. To set up this navigation style, add "page_str: secondPage" to the About.md front-matter. Create a file with title "Portfolio" and add "page_str: 3rdpage". The post snippets page is the last section by default.
41
46
 
47
+ If you add additional files that use the 'page' layout, you'll need to create an _assets folder with a file called fullpg.js and modify the 'anchors' settings. You can see an example of fullpage.js setup for this theme at: https://github.com/suzmas/realsimple-theme/tree/master/example. You can read about Fullpage.js options here: https://github.com/alvarotrigo/fullPage.js/
42
48
 
49
+ #### FYI, I'm in the process of configuring the theme to make Fullpagejs easier to use.
43
50
 
44
51
  ## Contributing
45
52
 
data/_layouts/home.html CHANGED
@@ -20,9 +20,9 @@ layout: default
20
20
  </li>
21
21
  {% endif %}
22
22
  {% endfor %}
23
- <li data-menuanchor="4thpage">
23
+ <li data-menuanchor="lastPage">
24
24
  <h3>
25
- <a class="splash-link" href="#4thpage">Writing</a>
25
+ <a class="splash-link" href="#lastPage" id="posts">Writing</a>
26
26
  </h3>
27
27
  </li>
28
28
  </ul>
data/assets/fullpg.js CHANGED
@@ -1,7 +1,10 @@
1
1
  $(document).ready(function() {
2
2
  $('#fullpage').fullpage({
3
- anchors: ['firstPage', 'secondPage', '3rdpage', '4thpage'],
3
+ anchors: ['firstPage', 'secondPage', '3rdpage', 'lastPage'],
4
4
  menu: 'menu',
5
5
  scrollingSpeed: 1000,
6
6
  });
7
+ $('#posts').click(function(){
8
+ $.fn.fullpage.moveTo(0);
9
+ });
7
10
  });
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: realsimple-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suzan S.
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '10.0'
55
55
  description:
56
56
  email:
57
- - suzansucro@gmail.com
57
+ - suzanmsucro@gmail.com
58
58
  executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
@@ -86,7 +86,7 @@ metadata:
86
86
  post_install_message: |2+
87
87
 
88
88
  ----------------------------------------------
89
- Thank you for installing realsimple!
89
+ Thank you for installing realsimple-theme! Visit https://github.com/suzmas/realsimple-theme to see an example of how to use this theme.
90
90
 
91
91
  ----------------------------------------------
92
92
 
@@ -108,5 +108,5 @@ rubyforge_project:
108
108
  rubygems_version: 2.6.10
109
109
  signing_key:
110
110
  specification_version: 4
111
- summary: A simple one page theme for Jekyll. NOT DONE YET.
111
+ summary: A simple one page theme for Jekyll. This theme is still a work in progress.
112
112
  test_files: []