Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions dlang.org.ddoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ COMMON_SCRIPTS_DLANG =
_=

CONSOLE=$(TC pre, console notranslate, $0)
COPYRIGHT=Copyright © 1999-$(YEAR) by the $(LINK2 $(ROOT)/foundation.html, D Language Foundation)
COPYRIGHT_FOUNDATION=Copyright © 1999-$(YEAR) by the $(LINK2 $(ROOT_DIR)foundation.html, D Language Foundation)
CPPCODE=$(TC pre, cppcode notranslate, $0)
CPPLISTING=$(CPPCODE $0)
CROSS=✘
Expand All @@ -54,9 +54,9 @@ DDOC=
<!DOCTYPE html>
<html lang="en-US">
<!--
Copyright (c) 1999-$(YEAR) by Digital Mars
All Rights Reserved Written by Walter Bright
http://digitalmars.com
Copyright (c) 1999-$(YEAR) by the D Language Foundation
All Rights Reserved.
https://dlang.org/foundation.html
-->
<head>
<meta charset="utf-8">
Expand Down Expand Up @@ -152,7 +152,7 @@ EXTRA_FOOTERS=
_=

FAVICON=$(STATIC favicon.ico)
FOOTER = $(DIVCID smallprint, copyright, $(COPYRIGHT) | Page generated by
FOOTER = $(DIVCID smallprint, copyright, $(COPYRIGHT_FOUNDATION) | Page generated by
$(LINK2 $(ROOT_DIR)spec/ddoc.html, Ddoc) on $(GEN_DATETIME))
FOOTNOTE=$(SPANC footnote, $0)
FULL_TITLE=$(TITLE) - D Programming Language
Expand Down
13 changes: 7 additions & 6 deletions dpl-docs/views/layout.dt
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
!!! 5
html(lang='en-US')
- import std.datetime : Clock;
- auto year = Clock.currTime.year;
//
| Copyright (c) 1999-2016 by Digital Mars
| All Rights Reserved Written by Walter Bright
| http://digitalmars.com
| Copyright (c) 1999-$#{year} by the D Language Foundation
| All Rights Reserved.
| https://dlang.org/foundation.html
- import std.process : environment;
- string version_id = environment["GIT_TARGET"];
- bool noExactSourceCodeLinks = environment["NO_EXACT_SOURCE_CODE_LINKS"] == "1";
Expand Down Expand Up @@ -212,9 +214,8 @@ html(lang='en-US')
|
#quickindex.quickindex

#copyright
block copyright
| | Page generated by <a href="https://github.com/rejectedsoftware/ddox">ddox</a>.
#copyright.smallprint
| Copyright &copy; 1999-#{year} by the <a href="#{root_dir}foundation.html">D Language Foundation</a> | Page generated by <a href="https://github.com/rejectedsoftware/ddox">ddox</a>.

script(type='text/javascript', src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js')
|
Expand Down
6 changes: 3 additions & 3 deletions ebook.ddoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ DDOC=
<html lang="en-US">

<!--
Copyright (c) 1999-$(YEAR) by Digital Mars
All Rights Reserved Written by Walter Bright
http://www.digitalmars.com
Copyright (c) 1999-$(YEAR) by the D Language Foundation
All Rights Reserved.
https://dlang.org/foundation.html
-->

<head>
Expand Down