Skip to content

Commit

Permalink
Remove year from copyright line
Browse files Browse the repository at this point in the history
Helps with whatwg/sg#102.
  • Loading branch information
annevk committed Jun 24, 2020
1 parent 563daeb commit d341997
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright © 2018 WHATWG (Apple, Google, Mozilla, Microsoft).
Copyright © WHATWG (Apple, Google, Mozilla, Microsoft).
This work is licensed under a Creative Commons Attribution 4.0 International License:

Attribution 4.0 International
Expand Down
5 changes: 2 additions & 3 deletions convert_sg_db.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python

import json
from datetime import date
from convert_policy import markdown, obtain_link_mapping


Expand Down Expand Up @@ -106,8 +105,8 @@ def wrap_in_site_template(template, title, content):
def main():
template = open("site-template.html", "r", encoding="utf-8").read()
copyright = """<footer>
<p><small>Copyright © {} WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
</footer>""".format(str(date.today().year))
<p><small>Copyright © WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
</footer>"""
template = template.replace("@CONTENT_GOES_HERE@", "@CONTENT_GOES_HERE@" + copyright)
db = json.load(open("sg/db.json", "r", encoding="utf-8"))

Expand Down
2 changes: 1 addition & 1 deletion lists.whatwg.org/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ <h3>Archives</h3>
recover it based on context.</p>

<footer>
<p><small>Copyright © 2018 WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
<p><small>Copyright © WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
</footer>
2 changes: 1 addition & 1 deletion whatwg.org/404
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ link from another site pointing to the WHATWG site, please let that site know of
instead. Thanks!</p>

<footer>
<p><small>Copyright © 2018 WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
<p><small>Copyright © WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
</footer>
2 changes: 1 addition & 1 deletion whatwg.org/410
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
<p>The file you are looking for has been intentionally deleted. Good day!</p>

<footer>
<p><small>Copyright © 2018 WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
<p><small>Copyright © WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
</footer>
2 changes: 1 addition & 1 deletion whatwg.org/faq
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ translation can be removed in order to avoid confusing readers.
of derivative works like translations.

<footer>
<p><small>Copyright © 2018 WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
<p><small>Copyright © WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
</footer>

<script>
Expand Down
2 changes: 1 addition & 1 deletion whatwg.org/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ <h2>Maintaining and evolving HTML since 2004</h2>
<a href="mailto:sg@whatwg.org">Steering Group</a>.
</address>

<p><small>Copyright © 2018 WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
<p><small>Copyright © WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
</footer>

<script>
Expand Down
2 changes: 1 addition & 1 deletion whatwg.org/irc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<p class="note">In view of ongoing spam messaging on Freenode, we highly suggest you <a href="https://freenode.net/kb/answer/usermodes">set your mode</a> to <code>+r</code> in order to block unregistered users from sending you messages.</p>

<footer>
<p><small>Copyright © 2018 WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
<p><small>Copyright © WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
</footer>

<script>
Expand Down
2 changes: 1 addition & 1 deletion whatwg.org/style-guide
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
</ul>

<footer>
<p><small>Copyright © 2018 WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
<p><small>Copyright © WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
</footer>

<script>
Expand Down
2 changes: 1 addition & 1 deletion whatwg.org/validator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h2>HTML Conformance Checkers</h2>
<p>Please <a href="https://github.com/whatwg/whatwg.org/issues/new">let us know</a> if you are working on a conformance checker.

<footer>
<p><small>Copyright © 2018 WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
<p><small>Copyright © WHATWG (Apple, Google, Mozilla, Microsoft). This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</small></p>
</footer>

<script>
Expand Down

0 comments on commit d341997

Please sign in to comment.