Explorar el Código

separating community sections into separate includes

davegandy hace 12 años
padre
commit
9c7e44015b

+ 6 - 114
build/_includes/community.html

@@ -10,117 +10,9 @@
 {% endcapture %}
 {% include stripe-ad.html %}
 
-<div id="getting-support">
-  <h2 class="page-header">Getting Support</h2>
-  <p>
-    Having trouble getting Font Awesome up and running? Something not working the way you think it should? I hate that
-    I don't have time to answer Font Awesome support emails anymore. So here are some things you might wanna do:
-  </p>
-  <ol>
-    <li>
-      Make sure you've read the latest version of how to <a href="{{ page.relative_path }}get-started/">get started</a>.
-      It's been updated recently to make Font Awesome even easier to use.
-    </li>
-    <li>
-      Check out the <a href="http://stackoverflow.com/questions/tagged/font-awesome">existing questions tagged as
-      Font Awesome</a> over on Stack Overflow. Other folks might have had the same question you've had.
-    </li>
-    <li>
-      Can't find the answer to your question on Stack Overflow?
-      <a href="http://stackoverflow.com/questions/ask?tags=font-awesome">Ask a new question</a>, then
-      <a href="mailto:{{ site.font_awesome.author.email }}">send me an email</a> and I might be able to take a look.
-    </li>
-  </ol>
-</div>
-
-<section id="reporting-bugs">
-  <h2 class="page-header">Reporting Bugs</h2>
-  <p>
-    Found a problem with Font Awesome? Feel free to submit an issue on the GitHub project. But please keep the following in mind:
-  </p>
-  <ol>
-    <li>Please be nice. Font Awesome is a happy place.</li>
-    <li>Please <a href="{{ site.font_awesome.github.url }}/search?type=Issues">search</a> to see if your icon request already exists.</li>
-    <li>
-      Before opening any issue, please read the generic <a href="https://github.com/necolas/issue-guidelines">issue
-      guidelines</a>, by <a href="https://github.com/necolas/">Nicolas Gallagher</a>.
-    </li>
-    <li>
-      After doing everything above, feel free to
-      <a href="{{ site.font_awesome.github.url }}/issues/new">submit an issue</a>.
-    </li>
-  </ol>
-</section>
-
-<section id="requesting-new-icons">
-  <h2 class="page-header">Requesting New Icons</h2>
-  <p>
-    New icons mostly start as requests by the
-    <a href="{{ site.font_awesome.github.url }}/issues">Font Awesome community on GitHub</a>. Want to request a new
-    icon? Here are some things to keep in mind:
-  </p>
-  <ol>
-    <li>Please be nice. Font Awesome is a happy place.</li>
-    <li>Please <a href="{{ site.font_awesome.github.url }}/search?type=Issues">search</a> to see if your icon request already exists.</li>
-    <li>
-      Please and thank you if you include the following:
-      <ul>
-        <li>
-          Title your <a href="{{ site.font_awesome.github.url }}/issues/new?title=Icon%20Request:%20icon-name">new issue</a>
-          <code>Icon request: icon-name</code>.
-        </li>
-        <li>Include a few use cases for your requested icon. How do you plan on using it?</li>
-        <li>Attach a single color image or two that represent the idea you're going for.</li>
-      </ul>
-    </li>
-    <li>
-      Concrete objects make good icons, since abstract concepts are, well, abstract. It's harder to make an icon
-      to represent happiness. It's easier to make a smiley face. <i class="icon-smile"></i>
-    </li>
-  </ol>
-</section>
-
-<section id="submitting-pull-requests">
-  <h2 class="page-header">Submitting Pull Requests</h2>
-  Found a way to solve a bug in Font Awesome? Want to contribute new features? Here are a few things to remember:
-  <ol>
-    <li>Please submit all pull requests against *-wip branches.</li>
-    <li>All pull requests submitted against master will be sumarily closed and this guide referenced.</li>
-    <li>
-      After doing everything above, feel free to
-      <a href="{{ site.font_awesome.github.url }}/issues/new">submit a pull request</a>.
-    </li>
-  </ol>
-</section>
-
-<section id="project-milestones">
-  <h2 class="page-header">Project Milestones</h2>
-  <p>
-    Want to keep up with what's planned for Font Awesome? Check out our
-    <a href="{{ site.font_awesome.github.url }}/issues/milestones">milestones</a> on the GitHub project.
-  </p>
-</section>
-
-<section id="say-thanks">
-  <h2 class="page-header">Say Thanks</h2>
-  <p class="lead">
-    Hopefully you think Font Awesome <em>is</em> awesome. I've put hundreds of hours into the project to give back to the
-    open source community. If you'd like, here are a couple of ways you can tell me thanks for all my hard work.
-  </p>
-  <div class="row">
-    <div class="span6">
-      <h3><a href="http://www.shareagift.com/pages/giftpage.aspx?giftid=2472" target="_blank">Help me buy an iMac</a></h3>
-      <p>
-        <a href="http://www.shareagift.com/pages/giftpage.aspx?giftid=2472" target="_blank">Contribute</a> to a shiny
-        new iMac for me to keep making great icons.
-      </p>
-    </div>
-    <div class="span6">
-      <h3><a href="http://amzn.com/w/G64X58AY416W" target="_blank">My Amazon Wish List</a></h3>
-      <p>
-        Or pick something straight
-        from <a href="http://amzn.com/w/G64X58AY416W" target="_blank">my wish list</a>. Gift cards are great.
-      </p>
-    </div>
-  </div>
-</section>
+{% include community/getting-support.html %}
+{% include community/reporting-bugs.html %}
+{% include community/requesting-new-icons.html %}
+{% include community/submitting-pull-requests.html %}
+{% include community/project-milestones.html %}
+{% include community/say-thanks.html %}

+ 22 - 0
build/_includes/community/getting-support.html

@@ -0,0 +1,22 @@
+<div id="getting-support">
+  <h2 class="page-header">Getting Support</h2>
+  <p>
+    Having trouble getting Font Awesome up and running? Something not working the way you think it should? I hate that
+    I don't have time to answer Font Awesome support emails anymore. So here are some things you might wanna do:
+  </p>
+  <ol>
+    <li>
+      Make sure you've read the latest version of how to <a href="{{ page.relative_path }}get-started/">get started</a>.
+      It's been updated recently to make Font Awesome even easier to use.
+    </li>
+    <li>
+      Check out the <a href="http://stackoverflow.com/questions/tagged/font-awesome">existing questions tagged as
+      Font Awesome</a> over on Stack Overflow. Other folks might have had the same question you've had.
+    </li>
+    <li>
+      Can't find the answer to your question on Stack Overflow?
+      <a href="http://stackoverflow.com/questions/ask?tags=font-awesome">Ask a new question</a>, then
+      <a href="mailto:{{ site.font_awesome.author.email }}">send me an email</a> and I might be able to take a look.
+    </li>
+  </ol>
+</div>

+ 7 - 0
build/_includes/community/project-milestones.html

@@ -0,0 +1,7 @@
+<section id="project-milestones">
+  <h2 class="page-header">Project Milestones</h2>
+  <p>
+    Want to keep up with what's planned for Font Awesome? Check out our
+    <a href="{{ site.font_awesome.github.url }}/issues/milestones">milestones</a> on the GitHub project.
+  </p>
+</section>

+ 18 - 0
build/_includes/community/reporting-bugs.html

@@ -0,0 +1,18 @@
+<section id="reporting-bugs">
+  <h2 class="page-header">Reporting Bugs</h2>
+  <p>
+    Found a problem with Font Awesome? Feel free to submit an issue on the GitHub project. But please keep the following in mind:
+  </p>
+  <ol>
+    <li>Please be nice. Font Awesome is a happy place.</li>
+    <li>Please <a href="{{ site.font_awesome.github.url }}/search?type=Issues">search</a> to see if your icon request already exists.</li>
+    <li>
+      Before opening any issue, please read the generic <a href="https://github.com/necolas/issue-guidelines">issue
+      guidelines</a>, by <a href="https://github.com/necolas/">Nicolas Gallagher</a>.
+    </li>
+    <li>
+      After doing everything above, feel free to
+      <a href="{{ site.font_awesome.github.url }}/issues/new">submit an issue</a>.
+    </li>
+  </ol>
+</section>

+ 27 - 0
build/_includes/community/requesting-new-icons.html

@@ -0,0 +1,27 @@
+<section id="requesting-new-icons">
+  <h2 class="page-header">Requesting New Icons</h2>
+  <p>
+    New icons mostly start as requests by the
+    <a href="{{ site.font_awesome.github.url }}/issues">Font Awesome community on GitHub</a>. Want to request a new
+    icon? Here are some things to keep in mind:
+  </p>
+  <ol>
+    <li>Please be nice. Font Awesome is a happy place.</li>
+    <li>Please <a href="{{ site.font_awesome.github.url }}/search?type=Issues">search</a> to see if your icon request already exists.</li>
+    <li>
+      Please and thank you if you include the following:
+      <ul>
+        <li>
+          Title your <a href="{{ site.font_awesome.github.url }}/issues/new?title=Icon%20Request:%20icon-name">new issue</a>
+          <code>Icon request: icon-name</code>.
+        </li>
+        <li>Include a few use cases for your requested icon. How do you plan on using it?</li>
+        <li>Attach a single color image or two that represent the idea you're going for.</li>
+      </ul>
+    </li>
+    <li>
+      Concrete objects make good icons, since abstract concepts are, well, abstract. It's harder to make an icon
+      to represent happiness. It's easier to make a smiley face. <i class="icon-smile"></i>
+    </li>
+  </ol>
+</section>

+ 23 - 0
build/_includes/community/say-thanks.html

@@ -0,0 +1,23 @@
+<section id="say-thanks">
+  <h2 class="page-header">Say Thanks</h2>
+  <p class="lead">
+    Hopefully you think Font Awesome <em>is</em> awesome. I've put hundreds of hours into the project to give back to the
+    open source community. If you'd like, here are a couple of ways you can tell me thanks for all my hard work.
+  </p>
+  <div class="row">
+    <div class="span6">
+      <h3><a href="http://www.shareagift.com/pages/giftpage.aspx?giftid=2472" target="_blank">Help me buy an iMac</a></h3>
+      <p>
+        <a href="http://www.shareagift.com/pages/giftpage.aspx?giftid=2472" target="_blank">Contribute</a> to a shiny
+        new iMac for me to keep making great icons.
+      </p>
+    </div>
+    <div class="span6">
+      <h3><a href="http://amzn.com/w/G64X58AY416W" target="_blank">My Amazon Wish List</a></h3>
+      <p>
+        Or pick something straight
+        from <a href="http://amzn.com/w/G64X58AY416W" target="_blank">my wish list</a>. Gift cards are great.
+      </p>
+    </div>
+  </div>
+</section>

+ 12 - 0
build/_includes/community/submitting-pull-requests.html

@@ -0,0 +1,12 @@
+<section id="submitting-pull-requests">
+  <h2 class="page-header">Submitting Pull Requests</h2>
+  Found a way to solve a bug in Font Awesome? Want to contribute new features? Here are a few things to remember:
+  <ol>
+    <li>Please submit all pull requests against *-wip branches.</li>
+    <li>All pull requests submitted against master will be sumarily closed and this guide referenced.</li>
+    <li>
+      After doing everything above, feel free to
+      <a href="{{ site.font_awesome.github.url }}/issues/new">submit a pull request</a>.
+    </li>
+  </ol>
+</section>