lunch-and-learn-jekyll-template 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +5 -0
  3. data/_config.yml +34 -0
  4. data/_includes/footer.html +25 -0
  5. data/_includes/header.html +50 -0
  6. data/_includes/navigation.html +45 -0
  7. data/_includes/topic.html +15 -0
  8. data/_layouts/404.html +16 -0
  9. data/_layouts/about.html +25 -0
  10. data/_layouts/default.html +8 -0
  11. data/_layouts/index.html +136 -0
  12. data/_layouts/previous.html +40 -0
  13. data/_layouts/redirect.html +14 -0
  14. data/_layouts/upcoming.html +40 -0
  15. data/_sass/_404.scss +15 -0
  16. data/_sass/_about.scss +75 -0
  17. data/_sass/_agenda.scss +66 -0
  18. data/_sass/_button.scss +116 -0
  19. data/_sass/_event.scss +56 -0
  20. data/_sass/_fonts.scss +16 -0
  21. data/_sass/_footer.scss +36 -0
  22. data/_sass/_form.scss +47 -0
  23. data/_sass/_header.scss +129 -0
  24. data/_sass/_home.scss +221 -0
  25. data/_sass/_more.scss +39 -0
  26. data/_sass/_speakers.scss +89 -0
  27. data/_sass/_team.scss +131 -0
  28. data/_sass/critical.scss +11 -0
  29. data/assets/css/agency.scss +934 -0
  30. data/assets/css/bootstrap.min.css +7 -0
  31. data/assets/fonts/Roboto-regular/Roboto-regular.eot +0 -0
  32. data/assets/fonts/Roboto-regular/Roboto-regular.svg +308 -0
  33. data/assets/fonts/Roboto-regular/Roboto-regular.ttf +0 -0
  34. data/assets/fonts/Roboto-regular/Roboto-regular.woff +0 -0
  35. data/assets/fonts/Roboto-regular/Roboto-regular.woff2 +0 -0
  36. data/assets/fonts/font-awesome/css/font-awesome.css +2086 -0
  37. data/assets/fonts/font-awesome/css/font-awesome.min.css +4 -0
  38. data/assets/fonts/font-awesome/fonts/FontAwesome.otf +0 -0
  39. data/assets/fonts/font-awesome/fonts/fontawesome-webfont.eot +0 -0
  40. data/assets/fonts/font-awesome/fonts/fontawesome-webfont.svg +655 -0
  41. data/assets/fonts/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
  42. data/assets/fonts/font-awesome/fonts/fontawesome-webfont.woff +0 -0
  43. data/assets/fonts/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
  44. data/assets/img/booklet-icon.png +0 -0
  45. data/assets/img/header-bg.jpg +0 -0
  46. data/assets/img/icon-about.jpeg +0 -0
  47. data/assets/img/icon-agenda.jpeg +0 -0
  48. data/assets/img/icon-faq.jpeg +0 -0
  49. data/assets/img/icon-team.jpeg +0 -0
  50. data/assets/img/icon-venue.jpeg +0 -0
  51. data/assets/img/logo.png +0 -0
  52. data/assets/img/map-image.png +0 -0
  53. data/assets/img/speakers/example.jpg +0 -0
  54. data/assets/img/speakers/example2.jpg +0 -0
  55. data/assets/img/speakers/tbd.jpg +0 -0
  56. data/assets/js/agency.js +37 -0
  57. data/assets/js/bootstrap.js +2114 -0
  58. data/assets/js/bootstrap.min.js +6 -0
  59. data/assets/js/cbpAnimatedHeader.js +44 -0
  60. data/assets/js/cbpAnimatedHeader.min.js +11 -0
  61. data/assets/js/classie.js +80 -0
  62. data/assets/js/contact_me.js +70 -0
  63. data/assets/js/jqBootstrapValidation.js +912 -0
  64. data/assets/js/jquery-1.11.0.js +4 -0
  65. data/assets/js/jquery.easing.min.js +44 -0
  66. metadata +135 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 7db1c1bd4bc8a7114af22aa26b59e273d1479f46af7733534a07f1743d371e62
4
+ data.tar.gz: cc6c46db476b42206992b651df9a2f5654cf2a7e92a1b688c33a3f72d1bf1a5f
5
+ SHA512:
6
+ metadata.gz: a5299d89f8e0ce07b824687ceca63af69cf38ddb09a442449cc5e90e0a5e4c9e322c0c62085d1cb1d4c61440db9722ec197308bf20ffcc4e78942e06de631a85
7
+ data.tar.gz: 21776b6e56011375dd76922ccbf063f1c3bd393c43e1e4afd1707db92c9736d5e871538ef3a99abe5f70796835b8aff3f08c4704e93474b216493a3e1f271896
data/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # Lunch and Learn Jekyll Template
2
+
3
+ This is a template that displays some really simple presentation information, allows users to see current
4
+ and future presentations, and some information about the speakers.
5
+
data/_config.yml ADDED
@@ -0,0 +1,34 @@
1
+ title: Your Title
2
+ description: > # this means to ignore newlines until "baseurl:"
3
+ Your description
4
+ baseurl: "" # the subpath of your site, e.g. /blog
5
+ url: "Your-Link.github.io" # the base hostname & protocol for your site
6
+
7
+ organization: My Organization
8
+ organization_url: https://www.myorg.com
9
+ support_team: This Team
10
+ support_team_email: ouremail@example.com
11
+
12
+ # Build settings
13
+ logo: "/img/icon-large.png"
14
+
15
+ include: ['_plugins']
16
+
17
+ collections:
18
+ speakers:
19
+ sort_by: username
20
+ topics:
21
+
22
+
23
+ plugins:
24
+ - jekyll-sitemap
25
+ - jekyll-seo-tag
26
+
27
+ # Build settings
28
+ markdown: kramdown
29
+ permalink: pretty
30
+
31
+ sass:
32
+ sass_dir: _sass
33
+ style: compressed
34
+
@@ -0,0 +1,25 @@
1
+ <style>
2
+ body {
3
+ position: absolute;
4
+ margin: 0;
5
+ min-height: 100%;
6
+ width: 100%;
7
+ }
8
+
9
+ footer {
10
+ position: absolute;
11
+ right: 0;
12
+ bottom: 0;
13
+ left: 0;
14
+ }
15
+ </style>
16
+
17
+ <footer>
18
+ <div class="container">
19
+ <div class="row">
20
+ <div class="col-md-4">
21
+ <span class="copyright">© {{ 'now' | date: "%Y" }} <a href="{{ site.organization_url }}">{{ site.organization }}</a> by <a href="mailto:site.support_team_email">{{ site.support_team }}</a>.</span>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </footer>
@@ -0,0 +1,50 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
5
+ <meta name="viewport" content="width=device-width">
6
+ <meta name="description" content="{{ site.description }}">
7
+ <link rel="canonical" href="/">
8
+
9
+ {% seo %}
10
+
11
+ <!--Remove image dragging -->
12
+ <BODY ondragstart="return false;" ondrop="return false;">
13
+
14
+ <!-- Custom Fonts -->
15
+ <link rel="stylesheet" href="{{ "/assets/fonts/font-awesome/css/font-awesome.min.css" }}">
16
+ <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
17
+ <link href='https://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'>
18
+ <link href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" type="text/css">
19
+ <link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
20
+ <link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>
21
+
22
+ <!-- WEBSITE ICON IN BROWSER -->
23
+ <link rel="icon" type="image/png" href="/assets/img/icon/icon.png">
24
+
25
+ <!-- Common Stylesheets -->
26
+ <!-- Custom CSS & Bootstrap Core CSS - Uses Bootswatch Flatly Theme: http://bootswatch.com/flatly/ -->
27
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
28
+ <link rel="stylesheet" href="{{ "/assets/css/agency.css" }}">
29
+
30
+ <!-- jQuery Version 1.11.0 -->
31
+ <script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
32
+
33
+ <!-- Bootstrap Core JavaScript -->
34
+ <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
35
+
36
+ <!-- Plugin JavaScript -->
37
+ <script src="{{ "/assets/js/jquery.easing.min.js" }}"></script>
38
+ <script src="{{ "/assets/js/classie.js" }}"></script>
39
+ <script src="{{ "/assets/js/cbpAnimatedHeader.js" }}"></script>
40
+
41
+ <!-- Custom Theme JavaScript -->
42
+ <script src="{{ "/assets/js/agency.js" }}"></script>
43
+
44
+ <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
45
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
46
+ <!--[if lt IE 9]>
47
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
48
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
49
+ <![endif]-->
50
+ </head>
@@ -0,0 +1,45 @@
1
+ <!-- Navigation -->
2
+ <nav class="navbar navbar-default navbar-default-color navbar-fixed-top navbar-shrink">
3
+ <div class="container">
4
+ <!-- Brand and toggle get grouped for better mobile display -->
5
+ <div class="navbar-header page-scroll">
6
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
7
+ <span class="sr-only">Toggle navigation</span>
8
+ <span class="icon-bar"></span>
9
+ <span class="icon-bar"></span>
10
+ <span class="icon-bar"></span>
11
+ <span class="icon-bar"></span>
12
+ </button>
13
+ <a class="navbar-brand page-scroll" href="/"><img src="/assets/img/logo.png" style="margin-top:-15px" width="150px" alt="icon-about" />{{ site.title }}</a>
14
+
15
+ </div>
16
+
17
+ <!-- Collect the nav links, forms, and other content for toggling -->
18
+ <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
19
+ <ul class="nav navbar-nav navbar-right">
20
+ <li class="hidden">
21
+ <a href="/"></a>
22
+ </li>
23
+ <li>
24
+ <a class="page-scroll" href="{% if include.static_navigation %}/{% endif %}#speakers">Speakers</a>
25
+ </li>
26
+ <li>
27
+ <a class="page-scroll" href="{% if include.static_navigation %}/{% endif %}#topic">Description</a>
28
+ </li>
29
+ <li {% if include.static_navigation=='upcoming' %}class="active"{% endif %}>
30
+ <a class="page-scroll" href="/upcoming">Upcoming Topics</a>
31
+ </li>
32
+ <li {% if include.static_navigation=='previous' %}class="active"{% endif %}>
33
+ <a class="page-scroll {% if static_navigation=='previous' %}active{% endif %}" href="/previous">Previous Topics</a>
34
+ </li>
35
+ <li {% if include.static_navigation=='about' %}class="active"{% endif %}>
36
+ <a class="page-scroll" href="/about {% if static_navigation=='about' %}active{% endif %}">About</a>
37
+ </li>
38
+ </ul>
39
+ </div>
40
+ <!-- /.navbar-collapse -->
41
+ </div>
42
+ <!-- /.container-fluid -->
43
+ </nav>
44
+
45
+
@@ -0,0 +1,15 @@
1
+ <section id="topic" class="bg-light-gray">
2
+ <div class="container">
3
+ <div class="row">
4
+ <div class="col-lg-12 text-center">
5
+ <h2 class="section-heading">Description</h2>
6
+ <h3 class="section-subheading text-muted"></h3>
7
+ </div>
8
+ </div>
9
+ <div class="row">
10
+ <div class="col-lg-12 text-center">
11
+ {{ topic.content }}
12
+ </div>
13
+ </div>
14
+ </div>
15
+ </section>
data/_layouts/404.html ADDED
@@ -0,0 +1,16 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <!--background color-->
5
+ <script type="text/javascript">
6
+ document.write ('<body style="background: lightgray; background-attachment: fixed;">')
7
+ </script>
8
+
9
+ <div class="page-not-found venue-top">
10
+ <h1>404 Page Not Found</h1>
11
+ <p>The page that you are looking for is still under construction or not available at the momment.</p>
12
+ <p>Thank you for your patience! You will be redirected to <a href="/">home page</a>
13
+ in a few seconds.</p>
14
+ </div>
15
+
16
+ <meta http-equiv="refresh" content="6; URL='/'" />
@@ -0,0 +1,25 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% include navigation.html static_navigation="about" %}
6
+ <body id="page-top" class="index">
7
+ <section id="topic" class="bg-light-gray">
8
+ <div class="container">
9
+ <div class="row">
10
+ <div class="col-lg-12 text-center">
11
+ <h2 class="section-heading">About Us</h2>
12
+ </div>
13
+ </div>
14
+ <div class="row">
15
+ <div class="col-md-2 text-left"></div>
16
+ <div class="col-md-8 text-left">
17
+ <p style="white-space: break-spaces;">
18
+ {{ content }}
19
+ </p>
20
+ </div>
21
+ <div class="col-md-2 text-left"></div>
22
+ </div>
23
+ </div>
24
+ </section>
25
+ </body>
@@ -0,0 +1,8 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ {% include header.html %}
4
+
5
+ {{ content }}
6
+
7
+ {% include footer.html %}
8
+ </html>
@@ -0,0 +1,136 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% assign today_date = 'now' | date: '%s' %}
6
+
7
+ {% for topic in site.topics %}
8
+ {% assign topic_date = topic.date | date: '%s' %}
9
+ {% if topic_date >= today_date %}
10
+ {% if next %}
11
+ {% if topic_date < next %}
12
+ {% assign next = topic_date %}
13
+ {% endif %}
14
+ {% else %}
15
+ {% assign next = topic_date %}
16
+ {% endif %}
17
+ {% endif %}
18
+ {% endfor %}
19
+
20
+ <body id="page-top" class="index">
21
+ <!-- Header -->
22
+ {% include navigation.html %}
23
+ {% for topic in site.topics %}
24
+ {% assign topic_date = topic.date | date: '%s' %}
25
+ {% if topic_date == next %}
26
+ <header>
27
+ <div class="container">
28
+ <div class="intro-text">
29
+ <div class="intro-heading">{{ topic.topic_name }}<br></div>
30
+ <div class="intro-lead-in">{{ topic.date | date: "%b %d, %y" }}</div>
31
+ <div class="intro-lead-in">{{ topic.time }}</div>
32
+ <a href="#speakers" class="page-scroll btn btn-xl">Tell Me More</a>
33
+ </div>
34
+ </div>
35
+ </header>
36
+
37
+ <!-- Portfolio Grid Section -->
38
+ <section id="speakers" class="bg-light-gray">
39
+ <div class="container">
40
+ <div class="row">
41
+ <div class="col-lg-12 text-center">
42
+ <h2 class="section-heading">Speakers</h2>
43
+ <h3 class="section-subheading text-muted"></h3>
44
+ </div>
45
+ </div>
46
+ <div class="row">
47
+ {% if topic.speakers %}
48
+ {% assign speaker_usernames = topic.speakers | split: "," %}
49
+ {% for speaker_username in speaker_usernames %}
50
+ {% assign speaker_username_stripped = speaker_username | strip %}
51
+ {% for speaker in site.speakers %}
52
+ {% unless speaker.example %}
53
+ {% if speaker_username_stripped == speaker.username %}
54
+ <div class="col-md-4 col-sm-6 speakers-item">
55
+ <a href="#{{ speaker.username }}" class="speakers-link" data-toggle="modal">
56
+ <div class="speakers-hover">
57
+ <div class="speakers-hover-content">
58
+ <i class="fa fa-plus fa-3x"></i>
59
+ </div>
60
+ </div>
61
+ <img src="/assets/img/speakers/{{ speaker.username }}.jpg" class="img-responsive img-centered" alt="{{ speaker.username }}">
62
+ </a>
63
+ <div class="speakers-caption">
64
+ <h4>{{ speaker.name }}</h4>
65
+ <p class="text-muted">{{ speaker.title }}</p>
66
+ </div>
67
+ </div>
68
+ {% endif %}
69
+ {% endunless %}
70
+ {% endfor %}
71
+ {% endfor %}
72
+ {% else %}
73
+ <img src="/assets/img/speaker/tbd.jpg" class="img-responsive img-centered" alt="To Be Determined">
74
+ {% endif %}
75
+ </div>
76
+ </div>
77
+ </section>
78
+
79
+ <section id="topic" class="bg-light-gray">
80
+ <div class="container">
81
+ <div class="row">
82
+ <div class="col-lg-12 text-center">
83
+ <h2 class="section-heading">Description</h2>
84
+ <h3 class="section-subheading text-muted"></h3>
85
+ </div>
86
+ </div>
87
+ <div class="row">
88
+ <div class="col-md-2"></div>
89
+ <div class="col-md-8 text-left">
90
+ {{ topic.content }}
91
+ </div>
92
+ <div class="col-md-2"></div>
93
+ </div>
94
+ </div>
95
+ </section>
96
+
97
+ {% if topic.speakers %}
98
+ {% assign speaker_usernames = topic.speakers | split: "," %}
99
+ {% for speaker_username in speaker_usernames %}
100
+ {% assign speaker_username_stripped = speaker_username | strip %}
101
+ {% for speaker in site.speakers %}
102
+ {% unless speaker.example %}
103
+ {% if speaker_username_stripped == speaker.username %}
104
+ <div class="portfolio-modal modal fade" id="{{ speaker.username }}" tabindex="-1" role="dialog" aria-hidden="true">
105
+ <div class="modal-content">
106
+ <div class="close-modal" data-dismiss="modal">
107
+ <div class="lr">
108
+ <div class="rl">
109
+ </div>
110
+ </div>
111
+ </div>
112
+ <div class="container">
113
+ <div class="row">
114
+ <div class="col-lg-8 col-lg-offset-2">
115
+ <div class="modal-body">
116
+ <h2>{{ speaker.title }}</h2>
117
+ <hr class="star-primary">
118
+ <img src="/assets/img/speakers/{{ speaker.username }}.jpg" class="img-responsive img-centered" alt="{{ speaker.username }}">
119
+ <p>{{ speaker.content }}</p>
120
+ <button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button>
121
+ </div>
122
+ </div>
123
+ </div>
124
+ </div>
125
+ </div>
126
+ </div>
127
+ {% endif %}
128
+ {% endunless %}
129
+ {% endfor %}
130
+ {% endfor %}
131
+ {% endif %}
132
+
133
+ {% endif %}
134
+ {% endfor %}
135
+
136
+ </body>
@@ -0,0 +1,40 @@
1
+ ---
2
+ layout: default
3
+ permalink: previous.html
4
+ title: Previous Topics
5
+ ---
6
+ {% assign today_date = 'now' | date: '%s' %}
7
+
8
+ <body id="page-top" class="index">
9
+ {% include navigation.html static_navigation="previous" %}
10
+
11
+ <section id="topics">
12
+ {% for topic in site.topics %}
13
+ {% assign topic_date = topic.date | date: '%s' %}
14
+ {% if topic_date > today_date %}
15
+ <div class="container">
16
+ <div class="row">
17
+ <div class="col-md-2 text-left"></div>
18
+ <div class="col-md-8 text-left rounded border border-primary">
19
+ <div><h2>{{ topic.title }}</h2></div>
20
+ <div>Presenters: {{ topic.speakers }}</div>
21
+ <div>{{ topic.content | truncate: 1200 }}</div>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ {% assign has_content = true %}
26
+ {% endif %}
27
+ {% endfor %}
28
+ {% unless has_content %}
29
+ <div class="container">
30
+ <div class="row">
31
+ <div class="col-md-2 text-left"></div>
32
+ <div class="col-md-8 text-left">
33
+ <div><h2>There are currently no upcoming Topics scheduled.</h2></div>
34
+ </div>
35
+ <div class="col-md-2 text-left"></div>
36
+ </div>
37
+ </div>
38
+ {% endunless %}
39
+ </section>
40
+ </body>
@@ -0,0 +1,14 @@
1
+ <html>
2
+ <head>
3
+ <meta charset="utf-8"/>
4
+ <meta http-equiv="refresh" content="1;url={{ page.redirect }}"/>
5
+ <link rel="canonical" href="{{ page.redirect }}"/>
6
+ <script type="text/javascript">
7
+ window.location.href = "{{ page.redirect }}"
8
+ </script>
9
+ <title>Page Redirection</title>
10
+ </head>
11
+ <body>
12
+ If you are not redirected automatically, follow <a href='{{ page.redirect }}'>this link</a>.
13
+ </body>
14
+ </html>
@@ -0,0 +1,40 @@
1
+ ---
2
+ layout: default
3
+ permalink: upcoming.html
4
+ title: Upcoming Topics
5
+ ---
6
+ {% assign today_date = 'now' | date: '%s' %}
7
+
8
+ <body id="page-top" class="index">
9
+ {% include navigation.html static_navigation="upcoming" %}
10
+
11
+ <section id="topics">
12
+ {% for topic in site.topics %}
13
+ {% assign topic_date = topic.date | date: '%s' %}
14
+ {% if topic_date <= today_date %}
15
+ <div class="container">
16
+ <div class="row">
17
+ <div class="col-md-2 text-left"></div>
18
+ <div class="col-md-8 text-left rounded border border-primary">
19
+ <div><h2>{{ topic.title }}</h2></div>
20
+ <div>Presenters: {{ topic.speakers }}</div>
21
+ <div>{{ topic.content | truncate: 1200 }}</div>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ {% assign has_content = true %}
26
+ {% endif %}
27
+ {% endfor %}
28
+ {% unless has_content %}
29
+ <div class="container">
30
+ <div class="row">
31
+ <div class="col-md-2 text-left"></div>
32
+ <div class="col-md-8 text-left">
33
+ <div><h2>There are currently no upcoming Topics scheduled.</h2></div>
34
+ </div>
35
+ <div class="col-md-2 text-left"></div>
36
+ </div>
37
+ </div>
38
+ {% endunless %}
39
+ </section>
40
+ </body>