Skip to content

Commit 5ff928f

Browse files
committed
Send 301 redirects + add to overview for newly moved pages
1 parent 11cba8d commit 5ff928f

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.htaccess

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ Redirect 301 /templates-revisited.html /articles/templates-revisited.html
8484
Redirect 301 /ctarguments.html /articles/ctarguments.html
8585
Redirect 301 /variadic-function-templates.html /articles/variadic-function-templates.html
8686
Redirect 301 /d-array-article.html /articles/d-array-article.html
87+
Redirect 301 /cppcontracts.html /articles/cppcontracts.html
88+
Redirect 301 /template-comparison.html /articles/template-comparison.html
89+
Redirect 301 /dll-linux.html /articles/dll-linux.html
8790

8891
# Error pages
8992
ErrorDocument 404 /404.html

articles/index.dd

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,31 @@ $(D_S Articles,
155155
of D's array semantics.)
156156
)
157157
)
158+
$(DIVC row,
159+
$(DIVC item,
160+
$(H4 $(LINK2 $(ROOT_DIR)articles/cppcontracts.html,
161+
D's Contract Programming vs C++'s))
162+
$(P
163+
A comparison between D's and C++'s contract programming.
164+
)
165+
)
166+
$(DIVC item,
167+
$(H4 $(LINK2 $(ROOT_DIR)articles/template-comparison.html,
168+
Template Comparison))
169+
$(P
170+
A comparison between D's and C++'s templates.
171+
)
172+
)
173+
)
174+
$(DIVC row,
175+
$(DIVC item,
176+
$(H4 $(LINK2 $(ROOT_DIR)articles/dll-linux.html,
177+
Writing Shared Libraries on Linux))
178+
$(P
179+
A guide to writing shared libraries with D on Linux.
180+
)
181+
)
182+
)
158183
)
159184
)
160185

0 commit comments

Comments
 (0)