-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create new community page #125
Open
prertik
wants to merge
8
commits into
lfe:master
Choose a base branch
from
prertik:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
8c47bb3
add community.html for dev site
prertik 2a87c00
add community.html link for index.html
prertik cd5546b
remove ugly community.html for dev
prertik 0d577e9
fix as per the review
prertik 463d44f
add template for generating community page
prertik b8e9854
add function support for generating new page
prertik 5fbb8a5
add functionality to generate community page
prertik 3f5ccb2
add generated community page
prertik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
|
||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||
<meta http-equiv="Content-Language" content="en-us" /> | ||
<meta http-equiv="imagetoolbar" content="false" /> | ||
<meta name="MSSmartTagsPreventParsing" content="true" /> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
<link rel="icon" href="/dev/favicon.ico"> | ||
|
||
<title></title> | ||
|
||
<!-- LFE Bootstrap Theme CSS --> | ||
<link href="/dev/css/bootstrap-min.css" rel="stylesheet"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | ||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans|Josefin+Slab" rel="stylesheet"> | ||
|
||
</head> | ||
|
||
|
||
<body> | ||
|
||
|
||
<nav class="navbar navbar-default navbar-fixed-top"> | ||
|
||
<div class="container"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="/dev/"></a> | ||
</div> | ||
<div id="navbar" class="navbar-collapse collapse"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li class="active"><a href="http://lfe.io/">LFE</a></li> | ||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Docs <span class="caret"></span></a> | ||
<ul class="dropdown-menu"> | ||
<li><a href="/current/index.html">Current</a></li> | ||
<li><a href="/dev/index.html">Dev</a></li> | ||
<li><a href="/v1.2/index.html">v1.2</a></li> | ||
<li><a href="/v0.10/index.html">v0.10</a></li> | ||
<li><a href="/v0.9/index.html">v0.9</a></li> | ||
<li><a href="/v0.8/index.html">v0.8</a></li> | ||
<li><a href="/v0.7/index.html">v0.7</a></li> | ||
</ul> | ||
</li> | ||
<li><a href="#start">Getting Started</a></li> | ||
<li><a href="#reference">Reference</a></li> | ||
<li><a href="#community">Community</a></li> | ||
<li><a href="http://blog.lfe.io/">Blog</a></li> | ||
</ul> | ||
</div><!--/.nav-collapse --> | ||
</div> | ||
|
||
</nav> | ||
|
||
|
||
<main> | ||
|
||
<div class="wrapper"> | ||
<section> | ||
<h1>LFE Community Resources</h1> | ||
<h2>Mail List and Social Media</h2> | ||
<p>If you'd like to ask questions or just keep in touch with the project, you can do so via: | ||
</p> | ||
<ul> | ||
<li>Our Project <a href="https://twitter.com/ErlangLisp">Twitter account</a> where we chatter about related topics</li> | ||
<li>Our low-volume <a href="http://groups.google.com/group/lisp-flavoured-erlang">forum/mail list</a>on Google Groups</li> | ||
<li>We have an IRC channel -- come by and say "hi" on <a href="https://kiwiirc.com/client/irc.freenode/net/#erlang-lisp">#erlang-lisp</a> (Freenode.net)</li> | ||
<li>A <a href="https://plus.google.com/u/1/communities/103919485468949397234">Google+ Community</a></li> | ||
</ul> | ||
|
||
<h2>Blogs, News, and Wikis</h2> | ||
<ul> | ||
|
||
<li>The LFE/LFEX <a href="http://plan.lfe.io/">.plan</a> file</li> | ||
<li>An <a href="http://blog.lfe.io/">LFE news, tutorials, and updates blog</a></li> | ||
<li><a href="http://rvirding.blogspot.com/">Robert Virding's blog</a></li> | ||
<li><a href="http://oubiwann.blogspot.com/search/label/lfe">Duncan McGreggor's blog</a></li> | ||
<li><a href="https://en.wikipedia.org/wiki/LFE_(programming_language)">LFE on Wikipedia</a></li> | ||
<li>An <a href="https://erlangcentral.org/wiki/index.php/Lisp_Flavoured_Erlang">LFE intro</a> on Erlang Central</li> | ||
<li><a href="https://paper.li/ErlangLisp/1397422779">LFE Sunday Times</a></li> | ||
|
||
</ul> | ||
|
||
<h2>Code</h2> | ||
|
||
<ul> | ||
<li><a href="https://github.com/rvirding/lfe">LFE master</a> and | ||
<a href="https://github.com/rvirding/lfe/tree/develop">develop</a> branches</li> | ||
<li>The <a href="https://github.com/lfex">LFE Exchange</a> on Github which has a massive collection of LFE projects</li> | ||
<li>The LFE <a href="https://github.com/lfe/docs">docs site repo</a></li> | ||
<li>The LFE <a href="https://github.com/lfe/blog">blog site repo</a></li> | ||
<li>The repo for the LFE <a href="https://github.com/lfe/lfe.github.io">main web site source</a></li> | ||
<li>LFE examples on <a href="http://rosettacode.org/wiki/Category:LFE">Rosetta Code</a></li> | ||
<li>The LFE <a href="https://www.ohloh.net/p/lfe">project page</a> on Ohloh.</li> | ||
</ul> | ||
|
||
<h2>Video and Presentations</h2> | ||
|
||
<p>Our <a href="/current/presentations.html">presentations page</a> has recorded video of LFE talks, slide decks, and screencasts.</p> | ||
|
||
<h2>Additional Resources</h2> | ||
|
||
<ul> | ||
<li>On <a href="http://news.ycombinator.com/item?id=286288">Hacker News</a></li> | ||
<li><a href="http://blog.ericbmerritt.com/2011/08/22/enhancing-lisp-flavored-erlang.html">Enhancing LFE</a></li> | ||
<li>A <a href="https://bitbucket.org/birkenfeld/pygments-main/pull-request/25/lisp-flavored-erlang-lexer/diff">pull request</a> for pygments LFE support</li> | ||
<li>A <a href="https://github.com/lfe/vim-lfe">Vim plugin</a> for LFE</li> | ||
<li>A <a href="https://melpa.org/#/lfe-mode">Emacs Mode</a>for LFE</li> | ||
</ul> | ||
|
||
<h2>Code from the Wild</h2> | ||
|
||
<p>Be sure to check out the <a href="/current/examples.html">Examples page</a>, as we have collected a list of project and code samples that folks have put up in various corners of Github -- all for your convenience! | ||
</p> | ||
</section> | ||
</div> | ||
|
||
|
||
</main> | ||
|
||
|
||
<div class="container"> | ||
|
||
<footer class="footer"> | ||
|
||
<div class="row"> | ||
<div class="col-lg-12 center-block text-center footer-buffer"> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-lg-12 text-center footer-buffer4x"> | ||
<p></p> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-lg-5 text-center"> | ||
<ul> | ||
<li><a href="/dev/tutorials/">Tutorials</a></li> | ||
<li><a href="/dev/presentations/">Presentations</a></li> | ||
<li><a href="/dev/history/">History</a></li> | ||
<li><a href="http://github.com/lfex">LFEX</a></li> | ||
</ul> | ||
</div> | ||
<div class="col-lg-2 text-center"> | ||
<span> | ||
<a href="http://lfe.io/"> | ||
<img src="/dev/images/logos/lfe-tiny-grey-square.png"/></a> | ||
</span> | ||
</div> | ||
<div class="col-lg-5 text-center"> | ||
<ul> | ||
<li><a href="/dev/contributing">Contributing</a></li> | ||
<li><a href="http://github.com/lfe/docs2/issues">Docs Tickets</a></li> | ||
<li><a href="http://blog.lfe.io/">Blog</a></li> | ||
<li><a href="http://twitter.com/ErlangLisp">Twitter</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-lg-2"></div> | ||
<div class="col-lg-8 center-block text-center footer-buffer"> | ||
<div class="copyright"> | ||
<p>LFE Design and Content © 2013-2017 LFEminati | Alien Alliance | ||
</p> | ||
</div> | ||
<div class="col-lg-2"></div> | ||
</div> | ||
</div> | ||
|
||
</footer> | ||
|
||
</div> | ||
|
||
|
||
|
||
|
||
<!-- Bootstrap core JavaScript | ||
================================================== --> | ||
<!-- Placed at the end of the document so the pages load faster --> | ||
<script src="/dev/js/jquery-1.12.1.min.js"></script> | ||
<script>window.jQuery || document.write('<script src="/dev/js/jquery-1.12.1.min.js"><\/script>')</script> | ||
<script src="/dev/js/bootstrap-3.3.6.min.js"></script> | ||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> | ||
<script src="/dev/js/lfe.js"></script> | ||
|
||
|
||
|
||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block main_content %} | ||
<div class="wrapper"> | ||
<section> | ||
<h1>LFE Community Resources</h1> | ||
<h2>Mail List and Social Media</h2> | ||
<p>If you'd like to ask questions or just keep in touch with the project, you can do so via: | ||
</p> | ||
<ul> | ||
<li>Our Project <a href="https://twitter.com/ErlangLisp">Twitter account</a> where we chatter about related topics</li> | ||
<li>Our low-volume <a href="http://groups.google.com/group/lisp-flavoured-erlang">forum/mail list</a>on Google Groups</li> | ||
<li>We have an IRC channel -- come by and say "hi" on <a href="https://kiwiirc.com/client/irc.freenode/net/#erlang-lisp">#erlang-lisp</a> (Freenode.net)</li> | ||
<li>A <a href="https://plus.google.com/u/1/communities/103919485468949397234">Google+ Community</a></li> | ||
</ul> | ||
|
||
<h2>Blogs, News, and Wikis</h2> | ||
<ul> | ||
|
||
<li>The LFE/LFEX <a href="http://plan.lfe.io/">.plan</a> file</li> | ||
<li>An <a href="http://blog.lfe.io/">LFE news, tutorials, and updates blog</a></li> | ||
<li><a href="http://rvirding.blogspot.com/">Robert Virding's blog</a></li> | ||
<li><a href="http://oubiwann.blogspot.com/search/label/lfe">Duncan McGreggor's blog</a></li> | ||
<li><a href="https://en.wikipedia.org/wiki/LFE_(programming_language)">LFE on Wikipedia</a></li> | ||
<li>An <a href="https://erlangcentral.org/wiki/index.php/Lisp_Flavoured_Erlang">LFE intro</a> on Erlang Central</li> | ||
<li><a href="https://paper.li/ErlangLisp/1397422779">LFE Sunday Times</a></li> | ||
|
||
</ul> | ||
|
||
<h2>Code</h2> | ||
|
||
<ul> | ||
<li><a href="https://github.com/rvirding/lfe">LFE master</a> and | ||
<a href="https://github.com/rvirding/lfe/tree/develop">develop</a> branches</li> | ||
<li>The <a href="https://github.com/lfex">LFE Exchange</a> on Github which has a massive collection of LFE projects</li> | ||
<li>The LFE <a href="https://github.com/lfe/docs">docs site repo</a></li> | ||
<li>The LFE <a href="https://github.com/lfe/blog">blog site repo</a></li> | ||
<li>The repo for the LFE <a href="https://github.com/lfe/lfe.github.io">main web site source</a></li> | ||
<li>LFE examples on <a href="http://rosettacode.org/wiki/Category:LFE">Rosetta Code</a></li> | ||
<li>The LFE <a href="https://www.ohloh.net/p/lfe">project page</a> on Ohloh.</li> | ||
</ul> | ||
|
||
<h2>Video and Presentations</h2> | ||
|
||
<p>Our <a href="/current/presentations.html">presentations page</a> has recorded video of LFE talks, slide decks, and screencasts.</p> | ||
|
||
<h2>Additional Resources</h2> | ||
|
||
<ul> | ||
<li>On <a href="http://news.ycombinator.com/item?id=286288">Hacker News</a></li> | ||
<li><a href="http://blog.ericbmerritt.com/2011/08/22/enhancing-lisp-flavored-erlang.html">Enhancing LFE</a></li> | ||
<li>A <a href="https://bitbucket.org/birkenfeld/pygments-main/pull-request/25/lisp-flavored-erlang-lexer/diff">pull request</a> for pygments LFE support</li> | ||
<li>A <a href="https://github.com/lfe/vim-lfe">Vim plugin</a> for LFE</li> | ||
<li>A <a href="https://melpa.org/#/lfe-mode">Emacs Mode</a>for LFE</li> | ||
</ul> | ||
|
||
<h2>Code from the Wild</h2> | ||
|
||
<p>Be sure to check out the <a href="/current/examples.html">Examples page</a>, as we have collected a list of project and code samples that folks have put up in various corners of Github -- all for your convenience! | ||
</p> | ||
</section> | ||
</div> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So ... this is a lot of duplication of the index.html. We should use https://github.com/erlydtl/erlydtl instead. LFE Dragon uses erlydtl. Check out the following:
docs-gen
)('landing path)
clause which generates the dev index page ... this can serve the basis of the new community page)Let's keep this PR open, and we'll just iterate here, as you push your changes for my review.
This is a good start :-)
(more comments below)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, i'm kind of confused because of my unfamiliarity with the tool. Can you tell me a correct way to generate new community.html?
should I do:
(docs-pages:get-page 'landing '/dev/community.html)
??There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bit more involved; you'll have to look at how the landing page is done. I can review that, but it will be a week or two (I'm in the middle of a move and don't have the chunks of time needed to instruct on this).