conference-mgeek.in-jekyll-theme 0.2.14 → 0.2.15

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: 1b7b8df04a2ceaf8f9bc108e97da534c25b7e0004000bc15155da6b478f4a142
4
- data.tar.gz: f31460fd866468ed84714f4420c07d7afaca994c488fd434561275d0e42537fc
3
+ metadata.gz: 279c6560357743216382b86a06880171acb50b208298abc140e4466cf3290130
4
+ data.tar.gz: 4fbb7dfbfb74086c99bf69731f39b3103877d77fa3fbba4af1f2639aa4f13064
5
5
  SHA512:
6
- metadata.gz: 34ee76fa26cc9128ffb9eecd01c9c09cb2525e40b5699dc596eefc3592839b5fcacc3a336a11894057e27f1ede065909fa330ba79c2eb797d8e602d4a91860a5
7
- data.tar.gz: e05e13ba08a9507ad4000b8925275a4be0ff17d8b716922a6111add801eae6ac8c28d7007842d88c884c4edebfe15ecef63718806bc7f9a9629805d3ffcccaba
6
+ metadata.gz: d49cb3c3b8ce84176df1a810ee8df1d8ce513a0222312df5e893b15a7fab2996e4b32079739db96d8a30c07ac04422505e998dd41e7c49600b498b85bd96b61f
7
+ data.tar.gz: 815e942cc9d837077cf9524e2a765146c8fa56c6ea679110666794b3b2ca1dcec9d0123750168c43e1fb338fb72e69626dbc5f375d7e2b17e6c54a3596683d63
data/README.md CHANGED
@@ -1,30 +1,13 @@
1
1
  ---
2
2
  # Feel free to add content and custom Front Matter to this file.
3
3
  # To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
4
-
5
- layout: post
4
+ title: Read Me
5
+ layout: page
6
+ topmenu: true
7
+ order: 10
6
8
 
7
9
 
8
10
  ---
9
-
10
- ## add topmenu
11
-
12
- add yaml
13
- `topmenu: true` to make page apper in topmenu
14
- `order: <>` to order topmenu
15
-
16
- ## add submenu under topmenu
17
- add yaml
18
- `submenu: true` to make page as in submenu
19
- `submenutype: topmenulabel` add this to list as submenu under topmenulabel
20
- `submenuindex: <>` to order submenu
21
-
22
-
23
-
24
- add yaml
25
- `topmenu: true` to make page apper in topmenu
26
-
27
-
28
11
  # [Conference-mgeek-jekyll-theme](https://rubygems.org/gems/conference-mgeek.in-jekyll-theme)
29
12
  {: class="mt-5"}
30
13
  ---
@@ -136,6 +119,27 @@ Your theme is setup just like a normal Jekyll site! To test your theme, run `bun
136
119
  When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
137
120
  To add a custom directory to your theme-gem, please edit the regexp in `conference-mgeek.in.gemspec` accordingly.
138
121
 
122
+
123
+
124
+ ## add topmenu
125
+
126
+ add yaml
127
+ `topmenu: true` to make page apper in topmenu
128
+ `order: <>` to order topmenu
129
+
130
+ ## add submenu under topmenu
131
+ add yaml
132
+ `submenu: true` to make page as in submenu
133
+ `submenutype: topmenulabel` add this to list as submenu under topmenulabel
134
+ `submenuindex: <>` to order submenu
135
+
136
+
137
+
138
+ add yaml
139
+ `topmenu: true` to make page apper in topmenu
140
+
141
+
142
+
139
143
  # License
140
144
 
141
145
  The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,18 +1,74 @@
1
- <nav class="navbar navbar-expand-lg navbar-dark bg-dark" id="nav">
2
- <a class="navbar-brand" href="{{ siteurl }}{{site.baseurl}}/"><img height="60px" src="{{ siteurl }}{{site.baseurl}}/assets/images/logo.png" alt="{{ site.title }}" title="{{ site.title }}" ></a>
3
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false"
4
- aria-label="Toggle navigation">
5
- <span class="navbar-toggler-icon"></span>
6
- </button>
1
+ <div class="row">
2
+ <div class="container-fluid">
7
3
 
4
+ <nav class="navbar navbar-expand-lg navbar-dark bg-dark" id="nav">
5
+ <div class="col-3">
6
+ <a class="navbar-brand" href="{{ site.url }}{{site.baseurl}}/">
7
+ <img height="60px" src="{{ site.url }}{{site.baseurl}}/assets/images/logo.png" alt="{{ site.title }}"
8
+ title="{{ site.title }}">
9
+ </a>
10
+ </div>
11
+ {% assign ordered_pages=site.pages|sort:"order" %}
8
12
 
9
- <ul class="navbar-nav ml-auto">
10
- {% for post in site.pages %}
13
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
14
+ aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
15
+ </button>
11
16
 
12
- <li class="navbar-item"><a class="nav-link" href="{{ siteurl }}{{site.baseurl}}{{ post.url }}">{{ post.title }}</a></li>
13
- <br>
14
17
 
15
- {% endfor %}
16
- </ul>
18
+ <div class="col-9 right-aligned text-right">
19
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
20
+ <ul class="navbar-nav ">
21
+ {% for p1 in ordered_pages %}
17
22
 
18
- </nav>
23
+ {% if p1.topmenu == true %}
24
+ <li class="nav-item">
25
+ <a href="{{site.baseurl}}{{p1.url}}" class="nav-link">
26
+ {{p1.title}}
27
+ </a>
28
+ </li>
29
+ {% assign a2=site.submenu %}
30
+ {% for a2loop in a2%}
31
+ {%if a2loop==p1.title%}
32
+
33
+ <li class="nav-item">
34
+ <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown"
35
+ aria-haspopup="true" aria-expanded="false">
36
+ </a>
37
+
38
+
39
+ <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
40
+ {% assign ordered_pages_p2=site.pages|sort:"submenuindex" %}
41
+ {% for p2 in ordered_pages_p2 %}
42
+ {% if p2.submenu == true %}
43
+ {% for a1 in p2.submenutype %}
44
+ {% if a1 == p1.title %}
45
+ <a href="{{site.baseurl}}{{p2.url}}" class="dropdown-item">{{p2.title}}</a>
46
+ {% endif %}
47
+ {% endfor %}
48
+ {% endif %}
49
+ {% endfor %}
50
+ </div>
51
+
52
+ </li>
53
+
54
+
55
+ {%endif%}
56
+ {%endfor%}
57
+
58
+
59
+
60
+ {% endif %}
61
+ {% endfor %}
62
+ </ul>
63
+ </div>
64
+ </div>
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+ </nav>
73
+ </div>
74
+ </div>
@@ -1,7 +1,7 @@
1
1
  {% include header.html %}
2
2
  {% include navbarauto.html %}
3
3
  {% include headerimage.html %}
4
- <div class="container" markdown=1>
4
+ <div id="landingdefault" class="container" markdown=1>
5
5
  {{ content }}
6
6
  </div>
7
7
  {% include footbar.html %}
data/assets/css/style.css CHANGED
@@ -1,4 +1,9 @@
1
1
  #nav nav{
2
2
  background-color:#333;
3
3
  color:red
4
+ }
5
+
6
+ #landingdefault{
7
+ min-height:40vh;
8
+ padding-top:20px;
4
9
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conference-mgeek.in-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - prateekrajgautam