Skip to content

Commit aa2fe74

Browse files
committed
Use Jekyll to build site [WIP]
1 parent 212ec63 commit aa2fe74

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+695
-407
lines changed

.DS_Store

6 KB
Binary file not shown.

.gitignore

+3-33
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,3 @@
1-
2-
#ignore thumbnails created by windows
3-
Thumbs.db
4-
#Ignore files build by Visual Studio
5-
*.obj
6-
*.exe
7-
*.pdb
8-
*.user
9-
*.aps
10-
*.pch
11-
*.vspscc
12-
*_i.c
13-
*_p.c
14-
*.ncb
15-
*.suo
16-
*.tlb
17-
*.tlh
18-
*.bak
19-
*.cache
20-
*.ilk
21-
*.log
22-
[Bb]in
23-
[Dd]ebug*/
24-
*.lib
25-
*.sbr
26-
obj/
27-
[Rr]elease*/
28-
_ReSharper*/
29-
[Tt]est[Rr]esult*
30-
packages/
31-
.nuget/
32-
docs/output/
33-
temp/
1+
_site
2+
.sass-cache
3+
.jekyll-metadata

404.html

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: default
3+
title: Not Found
4+
---
5+
6+
<div class="container">
7+
<h1>404</h1>
8+
9+
<p><strong>Page not found :(</strong></p>
10+
<p>The requested page could not be found.</p>
11+
</div>
19.6 KB
Loading

Content/style.css

+6-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ body {
1212

1313
.c4-header {
1414
color: #fff;
15-
background-color: #497c3d;
15+
background-color: #F99D25;
1616
padding: 30px 15px 40px; /* side padding builds on .container 15px, so 30px */
1717
font-size: 16px;
1818
text-align: center;
@@ -21,6 +21,11 @@ body {
2121

2222
.c4-header h1 {
2323
color: #fff;
24+
width: 100%;
25+
}
26+
27+
.c4-header h1 img {
28+
width: 100%;
2429
}
2530

2631
.c4-header p {

Content/style.min.css

-1
This file was deleted.

Gemfile

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
source "https://rubygems.org"
2+
3+
# Hello! This is where you manage which Jekyll version is used to run.
4+
# When you want to use a different version, change it below, save the
5+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
6+
#
7+
# bundle exec jekyll serve
8+
#
9+
# This will help ensure the proper Jekyll version is running.
10+
# Happy Jekylling!
11+
gem "jekyll", "~> 3.8.6"
12+
13+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
14+
gem "minima", "~> 2.0"
15+
16+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
17+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
18+
# gem "github-pages", group: :jekyll_plugins
19+
20+
# If you have any plugins, put them here!
21+
group :jekyll_plugins do
22+
gem "jekyll-feed", "~> 0.6"
23+
end
24+
25+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
26+
# and associated library.
27+
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
28+
gem "tzinfo", "~> 1.2"
29+
gem "tzinfo-data"
30+
end
31+
32+
# Performance-booster for watching directories on Windows
33+
gem "wdm", "~> 0.1.0", :install_if => Gem.win_platform?
34+

Gemfile.lock

+82
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.6.0)
5+
public_suffix (>= 2.0.2, < 4.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.1.5)
8+
em-websocket (0.5.1)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0.6.0)
11+
eventmachine (1.2.7)
12+
ffi (1.11.1)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.6.0)
15+
i18n (0.9.5)
16+
concurrent-ruby (~> 1.0)
17+
jekyll (3.8.6)
18+
addressable (~> 2.4)
19+
colorator (~> 1.0)
20+
em-websocket (~> 0.5)
21+
i18n (~> 0.7)
22+
jekyll-sass-converter (~> 1.0)
23+
jekyll-watch (~> 2.0)
24+
kramdown (~> 1.14)
25+
liquid (~> 4.0)
26+
mercenary (~> 0.3.3)
27+
pathutil (~> 0.9)
28+
rouge (>= 1.7, < 4)
29+
safe_yaml (~> 1.0)
30+
jekyll-feed (0.12.1)
31+
jekyll (>= 3.7, < 5.0)
32+
jekyll-sass-converter (1.5.2)
33+
sass (~> 3.4)
34+
jekyll-seo-tag (2.6.1)
35+
jekyll (>= 3.3, < 5.0)
36+
jekyll-watch (2.2.1)
37+
listen (~> 3.0)
38+
kramdown (1.17.0)
39+
liquid (4.0.3)
40+
listen (3.1.5)
41+
rb-fsevent (~> 0.9, >= 0.9.4)
42+
rb-inotify (~> 0.9, >= 0.9.7)
43+
ruby_dep (~> 1.2)
44+
mercenary (0.3.6)
45+
minima (2.5.0)
46+
jekyll (~> 3.5)
47+
jekyll-feed (~> 0.9)
48+
jekyll-seo-tag (~> 2.1)
49+
pathutil (0.16.2)
50+
forwardable-extended (~> 2.6)
51+
public_suffix (3.1.1)
52+
rb-fsevent (0.10.3)
53+
rb-inotify (0.10.0)
54+
ffi (~> 1.0)
55+
rouge (3.6.0)
56+
ruby_dep (1.5.0)
57+
safe_yaml (1.0.5)
58+
sass (3.7.4)
59+
sass-listen (~> 4.0.0)
60+
sass-listen (4.0.0)
61+
rb-fsevent (~> 0.9, >= 0.9.4)
62+
rb-inotify (~> 0.9, >= 0.9.7)
63+
thread_safe (0.3.6)
64+
tzinfo (1.2.5)
65+
thread_safe (~> 0.1)
66+
tzinfo-data (1.2019.2)
67+
tzinfo (>= 1.0.0)
68+
wdm (0.1.1)
69+
70+
PLATFORMS
71+
ruby
72+
73+
DEPENDENCIES
74+
jekyll (~> 3.8.6)
75+
jekyll-feed (~> 0.6)
76+
minima (~> 2.0)
77+
tzinfo (~> 1.2)
78+
tzinfo-data
79+
wdm (~> 0.1.0)
80+
81+
BUNDLED WITH
82+
1.17.2

_config.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
11+
# Site settings
12+
# These are used to personalize your new site. If you look in the HTML files,
13+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
14+
# You can create any custom variable you would like, and they will be accessible
15+
# in the templates via {{ site.myvariable }}.
16+
title: Community for F#
17+
18+
description: >- # this means to ignore newlines until "baseurl:"
19+
The Community for F# provides live streaming and recordings of user group presentations,
20+
as well as content for you to use in presenting to your own local user groups.
21+
baseurl: "" # the subpath of your site, e.g. /blog
22+
url: "https://c4fsharp.net" # the base hostname & protocol for your site, e.g. http://example.com
23+
twitter_username: c4fsharp
24+
github_username: c4fsharp
25+
26+
# Build settings
27+
markdown: kramdown
28+
#theme: minima
29+
#plugins:
30+
# - jekyll-feed
31+
32+
# Exclude from processing.
33+
# The following items will not be processed, by default. Create a custom list
34+
# to override the default setting.
35+
# exclude:
36+
# - Gemfile
37+
# - Gemfile.lock
38+
# - node_modules
39+
# - vendor/bundle/
40+
# - vendor/cache/
41+
# - vendor/gems/
42+
# - vendor/ruby/

_includes/footer.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<footer class="c4-footer" role="contentinfo">
2+
<div class="container">
3+
<p>Hosted on GitHub Pages</p>
4+
<p>Built and maintained by <a href="http://twitter.com/panesofglass">@panesofglass</a>, <a href="http://twitter.com/brandewinder">@brandewinder</a>, and <a href="http://twitter.com/reedcopsey">@reedcopsey</a></p>
5+
<p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
6+
<p>Community for F# does not represent the views or opinions of <a href="https://github.com/Microsoft/visualfsharp">Visual F#</a> or the <a href="http://fsharp.org/">F# Software Foundation</a>.</p>
7+
</div>
8+
</footer>

_includes/header.html

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<div class="c4-header" id="content">
2+
<div class="container">
3+
<header>
4+
<h1><img src="Assets/FS002-Community-for-F-Sharp-Logo-BL.png" alt="Community for F#" /></h1>
5+
</header>
6+
<p>
7+
The Community for F# provides resources to connect you to the F# community. This includes information about existing events and user groups,
8+
live streaming and recordings of user group presentations, as well as content for you to use in presenting to your own local user groups.
9+
</p>
10+
<!-- Use this space for the slidedeck. -->
11+
</div>
12+
</div>

_includes/navigation.html

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<header class="navbar navbar-inverse navbar-fixed-top c4-docs-nav" role="banner">
2+
<div class="container">
3+
<div class="navbar-header">
4+
<a class="c4-brand navbar-brand" href="/">Community for F#</a>
5+
</div>
6+
<nav class="navbar-collapse collapse" role="navigation">
7+
<ul class="nav navbar-nav">
8+
<li><a href="http://twitter.com/c4fsharp">Twitter</a></li>
9+
<li><a href="https://github.com/c4fsharp">GitHub</a></li>
10+
<li><a href="http://vimeo.com/channels/c4fsharp">Vimeo</a></li>
11+
<li><a href="http://www.youtube.com/channel/UCCQPh0mSMaVpRcKUeWPotSA/feed">YouTube</a></li>
12+
<li><a href="http://fsharp.org/">F# Software Foundation</a></li>
13+
<li><a href="http://community.fsharp.org/user_groups/">User Groups</a></li>
14+
<li><a href="/project-ideas">Project Ideas</a></li>
15+
</ul>
16+
</nav>
17+
</div>
18+
</header>
19+
<!--
20+
<div class="col-md-3">
21+
<div class="c4-sidebar hidden-print affix-top" role="complementary">
22+
<ul class="nav c4-sidenav">
23+
<li>
24+
<a href="#online-presentations">F# Presentations Online</a>
25+
<ul class="nav">
26+
<li><a href="#watch-fsharp-presentations">Watch F# Presentations</a></li>
27+
<li><a href="#host-online-event">Share an Event Online</a></li>
28+
</ul>
29+
</li>
30+
<li>
31+
<a href="#fsharp-coding-dojos">F# Coding Dojos</a>
32+
<ul class="nav">
33+
<li><a href="#what-is-a-dojo">What is a Dojo?</a></li>
34+
<li><a href="#organizing-a-dojo">Organizing a Dojo</a></li>
35+
<li><a href="#list-of-dojos">Dojo Library</a></li>
36+
<li><a href="#classic-learning-exercises">Classic Coding Exercises</a></li>
37+
</ul>
38+
</li>
39+
<li>
40+
<a href="#fsharp-workshops">F# Workshops</a>
41+
<ul class="nav">
42+
<li><a href="#what-is-a-workshop">What is a Workshop?</a></li>
43+
<li><a href="#list-of-workshops">Workshop Library</a></li>
44+
</ul>
45+
</li>
46+
<li><a href="#heroes">Community for F# Heroes</a></li>
47+
<li><a href="https://github.com/c4fsharp/c4fsharp.github.io/blob/master/project-ideas.md">Project Ideas</a></li>
48+
<li>
49+
<a href="#governance">Governance</a>
50+
</li>
51+
</ul>
52+
</div>
53+
</div>
54+
-->

_layouts/default.html

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<title>Community for F# | {{ page.title }}</title>
7+
<link rel="icon" sizes="192x192" href="/favicon-192x192.png">
8+
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
9+
<link rel="shortcut icon" href="/favicon.ico">
10+
<meta name="msapplication-square150x150logo" content="/ms-icon-150x150.png">
11+
<meta name="msapplication-config" content="/browserconfig.xml">
12+
<meta name="msapplication-TileColor" content="#F99D25">
13+
<meta name="theme-color" content="#F99D25">
14+
<link rel="stylesheet" href="Content/bootstrap.min.css" />
15+
<link rel="stylesheet" href="Content/style.css" />
16+
<link rel="stylesheet" href="Content/pygment_trac.min.css" />
17+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
18+
<meta name="description" content="The Community for F# provides live streaming and recordings of user group presentations, as well as content for you to use in presenting to your own local user groups." />
19+
<!--[if lt IE 9]>
20+
<script src="//oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
21+
<script src="//oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
22+
<![endif]-->
23+
<script>
24+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
25+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
26+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
27+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
28+
29+
ga('create', 'UA-47056767-1', 'c4fsharp.net');
30+
ga('send', 'pageview');
31+
</script>
32+
</head>
33+
<body>
34+
<a class="sr-only" href="#content">Skip to main content</a>
35+
36+
{% include navigation.html %}
37+
38+
{% include header.html %}
39+
40+
<div class="container">
41+
<div class="row">
42+
<div class="col-md-9" role="main">
43+
{{ content }}
44+
</div>
45+
</div>
46+
47+
{% include footer.html %}
48+
49+
</div>
50+
51+
<script src="Scripts/scale.fix.min.js"></script>
52+
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
53+
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script>
54+
<script src="Scripts/app.min.js"></script>
55+
</body>
56+
</html>

apple-touch-icon-114x114.png

-30.7 KB
Binary file not shown.

apple-touch-icon-120x120.png

-33.6 KB
Binary file not shown.

apple-touch-icon-144x144.png

-46 KB
Binary file not shown.

apple-touch-icon-152x152.png

-50.6 KB
Binary file not shown.

apple-touch-icon-57x57.png

-9.08 KB
Binary file not shown.

apple-touch-icon-60x60.png

-9.91 KB
Binary file not shown.

apple-touch-icon-72x72.png

-13.7 KB
Binary file not shown.

apple-touch-icon-76x76.png

-15.1 KB
Binary file not shown.

apple-touch-icon-precomposed.png

-50.5 KB
Binary file not shown.

apple-touch-icon.png

100644100755
-46.1 KB
Loading

browserconfig.xml

100644100755
+7-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<browserconfig>
3-
<msapplication>
4-
<tile>
5-
<square70x70logo src="/mstile-70x70.png"/>
6-
<square150x150logo src="/mstile-150x150.png"/>
7-
<square310x310logo src="/mstile-310x310.png"/>
8-
<wide310x150logo src="/mstile-310x150.png"/>
9-
<TileColor>#da532c</TileColor>
10-
</tile>
11-
</msapplication>
12-
</browserconfig>
3+
<msapplication>
4+
<tile>
5+
<square150x150logo src="/ms-icon-150x150.png"/>
6+
<TileColor>#FFFFFF</TileColor>
7+
</tile>
8+
</msapplication>
9+
</browserconfig>

favicon-160x160.png

-55.2 KB
Binary file not shown.

favicon-16x16.png

-1.21 KB
Binary file not shown.

favicon-192x192.png

4.87 KB
Loading

favicon-196x196.png

-77.7 KB
Binary file not shown.

favicon-32x32.png

-3.25 KB
Binary file not shown.

favicon-96x96.png

-22.8 KB
Binary file not shown.

favicon.ico

100644100755
17.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)