Permalink
Browse files

use markdown syntax for resources page

  • Loading branch information...
1 parent d125d07 commit b98e45d3855798a2d82a50332ec0bbe2fe594a06 @monken monken committed Sep 3, 2011
Showing with 36 additions and 38 deletions.
  1. +1 −0 dist.ini
  2. +30 −31 root/about/resources.html
  3. +5 −7 root/static/css/about.css
View
1 dist.ini
@@ -34,6 +34,7 @@ Plack::Middleware::Session = 0
Regexp::Common::time = 0
Template::Alloy = 0
Template::Plugin::JSON = 0
+Template::Plugin::Markdown = 0
Template::Plugin::Number::Format = 0
Template::Plugin::Page = 0
Test::XPath = 0.15
View
61 root/about/resources.html
@@ -1,34 +1,33 @@
<% PROCESS inc/about-bar.html %>
<div class="content about-resources">
- <ul>
- <li>
- <span>Contact</span>
- <ul>
- <li>
- <span>Twitter</span>
- <p>Follow our Twitter account for latest updates around MetaCPAN: <a href="http://twitter.com/metacpan">@metacpan</a></p>
- </li>
- <li>
- <span>IRC</span>
- <p>This is the best place to discuss new ideas and get involved. Join us on <a href="irc://irc.perl.org/metacpan">#metacpan on irc.perl.org</a>.</p>
- </li>
- <li>
- <span>E-Mail</span>
- <p>The MetaCPAN team is also available via E-Mail at <a href="mailto:noc@metacpan.org">noc@metacpan.org</a></p>
- </li>
- </ul>
- </li>
- <li>
- <span>Source Code</span>
- <p>MetaCPAN consists of two projects:</p>
- <ul>
- <li>
- <span>The Front-End</span>
- <p>This is what you are looking at right now. The source code is on <a href="https://github.com/CPAN-API/metacpan-web">github</a>.</p>
- </li>
- <li>
- <span>The Back-End</span>
- <p>Front-End is a slim wrapper around the Back-End. It provides a REST API to data around CPAN and its eco system. The code is also on <a href="https://github.com/CPAN-API/cpan-api">github</a>.
- </li>
- </ul>
+<% USE Markdown -%>
+<% FILTER markdown %>
+# Contact
+
+## Twitter
+
+Follow our Twitter account for latest updates around MetaCPAN: [@metacpan](http://twitter.com/metacpan)
+
+## IRC
+
+This is the best place to discuss new ideas and get involved. Join us on [#metacpan on irc.perl.org](irc://irc.perl.org/metacpan).
+
+## E-Mail
+
+The MetaCPAN team is also available via E-Mail at [noc@metacpan.org](mailto:noc@metacpan.org).
+
+# Source Code
+
+MetaCPAN consists of two projects:
+
+## Front-End
+
+This is what you are looking at right now. The source code is on [github](https://github.com/CPAN-API/metacpan-web).
+
+## Back-End
+
+Front-End is a slim wrapper around the Back-End. It provides a REST API to data around CPAN and its eco system. The code is also on [github](https://github.com/CPAN-API/cpan-api).
+
+<% END %>
+
</div>
View
12 root/static/css/about.css
@@ -3,22 +3,20 @@
margin-bottom: 10px;
}
-.about-resources li span {
+.about-resources h1, .about-resources h2 {
font-weight: bold;
}
-.about-resources>ul>li>ul {
+.about-resources h2 {
margin-top: 10px;
-}
-
-.about-resources>ul>li>ul>li span {
+ font-size: 0.9em;
margin-left: 20px;
font-size: 0.9em;
- margin-bottom: 10px;
+ margin-bottom: 5px;
font-weight: bold;
}
-.about-resources li p {
+.about-resources p {
font-weight: normal;
font-size: 0.8em;
margin-left: 20px;

0 comments on commit b98e45d

Please sign in to comment.