Skip to content

Commit

Permalink
move title and version info above search
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianheuer committed Jun 26, 2023
1 parent 37e1f2b commit ea177f5
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 75 deletions.
2 changes: 1 addition & 1 deletion book.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"paperSize": "a5",
"embedFonts": true
},
"version": "1.1.1"
"version": "1.1.2"
}
33 changes: 33 additions & 0 deletions book/_layouts/website/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{% extends "../../../node_modules/@honkit/honkit-plugin-theme-default/_layouts/website/page.html" %}

{% block book_sidebar %}
<div class="title">
<h2>Engineering Culture at celebrate company</h2>
<small><a href="{{ ["closing/CHANGELOG.html#", config.version] | join | resolveFile }}">Version {{ config.version }}</a></small>
</div>
<div id="book-search-input" role="search">
<input type="text" placeholder="{{ 'SEARCH_PLACEHOLDER'|t }}" />
</div>
{{ super() }}
{% endblock %}

{% block search_results %}
<div id="book-search-results">
<div class="search-noresults">
{{ super() }}
</div>
<div class="search-results">
<div class="has-results">
{% block search_has_results %}
<h1 class="search-results-title">{{ 'SEARCH_RESULTS_TITLE'|t|safe }}</h1>
<ul class="search-results-list"></ul>
{% endblock %}
</div>
<div class="no-results">
{% block search_no_results %}
<h1 class="search-results-title">{{ 'SEARCH_NO_RESULTS_TITLE'|t|safe }}</h1>
{% endblock %}
</div>
</div>
</div>
{% endblock %}
72 changes: 0 additions & 72 deletions book/_layouts/website/summary.html

This file was deleted.

6 changes: 6 additions & 0 deletions book/closing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Changelog

### 1.1.2

#### General

- moved title and version information above search bar

### 1.1.1

#### General
Expand Down
11 changes: 9 additions & 2 deletions book/styles/website.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
.book-summary ul.summary li.title h2 {
padding: 10px 15px 0 15px;
.book-summary .title {
margin: 15px 0;
}
.book-summary .title h2 {
padding: 10px 15px;
margin: 0;
}

.book-summary .title small {
padding: 10px 15px;
}

.book.color-theme-1 .book-summary ul.summary li.header {
color: #afa790;
}
Expand Down

0 comments on commit ea177f5

Please sign in to comment.