Skip to content

Commit

Permalink
fix more links
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed Jun 22, 2016
1 parent 1129337 commit ee928fc
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions root/about.html
Expand Up @@ -18,12 +18,12 @@

MetaCPAN has two parts:

* [metacpan.org](https://metacpan.org), a front end to...
* [api-v1.metacpan.org](http://api-v1.metacpan.org/) the API
* [v1.metacpan.org](https://v1.metacpan.org), a front end to...

This comment has been minimized.

Copy link
@ranguard

ranguard Jun 22, 2016

Member

We shouldn't change this - as once stable we will drop the 'v1' and redirect it to https://metacpan.org/

* [v1-api.metacpan.org](http://api-v1.metacpan.org/) the API

This comment has been minimized.

Copy link
@ranguard

ranguard Jun 22, 2016

Member

This is wrong, it's api-v1


So
[https://metacpan.org/module/Moose](https://metacpan.org/module/Moose)
vs [http://api-v1.metacpan.org/module/Moose](http://api-v1.metacpan.org/module/Moose)
[https://v1.metacpan.org/module/Moose](https://v1.metacpan.org/module/Moose)
vs [http://api.metacpan.org/module/Moose](http://api-v1.metacpan.org/module/Moose)

MetaCPAN is [a community effort](/about/contributors), with all the code freely
available on GitHub ([www](https://github.com/CPAN-API/metacpan-web),
Expand Down
2 changes: 1 addition & 1 deletion root/about/sponsors.html
Expand Up @@ -177,7 +177,7 @@
<p>MetaCPAN.org (the search site) probably would not exist
if it weren't for Google. This site was originally built
as a layer on top of the MetaCPAN API by <a
href="https://metacpan.org/author/PERLER">Moritz Onken</a>
href="/author/PERLER">Moritz Onken</a>
as part of his Google Summer of Code (GSoC) project. In
2014 GSoC also sponsored Talina Shrotriya's work on
MetaCPAN. We're not actually sure if we're allowed to use
Expand Down
2 changes: 1 addition & 1 deletion root/author.html
Expand Up @@ -87,7 +87,7 @@
<a class="FlattrButton" style="display:none;"
title="<% author.name %> (<% author.pauseid %>) on MetaCPAN"
rev="flattr;uid:<% donate.id %>;button:compact;category:software;tags:perl,cpan,metacpan;"
href="https://metacpan.org/author/<% author.pauseid %>"
href="/author/<% author.pauseid %>"
language="en_GB" >
<% author.name %> is <% author.pauseid %> on CPAN, the Comprehensive Perl Archive Network.
</a>
Expand Down
2 changes: 1 addition & 1 deletion root/inc/module-install.html
Expand Up @@ -10,7 +10,7 @@ <h4 class="modal-title">Module Install Instructions</h4>
<p><a href="/pod/distribution/App-cpanminus/bin/cpanm">cpanm</a></p>
<pre>
cpanm <% module.documentation or module.module.0.name or release.main_module or (release.author _ "/" _ release.archive) %></pre>
<p><a href="https://metacpan.org/pod/CPAN">CPAN shell</a></p>
<p><a href="/pod/CPAN">CPAN shell</a></p>
<pre>
perl -MCPAN -e shell
install <% module.documentation or module.module.0.name or release.main_module or (release.author _ "/" _ release.archive) %></pre>
Expand Down
4 changes: 2 additions & 2 deletions root/static/opensearch.xml
Expand Up @@ -8,7 +8,7 @@
<AdultContent>false</AdultContent>
<Language>en-us</Language>
<SyndicationRight>open</SyndicationRight>
<Image height="16" width="16" type="image/x-icon">https://metacpan.org/static/icons/favicon-16.ico</Image>
<Url type="text/html" template="https://metacpan.org/search?q={searchTerms}" />
<Image height="16" width="16" type="image/x-icon">https://v1.metacpan.org/static/icons/favicon-16.ico</Image>
<Url type="text/html" template="/search?q={searchTerms}" />
<Tags>CPAN MetaCPAN Perl</Tags>
</OpenSearchDescription>
4 changes: 2 additions & 2 deletions root/wrapper.html
Expand Up @@ -39,14 +39,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title><% IF title; title; ELSE; 'Search the CPAN'; END %> - metacpan.org</title>
<%- IF rss %>
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://metacpan.org/feed/<% rss %>" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="/feed/<% rss %>" />
<%- END %>
<%- FOREACH css IN req.env.item('psgix.assets').grep(/\.css$/) %>
<link href="<% css %>" rel="stylesheet" type="text/css">
<%- END %>
<link rel="search" href="/static/opensearch.xml" type="application/opensearchdescription+xml" title="MetaCPAN">
<%- IF canonical %>
<link rel="canonical" href="https://metacpan.org<% canonical %>" />
<link rel="canonical" href="<% canonical %>" />
<%- END %>
<%- IF meta_description %>
<meta name="description" content="<% meta_description %>" />
Expand Down

0 comments on commit ee928fc

Please sign in to comment.