Skip to content
This repository was archived by the owner on Sep 15, 2020. It is now read-only.

Commit 6aabe80

Browse files
committed
Remove the contact-us page and navbar menu items
1 parent 569db5b commit 6aabe80

File tree

11 files changed

+15
-379
lines changed

11 files changed

+15
-379
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ gem 'jekyll-avatar', '~> 0.7.0'
55
gem 'jekyll-email-protect', '~> 1.0.3'
66
gem 'jekyll-feed', '~> 0.13.0'
77
gem 'jekyll-paginate', '~> 1.1.0'
8+
gem 'jekyll-redirect-from', '~> 0.16.0'
89
gem 'jekyll-sitemap', '~> 1.4.0'
910
gem 'wdm', '~> 0.1.1', :install_if => Gem.win_platform?

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ GEM
3737
jekyll-feed (0.13.0)
3838
jekyll (>= 3.7, < 5.0)
3939
jekyll-paginate (1.1.0)
40+
jekyll-redirect-from (0.16.0)
4041
jekyll-sass-converter (2.0.1)
4142
sassc (> 2.0.1, < 3.0)
4243
jekyll-sitemap (1.4.0)
@@ -78,6 +79,7 @@ DEPENDENCIES
7879
jekyll-email-protect (~> 1.0.3)
7980
jekyll-feed (~> 0.13.0)
8081
jekyll-paginate (~> 1.1.0)
82+
jekyll-redirect-from (~> 0.16.0)
8183
jekyll-sitemap (~> 1.4.0)
8284
wdm (~> 0.1.1)
8385

Gruntfile.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,10 @@ module.exports = function(grunt) {
279279
options: {
280280
relaxerror: ['W001', 'W002', 'W003']
281281
},
282-
files: '<%= dirs.dest %>/**/*.html'
282+
files: [
283+
'<%= dirs.dest %>/**/*.html',
284+
'!<%= dirs.dest %>/contact-us/index.html'
285+
]
283286
},
284287

285288
eslint: {

_config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@ plugins:
1010
- jekyll-email-protect
1111
- jekyll-feed
1212
- jekyll-paginate
13+
- jekyll-redirect-from
1314
- jekyll-sitemap
1415

16+
redirect_from:
17+
json: false
18+
1519
exclude:
1620
# we generate those files ourselves
1721
- "*.css"

bootstrap-customizer-config.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,11 +401,9 @@
401401
"panels.less",
402402
"wells.less",
403403
"close.less",
404-
"component-animations.less",
405-
"dropdowns.less"
404+
"component-animations.less"
406405
],
407406
"js": [
408-
"dropdown.js",
409407
"collapse.js",
410408
"transition.js"
411409
]

source/_includes/header.html

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,6 @@ <h4><span class="fa fa-exclamation-circle" aria-hidden="true"></span> Warning</h
9696
<li{% if page.slug == "changelog" %} class="active"{% endif %}><a href="/changelog/"><span class="fa fa-file-text fa-fw" aria-hidden="true"></span> Changelog</a></li>
9797
<li{% if page.slug == "faq" %} class="active"{% endif %}><a href="/faq/"><span class="fa fa-info fa-fw" aria-hidden="true"></span> FAQ</a></li>
9898
<li{% if page.slug == "about" %} class="active"{% endif %}><a href="/about/"><span class="fa fa-users fa-fw" aria-hidden="true"></span> About</a></li>
99-
<li class="dropdown">
100-
<a id="dLabel" href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
101-
<span class="fa fa-question fa-fw" aria-hidden="true"></span> Help <span class="fa fa-caret-down" aria-hidden="true"></span>
102-
</a>
103-
<ul class="dropdown-menu" aria-labelledby="dLabel">
104-
<li {% if page.slug == "contact-us" %} class="active"{% endif %}><a href="/contact-us/">Contact us</a></li>
105-
<li class="divider"></li>
106-
<li><a href="https://trac.mpc-hc.org/wiki/How_to_Report_Issues">Bug reports</a></li>
107-
<li><a href="https://trac.mpc-hc.org/">Wiki</a></li>
108-
</ul>
10999
</li>
110100
</ul>
111101
</div> <!-- .navbar-collapse -->

source/assets/css/style.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,6 @@ body {
119119
text-shadow: 0 0 20px #08c;
120120
}
121121

122-
.navbar-default .navbar-nav > li > a,
123-
.dropdown-menu > li > a {
124-
color: #727272;
125-
}
126-
127122
.thumbnail {
128123
border: none;
129124
}

source/assets/css/vendor/bootstrap.css

Lines changed: 0 additions & 143 deletions
Original file line numberDiff line numberDiff line change
@@ -2677,149 +2677,6 @@ tbody.collapse.in {
26772677
-o-transition-timing-function: ease;
26782678
transition-timing-function: ease;
26792679
}
2680-
.caret {
2681-
display: inline-block;
2682-
width: 0;
2683-
height: 0;
2684-
margin-left: 2px;
2685-
vertical-align: middle;
2686-
border-top: 4px dashed;
2687-
border-top: 4px solid \9;
2688-
border-right: 4px solid transparent;
2689-
border-left: 4px solid transparent;
2690-
}
2691-
.dropup,
2692-
.dropdown {
2693-
position: relative;
2694-
}
2695-
.dropdown-toggle:focus {
2696-
outline: 0;
2697-
}
2698-
.dropdown-menu {
2699-
position: absolute;
2700-
top: 100%;
2701-
left: 0;
2702-
z-index: 1000;
2703-
display: none;
2704-
float: left;
2705-
min-width: 160px;
2706-
padding: 5px 0;
2707-
margin: 2px 0 0;
2708-
font-size: 14px;
2709-
text-align: left;
2710-
list-style: none;
2711-
background-color: #ffffff;
2712-
-webkit-background-clip: padding-box;
2713-
background-clip: padding-box;
2714-
border: 1px solid #cccccc;
2715-
border: 1px solid rgba(0, 0, 0, 0.15);
2716-
border-radius: 4px;
2717-
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
2718-
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
2719-
}
2720-
.dropdown-menu.pull-right {
2721-
right: 0;
2722-
left: auto;
2723-
}
2724-
.dropdown-menu .divider {
2725-
height: 1px;
2726-
margin: 9px 0;
2727-
overflow: hidden;
2728-
background-color: #e5e5e5;
2729-
}
2730-
.dropdown-menu > li > a {
2731-
display: block;
2732-
padding: 3px 20px;
2733-
clear: both;
2734-
font-weight: 400;
2735-
line-height: 1.42857143;
2736-
color: #333333;
2737-
white-space: nowrap;
2738-
}
2739-
.dropdown-menu > li > a:hover,
2740-
.dropdown-menu > li > a:focus {
2741-
color: #262626;
2742-
text-decoration: none;
2743-
background-color: #f5f5f5;
2744-
}
2745-
.dropdown-menu > .active > a,
2746-
.dropdown-menu > .active > a:hover,
2747-
.dropdown-menu > .active > a:focus {
2748-
color: #ffffff;
2749-
text-decoration: none;
2750-
background-color: #337ab7;
2751-
outline: 0;
2752-
}
2753-
.dropdown-menu > .disabled > a,
2754-
.dropdown-menu > .disabled > a:hover,
2755-
.dropdown-menu > .disabled > a:focus {
2756-
color: #777777;
2757-
}
2758-
.dropdown-menu > .disabled > a:hover,
2759-
.dropdown-menu > .disabled > a:focus {
2760-
text-decoration: none;
2761-
cursor: not-allowed;
2762-
background-color: transparent;
2763-
background-image: none;
2764-
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
2765-
}
2766-
.open > .dropdown-menu {
2767-
display: block;
2768-
}
2769-
.open > a {
2770-
outline: 0;
2771-
}
2772-
.dropdown-menu-right {
2773-
right: 0;
2774-
left: auto;
2775-
}
2776-
.dropdown-menu-left {
2777-
right: auto;
2778-
left: 0;
2779-
}
2780-
.dropdown-header {
2781-
display: block;
2782-
padding: 3px 20px;
2783-
font-size: 12px;
2784-
line-height: 1.42857143;
2785-
color: #777777;
2786-
white-space: nowrap;
2787-
}
2788-
.dropdown-backdrop {
2789-
position: fixed;
2790-
top: 0;
2791-
right: 0;
2792-
bottom: 0;
2793-
left: 0;
2794-
z-index: 990;
2795-
}
2796-
.pull-right > .dropdown-menu {
2797-
right: 0;
2798-
left: auto;
2799-
}
2800-
.dropup .caret,
2801-
.navbar-fixed-bottom .dropdown .caret {
2802-
content: "";
2803-
border-top: 0;
2804-
border-bottom: 4px dashed;
2805-
border-bottom: 4px solid \9;
2806-
}
2807-
.dropup .dropdown-menu,
2808-
.navbar-fixed-bottom .dropdown .dropdown-menu {
2809-
top: auto;
2810-
bottom: 100%;
2811-
margin-bottom: 2px;
2812-
}
2813-
@media (min-width: 768px) {
2814-
.navbar-right .dropdown-menu {
2815-
right: 0;
2816-
left: auto;
2817-
}
2818-
.navbar-right .dropdown-menu-left {
2819-
right: auto;
2820-
left: 0;
2821-
}
2822-
}
28232680
.btn-group,
28242681
.btn-group-vertical {
28252682
position: relative;

0 commit comments

Comments
 (0)