<commit_before>-module (downloads).
-include_lib ("nitrogen/include/wf.hrl").
-compile(export_all).

main() -> #template { file="./templates/grid.html" }.

title() -> "Downloads".

layout() -> 
    #container_12 { body=[
        #grid_12 { class=header, body=common:header(downloads) },
        #grid_clear {},

        #grid_10 { alpha=true, omega=true, prefix=1, suffix=1, class=headline, body=headline() },
        #grid_clear {},

        #grid_5 { prefix=1, alpha=true, body=left(), class=pad_right },
        #grid_5 { suffix=1, omega=true, body=right() },
        #grid_clear {},

        #grid_12 { body=common:footer() }
    ]}.

headline() -> "Downloads".

left() -> 
    [
        " 
        Select a link to the right to download the Nitrogen 2.0
        environment for your platform. Each download is a self-contained
        installation of Nitrogen that includes both Erlang and a web 
        server. (In other words, you don't need to have Erlang installed 
        to run this.)
        <p>
        You have a choice between three popular Erlang web servers:
        <p>
        <ul>
        <li>Mochiweb - Erlang HTTP server developed by <NAME>/MochiMedia.</li>
        <li>Yaws - Erlang HTTP server developed by Claes \"Klacke\" Wikstrom.</li>
        <li>Inets - Lightweight HTTP server built into Erlang.
        </ul>
        <p>
        Either Mochiweb or Yaws is recommended for production
        use. Whichever one you choose is up to personal preference,
        but Inets is not recommended for running in production because
        it does not yet include content-caching/expiration headers, which
        can cause slow loadtimes.
        <p>
        These packages were generated from Nitrogen source code by running 
        <b>make package_inets</b>, <b>make package_mochiweb</b>, 
        <b>make package_webmachine</b> and <b>make package_yaws</b>.
        <p>
        Alternatively, if you plan on contributing to the Nitrogen
        source code, you can download the source tree from GitHub.<commit_msg>Add webmachine blurb on downloads page.<commit_after>-module (downloads).
-include_lib ("nitrogen/include/wf.hrl").
-compile(export_all).

main() -> #template { file="./templates/grid.html" }.

title() -> "Downloads".

layout() -> 
    #container_12 { body=[
        #grid_12 { class=header, body=common:header(downloads) },
        #grid_clear {},

        #grid_10 { alpha=true, omega=true, prefix=1, suffix=1, class=headline, body=headline() },
        #grid_clear {},

        #grid_5 { prefix=1, alpha=true, body=left(), class=pad_right },
        #grid_5 { suffix=1, omega=true, body=right() },
        #grid_clear {},

        #grid_12 { body=common:footer() }
    ]}.

headline() -> "Downloads".

left() -> 
    [
        " 
        Select a link to the right to download the Nitrogen 2.0
        environment for your platform. Each download is a self-contained
        installation of Nitrogen that includes both Erlang and a web 
        server. (In other words, you don't need to have Erlang installed 
        to run this.)
        <p>
        You have a choice between three popular Erlang web servers:
        <p>
        <ul>
        <li>Mochiweb - HTTP server developed by <NAME>/MochiMedia.</li>
        <li>Yaws - HTTP server developed by Claes \"Klacke\" Wikstrom.</li>
        <li>Webmachine - HTTP resource server developed by Basho Technologies (runs on Mochiweb under the hood.)</li>
        <li>Inets - Lightweight HTTP server built into Erlang.
        </ul>
        <p>
        Either Mochiweb or Yaws is recommended for production
        use. Whichever one you choose is up to personal preference,
        but Inets is not recommended for running in production because
        it does not yet include content-caching/expiration headers, which
        can cause slow loadtimes.
        <p>
        These packages were generated from Nitrogen source code by running 
        <b>make package_inets</b>, <b>make package_mochiweb</b>, 
        <b>make package_webmachine</b> and <b>make package_yaws</b>.
        <p>
        Alternatively, if you plan on contributing to the Nitrogen
        source code, you can download the source tree from GitHub.
{'fraction_non_alphanumeric': 0.10578747628083492, 'fraction_numerical': 0.007590132827324478, 'mean_word_length': 2.5170975813177647, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 15, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4304456', 'n_tokens_mistral': 1265, 'n_tokens_neox': 1204, 'n_words': 420}