Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit 9245874

Browse files
committed
Hide this feature
1 parent da7c438 commit 9245874

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/views/page_list.html

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
{% endif %}
1616
<h1 class="title">
1717
<span class="" id="revision-path">{{ path|insertSpaceToEachSlashes }}</span>
18+
{#
1819
{% if searchConfigured() && path != '/' %}
1920
<div class="form-group form-group-sm has-feedback search-input-group" data-toggle="tooltip" data-placement="bottom" title="{{ path }} 以下から検索">
2021
<label class="control-label sr-only" for="inputSuccess5">Search</label>
@@ -24,6 +25,7 @@ <h1 class="title">
2425
<i class="form-control-feedback search-listpage-icon fa fa-search"></i>
2526
</div>
2627
{% endif %}
28+
#}
2729
</h1>
2830
</header>
2931
</div>

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var config = {
3333
plugins: []
3434
};
3535

36-
if (process.env && process.env.NODE_ENV == 'production') {
36+
if (process.env && process.env.NODE_ENV !== 'development') {
3737
config.plugins = [
3838
new webpack.DefinePlugin({
3939
'process.env':{

0 commit comments

Comments
 (0)