plan-b 1.0.11 → 1.0.12

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
- SHA1:
3
- metadata.gz: 25df7459f22d1603b88f1ff99e9acfa6f953293d
4
- data.tar.gz: bede5c768a73c8075b8f7fce753eb9570186c71b
2
+ SHA256:
3
+ metadata.gz: 1610bd9837e57b6aafcc63348ca29d5f5b4f132349eede2a2a72980be0a68feb
4
+ data.tar.gz: 185264a19e23cc42dd403420bb2f9e077b063fa833693ddfac94cbcf029aba97
5
5
  SHA512:
6
- metadata.gz: 00fd24c2e988b03c2b9f0e84d85fc1808cb6b8aaeee03fc3ac5a4072e0878bc5fbbee8028d362ea88045e1e6002067cbac6aa9cd363690db51aae960c77f9d6d
7
- data.tar.gz: 56e1a613a87023c2f87b25d95b52d5eb0e2b8b1a98a70780795b0f31b597cbd717ed4ac959156ca657277cc8d67f5a35dc0b9b0393cd33cc39b19c6920156283
6
+ metadata.gz: f52e4339986a871f3a27f03fde685524305fca096581b917372c4b2b1532b89f742d16ac0c6b50658beaffb38e06cff5faacc3af6dd2b71896d95abfd3720101
7
+ data.tar.gz: d7be36121fd1ca558e35ed1d92fc5104337272d93eef00ce86305479801e6bbaaebee1f00ae8069d47f5288b2a6e7999420d520adadfe607bc2a2c9313178748
data/README.md CHANGED
@@ -4,7 +4,7 @@ A Jekyll based template for docs, resume, portfolio & etc.
4
4
 
5
5
  [Demo website](https://salmanwaheed.github.io/plan-b/)
6
6
 
7
- ![Demo website](https://raw.githubusercontent.com/salmanwaheed/plan-b/master/screenshot.png)
7
+ <img src="https://raw.githubusercontent.com/salmanwaheed/plan-b/master/screenshot.png" width="500">
8
8
 
9
9
  ## Installation
10
10
 
@@ -50,8 +50,14 @@ layout: default
50
50
  title: your page title
51
51
  description: your short paragraph
52
52
  ---
53
+
54
+ # Your page content will be here, if you need any help please cantact to Salman Waheed by opening the issue
53
55
  END
54
56
 
57
+ # Install Dummy content
58
+ mkdir _data && cd _data
59
+ curl -O https://github.com/salmanwaheed/plan-b/blob/master/_data/default.yml
60
+
55
61
  # And then execute
56
62
  bundle install
57
63
 
@@ -69,6 +75,9 @@ kill -9 YOUR-PID # lets kill PID
69
75
 
70
76
  # If you get >>> You have already activated i18n 1.5.3, but your Gemfile requires i18n 0.9.5. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
71
77
  sudo bundle clean --force # It removes every system gem not in this bundle
78
+
79
+ # If you get >>> can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)
80
+ sudo gem install -n /usr/local/bin bundler
72
81
  ```
73
82
 
74
83
  ## Guidelines
data/_includes/head.html CHANGED
@@ -4,9 +4,9 @@
4
4
  <meta name="keywords" content="blog, accent, {{author}}, {{title}}, jekyll">
5
5
  <meta name="description" content="{{description}}">
6
6
  <meta name="author" content="{{author}}">
7
- {% if url == "/404.html" %}
8
- <meta http-equiv="refresh" content="5; url={{url}}">
9
- {% endif %}
7
+ <!-- {% if page.url == "/404.html" %}
8
+ <meta http-equiv="refresh" content="5; url=/">
9
+ {% endif %} -->
10
10
 
11
11
  <link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
12
12
  <link rel="stylesheet" type="text/css" href="{{"/assets/css/main.css" | relative_url}}">
@@ -1,8 +1,4 @@
1
- {% if page.url %}
2
- {% assign url = site.url | append: site.baseurl | append: page.url %}
3
- {% else %}
4
- {% assign url = site.url | append: site.baseurl | append: page.url %}
5
- {% endif %}
1
+ {% assign url = site.url | append: site.baseurl | append: page.url %}
6
2
 
7
3
  {% if page.description %}
8
4
  {% assign desc = page.description %}
@@ -1,109 +1,8 @@
1
- {% if page.url %}
2
- {% assign url = site.url | append: site.baseurl | append: page.url %}
3
- {% else %}
4
- {% assign url = site.url | append: site.baseurl | append: page.url %}
5
- {% endif %}
6
-
7
- {% if page.description %}
8
- {% assign desc = page.description %}
9
- {% else %}
10
- {% if site.description %}
11
- {% assign desc = site.description %}
12
- {% else %}
13
- {% assign desc = site.data.default.description %}
14
- {% endif %}
15
- {% endif %}
16
-
17
- {% if page.title %}
18
- {% assign title = page.title %}
19
- {% else %}
20
- {% if site.title %}
21
- {% assign title = site.title %}
22
- {% else %}
23
- {% assign title = site.data.default.title %}
24
- {% endif %}
25
- {% endif %}
26
-
27
- {% if site.favicon %}
28
- {% assign favicon = site.favicon %}
29
- {% else %}
30
- {% assign favicon = site.data.default.favicon %}
31
- {% endif %}
32
-
33
- {% if site.author %}
34
- {% assign author = site.author %}
35
- {% else %}
36
- {% assign author = site.data.default.author %}
37
- {% endif %}
38
-
39
- {% if site.header.container %}
40
- {% assign header = site.header.container %}
41
- {% else %}
42
- {% assign header = site.data.default.header.container %}
43
- {% endif %}
44
-
45
- {% if site.header.navigation %}
46
- {% assign header_navigation = site.header.navigation %}
47
- {% else %}
48
- {% assign header_navigation = site.data.default.header.navigation %}
49
- {% endif %}
50
-
51
- {% if site.footer.container %}
52
- {% assign footer = site.footer.container %}
53
- {% else %}
54
- {% assign footer = site.data.default.footer.container %}
55
- {% endif %}
56
-
57
- {% if site.footer.navigation %}
58
- {% assign footer_navigation = site.footer.navigation %}
59
- {% else %}
60
- {% assign footer_navigation = site.data.default.footer.navigation %}
61
- {% endif %}
62
-
63
- {% if site.footer.copyright %}
64
- {% assign copyright = site.footer.copyright %}
65
- {% else %}
66
- {% assign copyright = site.data.default.footer.copyright %}
67
- {% endif %}
68
-
69
- {% if site.google_analytics %}
70
- {% assign google_analytics = site.google_analytics %}
71
- {% else %}
72
- {% assign google_analytics = site.data.default.google_analytics %}
73
- {% endif %}
74
-
1
+ {% include variables.html %}
75
2
  <!DOCTYPE html>
76
- <html lang="{{site.lang | default: 'en-US'}}">
77
- <head>
78
- <meta charset="utf-8">
79
- <title>{{title}}</title>
80
- <meta name="viewport" content="width=device-width, initial-scale=1">
81
- <meta name="keywords" content="blog, accent, {{author}}, {{title}}, jekyll">
82
- <meta name="description" content="{{description}}">
83
- <meta name="author" content="{{author}}">
84
- {% if url == "/404.html" %}
85
- <meta http-equiv="refresh" content="5; url={{url}}">
86
- {% endif %}
87
-
88
- <link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
89
- <link rel="stylesheet" type="text/css" href="{{"/assets/css/main.css" | relative_url}}">
90
-
91
- {% if favicon %}
92
- <link rel="icon" type="image/ico" href="{{favicon}}">
93
- <link rel="shortcut-icon" type="image/ico" href="{{favicon}}">
94
- {% endif %}
95
-
96
- <meta name="og:description" content="{{description}}">
97
- <meta name="og:title" content="{{title}}">
98
- <meta name="og:url" content="{{url}}">
99
- <meta name="og:type" content="article">
100
-
101
- <meta name="twitter:card" content="summary">
102
- <meta name="twitter:title" content="{{title}}">
103
- <meta name="twitter:description" content="{{description}}">
104
- <meta name="twitter:url" content="{{url}}">
105
- </head>
106
- <body class="{{url|slugify}}">
3
+ <html lang="{{site.locale}}">
4
+ <head>{% include head.html %}</head>
5
+ <body class="{{page.url|slugify}}">
107
6
  <div class="page-wrapper">
108
7
  {% if header %}
109
8
  <div class="header">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plan-b
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salman Waheed
@@ -87,8 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
- rubyforge_project:
91
- rubygems_version: 2.5.2.3
90
+ rubygems_version: 3.0.2
92
91
  signing_key:
93
92
  specification_version: 4
94
93
  summary: A Jekyll based template for docs, resume, portfolio & etc