Skip to content

Commit a7ac6d3

Browse files
committed
Set URL to www.archunit.org, so links are resolved correctly through CNAME
1 parent e3e1b2a commit a7ac6d3

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

docs/_config-dev.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title_separator : "-"
88
name : "TNG Technology Consulting GmbH"
99
description : "A Java architecture test library, to specify and assert architecture rules in plain Java"
1010
url : "http://localhost"
11-
baseurl : "/"
11+
baseurl : ""
1212
repository : "codecholeric/archunit"
1313
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
1414
words_per_minute : 200

docs/_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title : "ArchUnit"
77
title_separator : "-"
88
name : "TNG Technology Consulting GmbH"
99
description : "A Java architecture test library, to specify and assert architecture rules in plain Java"
10-
url : "https://tng.github.io"
10+
url : "http://www.archunit.org"
1111
baseurl : "/"
1212
repository : "codecholeric/archunit"
1313
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"

docs/_includes/masthead.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="masthead__inner-wrap">
66
<div class="masthead__menu">
77
<nav id="site-nav" class="greedy-nav">
8-
<a class="site-title" href="{{ '/' | absolute_url }}"><img src="assets/ArchUnit-Logo.png" style="height:32px;" alt="{{ site.title }}"/></a>
8+
<a class="site-title" href="{{ '/' | absolute_url }}"><img src="/assets/ArchUnit-Logo.png" style="height:32px;" alt="{{ site.title }}"/></a>
99
<ul class="visible-links">
1010
{% for link in site.data.navigation.main %}
1111
{% if link.url contains 'http' %}

docs/_pages/home.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ importing all classes into a Java code structure. You can find examples for the
2323

2424
{% for i in (0..2) %}
2525
{% assign post = site.posts[i] %}
26-
<span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span> – <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title }}</a>
26+
<span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span> – <a class="post-link" href="{{ post.url }}">{{ post.title }}</a>
2727
{% endfor %}
2828

docs/_pages/news.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ permalink: /news
1212
{% for post in site.posts %}
1313
<li>
1414
<span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span>
15-
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title }}</a>
15+
<a class="post-link" href="{{ post.url }}">{{ post.title }}</a>
1616
</li>
1717
{% endfor %}
1818
</ul>
1919

20-
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
20+
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" }}">via RSS</a></p>
2121

2222
</div>
2323

0 commit comments

Comments
 (0)