Skip to content

Commit 78d2505

Browse files
committed
website: rebrand version strings to C++11 to C++26
The book was rebranded from C++11/14/17/20 to 'C++11 to C++26', but the site title, header, hero, and meta description still showed the old range. Bring them in line with the book and the site _config.
1 parent add210d commit 78d2505

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
site_description: "Modern C++ Tutorial | C++ 11/14/17/20 On the Fly | 现代 C++ 教程 | 高速上手 C++11/14/17/20"
1+
site_description: "Modern C++ Tutorial | C++11 to C++26 On the Fly | 现代 C++ 教程 | 高速上手 C++11 到 C++26"
22
google_analytics:
33
root_domain: changkun.de/modern-cpp
44
moderncpp_version: 2.0.0

website/themes/moderncpp/layout/index.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<h1>
2929
现代 C++ 教程<br>
3030
</h1>
31-
<h2>高速上手 C++ 11/14/17/20</h2>
31+
<h2>高速上手 C++11 到 C++26</h2>
3232
<h3>第二版</h3>
3333
<p>
3434
<a class="button white" href="<%- url_for("/modern-cpp/zh-cn/00-preface/") %>">🇨🇳 在线阅读</a>
@@ -47,7 +47,7 @@
4747
<h1>
4848
Modern C++ Tutorial
4949
</h1>
50-
<h2>C++ 11/14/17/20 On the Fly</h2>
50+
<h2>C++11 to C++26 On the Fly</h2>
5151
<h3>SECOND EDITION</h3>
5252
<p>
5353
<a class="button white" href="<%- url_for("/modern-cpp/en-us/00-preface/") %>">🇬🇧 Read Online</a>

website/themes/moderncpp/layout/layout.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!DOCTYPE html>
44
<html lang="en">
55
<head>
6-
<title><%- page.title ? page.title : '' %> 现代 C++ 教程: 高速上手 C++ 11/14/17/20 - Modern C++ Tutorial: C++ 11/14/17/20 On the Fly</title>
6+
<title><%- page.title ? page.title : '' %> 现代 C++ 教程: 高速上手 C++11 到 C++26 - Modern C++ Tutorial: C++11 to C++26 On the Fly</title>
77
<meta charset="utf-8">
88
<meta name="description" content="<%- theme.site_description %>">
99
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

website/themes/moderncpp/layout/partials/header.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<a id="logo" href="<%- url_for("/modern-cpp/") %>">
33
<% if (page.type == 'book-en-us') { %>
44
<img src="<%- url_for("/modern-cpp/assets/cover-2nd-en-logo.png") %>">
5-
<span>Modern C++ Tutorial: C++ 11/14/17/20 On the Fly</span>
5+
<span>Modern C++ Tutorial: C++11 to C++26 On the Fly</span>
66
<% } else {%>
77
<img src="<%- url_for("/modern-cpp/assets/cover-2nd-logo.png") %>">
8-
<span>现代 C++ 教程:高速上手 C++ 11/14/17/20</span>
8+
<span>现代 C++ 教程:高速上手 C++11C++26</span>
99
<% } %>
1010
</a>
1111
<ul id="nav">

0 commit comments

Comments
 (0)