diff --git a/docs/dev/community.html b/docs/dev/community.html new file mode 100644 index 0000000..dcfac73 --- /dev/null +++ b/docs/dev/community.html @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+

LFE Community Resources

+

Mail List and Social Media

+

If you'd like to ask questions or just keep in touch with the project, you can do so via: +

+ + +

Blogs, News, and Wikis

+ + +

Code

+ + + +

Video and Presentations

+ +

Our presentations page has recorded video of LFE talks, slide decks, and screencasts.

+ +

Additional Resources

+ + + +

Code from the Wild

+ +

Be sure to check out the Examples page, 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! +

+
+
+ + +
+ + +
+ + + +
+ + + + + + + + + + + + + + + + + + diff --git a/priv/templates/sub-page.html b/priv/templates/sub-page.html new file mode 100644 index 0000000..3ece5bf --- /dev/null +++ b/priv/templates/sub-page.html @@ -0,0 +1,64 @@ +{% extends "base.html" %} + +{% block main_content %} +
+
+

LFE Community Resources

+

Mail List and Social Media

+

If you'd like to ask questions or just keep in touch with the project, you can do so via: +

+ + +

Blogs, News, and Wikis

+ + +

Code

+ + + +

Video and Presentations

+ +

Our presentations page has recorded video of LFE talks, slide decks, and screencasts.

+ +

Additional Resources

+ + + +

Code from the Wild

+ +

Be sure to check out the Examples page, 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! +

+
+
+ +{% endblock %} diff --git a/src/docs-pages.lfe b/src/docs-pages.lfe index 37a622e..ffbd453 100644 --- a/src/docs-pages.lfe +++ b/src/docs-pages.lfe @@ -34,4 +34,10 @@ (clj:-> path (docs-data:base) (example_two_column-tmpl:render) - (get-content)))) + (get-content))) + (('sub-page path) + (clj:-> path + (docs-data:base) + (sub-page-tmpl:render) + (get-content)))) + diff --git a/src/docs-routes.lfe b/src/docs-routes.lfe index 906132a..eccf77c 100644 --- a/src/docs-routes.lfe +++ b/src/docs-routes.lfe @@ -7,7 +7,9 @@ ("design/bootstrap-theme.html" ,(lambda () (docs-pages:get-page 'bootstrap-theme path))) ("design/example-2-column.html" - ,(lambda () (docs-pages:get-page 'example-two-column path))))) + ,(lambda () (docs-pages:get-page 'example-two-column path))) + ("community.html" + ,(lambda () (docs-pages:get-page 'sub-page path))))) (defun get-site (path) (poise:site