Skip to content

Commit

Permalink
Merge pull request #10 from garamb1/template_improvements
Browse files Browse the repository at this point in the history
Fix template typos/bump version
  • Loading branch information
garamb1 authored Dec 16, 2023
2 parents c5aed72 + 1d4d78a commit 2aed2aa
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4-testing
0.5-testing
2 changes: 1 addition & 1 deletion src/main/resources/templates/about.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<th:block th:insert="fragments/doctype.html"]></th:block>
<th:block th:insert="fragments/doctype.html"></th:block>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>About RetroSearch</title>
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/templates/browse.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<th:block th:insert="fragments/doctype.html"]></th:block>
<th:block th:insert="fragments/doctype.html"></th:block>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>RetroSearch Browse</title>
</head>
<body>
<th:block th:insert="fragments/header.html"]></th:block>
<th:block th:insert="fragments/header.html"></th:block>

<h2>Showing content from <em th:text="${originalUrl}"></em> below:</h2>
<th:block th:if="${not #lists.isEmpty(parsedHtmlPage.navigation)}">
Expand All @@ -19,6 +19,6 @@ <h4>Website Navigation</h4>
<h3 th:text="${parsedHtmlPage.title}"></h3>
<th:block th:utext="${parsedHtmlPage.htmlContent}"></th:block>

<th:block th:insert="fragments/footer.html"]></th:block>
<th:block th:insert="fragments/footer.html"></th:block>
</body>
</html>
4 changes: 2 additions & 2 deletions src/main/resources/templates/error-details.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<th:block th:insert="fragments/doctype.html"]></th:block>
<th:block th:insert="fragments/doctype.html"></th:block>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>RetroSearch Error</title>
Expand All @@ -11,6 +11,6 @@ <h2 th:text="${error}"></h2>
<br>
<a href="/">Go Back</a>
<br>
<th:block th:insert="fragments/footer.html"]></th:block>
<th:block th:insert="fragments/footer.html"></th:block>
</body>
</html>
4 changes: 2 additions & 2 deletions src/main/resources/templates/error.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<th:block th:insert="fragments/doctype.html"]></th:block>
<th:block th:insert="fragments/doctype.html"></th:block>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>RetroSearch Error</title>
Expand All @@ -10,6 +10,6 @@ <h2>Sorry, something went wrong :(</h2>
<br>
<a href="/">Go Back</a>
<br>
<th:block th:insert="fragments/footer.html"]></th:block>
<th:block th:insert="fragments/footer.html"></th:block>
</body>
</html>
2 changes: 1 addition & 1 deletion src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<th:block th:insert="fragments/doctype.html"]></th:block>
<th:block th:insert="fragments/doctype.html"></th:block>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>RetroSearch</title>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/news.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<th:block th:insert="fragments/doctype.html"]></th:block>
<th:block th:insert="fragments/doctype.html"></th:block>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>RetroSearch News</title>
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/templates/search-results.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<th:block th:insert="fragments/doctype.html"]></th:block>
<th:block th:insert="fragments/doctype.html"></th:block>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>RetroSearch</title>
</head>
<body>
<th:block th:insert="fragments/header.html"]></th:block>
<th:block th:insert="fragments/header.html"></th:block>

<h2>Search Results below:</h2>
<ul>
Expand All @@ -17,6 +17,6 @@ <h3 th:text="${element.title}"></h3>
</li>
</ul>

<th:block th:insert="fragments/footer.html"]></th:block>
<th:block th:insert="fragments/footer.html"></th:block>
</body>
</html>

0 comments on commit 2aed2aa

Please sign in to comment.