Skip to content

Commit 930c1cf

Browse files
authored
Dockerize (#156)
* add dockerfile and docker-compose using hugomods image * needed to add this backslash for the link to work properly * remove redundant settings * give image a proper name * Revert "needed to add this backslash for the link to work properly" This reverts commit 589f298. * add backslash properly * use only docker-compose.yml without dockerfile * change docker compose file name
1 parent ff00e8e commit 930c1cf

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

docker-compose.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
services:
2+
hugo:
3+
image: ghcr.io/hugomods/hugo:latest
4+
ports:
5+
- "1313:1313"
6+
volumes:
7+
- .:/src
8+
working_dir: /src
9+
command: ["server", "--bind", "0.0.0.0", "--port", "1313"]
10+
restart: unless-stopped

layouts/partials/archive.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<ul class="posts" id="posts">
1515
<li class="post_item">
1616
<div class="excerpt_header post_content">
17-
<div class="excerpt">{{ partial "sprite" (dict "icon" "alarm")}}<b>We have a <a href="{{ relURL "job-board" }}">job board</a> now!</b> Do you have a job you want posted? Submit <a href="https://forms.gle/sFefwSxSCtk9N23n7">this form</a>.</div>
17+
<div class="excerpt">{{ partial "sprite" (dict "icon" "alarm")}}<b>We have a <a href="{{ relURL "job-board/" }}">job board</a> now!</b> Do you have a job you want posted? Submit <a href="https://forms.gle/sFefwSxSCtk9N23n7">this form</a>.</div>
1818
</div>
1919
</li>
2020
{{- range (.Paginate $pages).Pages }}

0 commit comments

Comments
 (0)