Skip to content

Commit 7226f06

Browse files
1 parent 69d4994 commit 7226f06

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

1365/contrib.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6742,9 +6742,9 @@ <h3 id="setting-the-html-title">Setting the HTML Title<a class="headerlink" href
67426742
</code></pre></div>
67436743
<h3 id="handling-redirects">Handling Redirects<a class="headerlink" href="#handling-redirects" title="Permanent link">&para;</a></h3>
67446744
<p>If you move or rename an article, make sure to set up a redirect. A redirect file should look like this:</p>
6745-
<div class="highlight"><pre><span></span><code>&lt;meta http-equiv=&quot;refresh&quot; content=&quot;0; url=/&lt;new-section&gt;/&lt;new-article&gt;.html&quot;&gt;
6745+
<div class="highlight"><pre><span></span><code>&lt;meta http-equiv=&quot;refresh&quot; content=&quot;0; url=../new-section/new-article.html&quot;&gt;
67466746
<span class="gh"># Article Name</span>
6747-
This article has been moved to a [<span class="nt">new location</span>](<span class="na">&lt;new-section&gt;/&lt;new-article&gt;.md</span>).
6747+
This article has been moved to a [<span class="nt">new location</span>](<span class="na">new-section/new-article.md</span>).
67486748
</code></pre></div>
67496749
<h3 id="maintaining-anchor-links">Maintaining Anchor Links<a class="headerlink" href="#maintaining-anchor-links" title="Permanent link">&para;</a></h3>
67506750
<p>If you rename a section, the link to that section might break. To avoid this, add an anchor manually:</p>

0 commit comments

Comments
 (0)