diff --git a/CHANGELOG.md b/CHANGELOG.md index fad33a3..f73320c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * added the automatic version number on the built HTML page footer (#9). * small typo fixes in english text. * Builder refactor (#13). +* Moved link to OGL text out of the "raw" text (#14). ## 1.0.0 (2016-04-22) diff --git a/build.py b/build.py index af1e8da..da35bce 100644 --- a/build.py +++ b/build.py @@ -68,12 +68,13 @@ def mkdir(self, path): if not os.path.isdir(path): os.makedirs(path) - def write_html(self, target_filepath, body, title, static='static'): + def write_html(self, target_filepath, body, title, prefix=''): "Write HTML page (body & title) in the target_filepath" html = self.main_template.substitute( body=body, title=title, - static=static, + static=prefix + 'static', + license=prefix + 'license.html', version=self.version, git_version=self.git_version, ) @@ -93,7 +94,7 @@ def build_dir(self, directory): target_filepath, body, directory, - "../static", + "../", ) def update_meta(self, directory): diff --git a/english/the-black-hack.md b/english/the-black-hack.md index d2411f2..68c1430 100644 --- a/english/the-black-hack.md +++ b/english/the-black-hack.md @@ -618,7 +618,3 @@ Note: columns are *spell slot levels*, lines are *character levels*. **DM :** Yes. Conjurer, you see the Thief fall rigid to the floor, what do you do? **Conjurer :** I'll start backing away slowly. **Thief :** I'll get you in the next life you git! - ----- - -[This website OGL](../license.html) diff --git a/templates/base.html b/templates/base.html index 1b29778..2bace70 100644 --- a/templates/base.html +++ b/templates/base.html @@ -70,7 +70,9 @@
$body