From 8c47bb3a8619960c6bfff9c3d2e897c36364c5a5 Mon Sep 17 00:00:00 2001 From: Pratik Karki Date: Tue, 17 Oct 2017 11:42:03 +0545 Subject: [PATCH 1/8] add community.html for dev site --- docs/dev/community.html | 223 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 223 insertions(+) create mode 100644 docs/dev/community.html diff --git a/docs/dev/community.html b/docs/dev/community.html new file mode 100644 index 0000000..5f3553f --- /dev/null +++ b/docs/dev/community.html @@ -0,0 +1,223 @@ + + + + + + + + + + + + + + + + + + LFE Community Resources + + + + + + + + + + + + + + + + + +
+ + +
+ +
+ +

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!

+ +
+ +
+ +
+ + +
+ + + +
+ + + + + + + + + + + + + + + + + + From 2a87c007e1bed8d5a990538a8495abcc897c6c3b Mon Sep 17 00:00:00 2001 From: Pratik Karki Date: Tue, 17 Oct 2017 11:44:06 +0545 Subject: [PATCH 2/8] add community.html link for index.html --- docs/dev/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dev/index.html b/docs/dev/index.html index c7e3017..fbff9de 100644 --- a/docs/dev/index.html +++ b/docs/dev/index.html @@ -62,7 +62,7 @@
  • Getting Started
  • Reference
  • -
  • Community
  • +
  • Community
  • Blog
  • @@ -107,7 +107,7 @@

    Reference

    The LFE core reference materials is the right place to go when looking for the exact usage information you need.

    - +

    Community

    Want to talk with poeple who know and use LFE? Got a Question? Want to share the love? Come hang out with us!

    From cd5546bda2baa024f783169588138bf1d204335b Mon Sep 17 00:00:00 2001 From: Pratik Karki Date: Sat, 21 Oct 2017 22:06:44 +0545 Subject: [PATCH 3/8] remove ugly community.html for dev --- docs/dev/community.html | 223 ---------------------------------------- 1 file changed, 223 deletions(-) delete mode 100644 docs/dev/community.html diff --git a/docs/dev/community.html b/docs/dev/community.html deleted file mode 100644 index 5f3553f..0000000 --- a/docs/dev/community.html +++ /dev/null @@ -1,223 +0,0 @@ - - - - - - - - - - - - - - - - - - LFE Community Resources - - - - - - - - - - - - - - - - - -
    - - -
    - -
    - -

    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!

    - -
    - -
    - -
    - - -
    - - - -
    - - - - - - - - - - - - - - - - - - From 0d577e9442f62a68a10709b065105e2a8659700e Mon Sep 17 00:00:00 2001 From: Pratik Karki Date: Sat, 21 Oct 2017 22:08:53 +0545 Subject: [PATCH 4/8] fix as per the review --- docs/dev/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/dev/index.html b/docs/dev/index.html index fbff9de..c06bd85 100644 --- a/docs/dev/index.html +++ b/docs/dev/index.html @@ -62,7 +62,7 @@
  • Getting Started
  • Reference
  • -
  • Community
  • +
  • Community
  • Blog
  • @@ -107,8 +107,8 @@

    Reference

    The LFE core reference materials is the right place to go when looking for the exact usage information you need.

    - -

    Community

    + +

    Community

    Want to talk with poeple who know and use LFE? Got a Question? Want to share the love? Come hang out with us!

    From 463d44fcfc280b2b21d237e2995210cad654e601 Mon Sep 17 00:00:00 2001 From: Pratik Karki Date: Sat, 21 Oct 2017 22:11:07 +0545 Subject: [PATCH 5/8] add template for generating community page --- priv/templates/sub-page.html | 64 ++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 priv/templates/sub-page.html 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 %} From b8e9854197879fd5dd65a78ef63c631f476954d5 Mon Sep 17 00:00:00 2001 From: Pratik Karki Date: Sat, 21 Oct 2017 22:13:06 +0545 Subject: [PATCH 6/8] add function support for generating new page --- src/docs-pages.lfe | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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)))) + From 5fbb8a5a8bc4094f06ab672b5c17557fefbb7007 Mon Sep 17 00:00:00 2001 From: Pratik Karki Date: Sat, 21 Oct 2017 22:22:11 +0545 Subject: [PATCH 7/8] add functionality to generate community page --- docs/dev/index.html | 4 ++-- src/docs-routes.lfe | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/dev/index.html b/docs/dev/index.html index c06bd85..c7e3017 100644 --- a/docs/dev/index.html +++ b/docs/dev/index.html @@ -107,8 +107,8 @@

    Reference

    The LFE core reference materials is the right place to go when looking for the exact usage information you need.

    - -

    Community

    + +

    Community

    Want to talk with poeple who know and use LFE? Got a Question? Want to share the love? Come hang out with us!

    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 From 3f5ccb221ece50dedc142b262d815a05066b922f Mon Sep 17 00:00:00 2001 From: Pratik Karki Date: Sat, 21 Oct 2017 22:25:27 +0545 Subject: [PATCH 8/8] add generated community page --- docs/dev/community.html | 209 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 209 insertions(+) create mode 100644 docs/dev/community.html 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! +

    +
    +
    + + +
    + + +
    + + + +
    + + + + + + + + + + + + + + + + + +