Skip to content

Commit 9ac2e47

Browse files
author
ababaian
committed
Initializing bioSyntax.org website
0 parents  commit 9ac2e47

File tree

109 files changed

+10076
-0
lines changed

Some content is hidden

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

109 files changed

+10076
-0
lines changed

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
_site
2+
.DS_Store
3+
*.sublime-project
4+
*.sublime-workspace
5+
codekit-config.json
6+
node_modules
7+
Gemfile.lock
8+
.sass-cache
9+
.jekyll-metadata
10+
local

.jshintrc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"bitwise": true,
3+
"browser": true,
4+
"curly": true,
5+
"eqeqeq": true,
6+
"eqnull": true,
7+
"es5": false,
8+
"esnext": true,
9+
"immed": true,
10+
"jquery": true,
11+
"latedef": true,
12+
"newcap": true,
13+
"noarg": true,
14+
"node": true,
15+
"strict": false,
16+
"trailing": false,
17+
"undef": true,
18+
"multistr": true,
19+
"expr": true
20+
}

404.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: page
3+
title: "Page Not Found"
4+
description: "Page not found. Your pixels are in another canvas."
5+
comments: false
6+
share: false
7+
permalink: /404.html
8+
---
9+
10+
Sorry, but the page you were trying to view does not exist --- perhaps you can try searching for it below.
11+
12+
<script type="text/javascript">
13+
var GOOG_FIXURL_LANG = 'en';
14+
var GOOG_FIXURL_SITE = '{{ site.url }}'
15+
</script>
16+
<script type="text/javascript"
17+
src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js">
18+
</script>

Gemfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
source "https://rubygems.org"
2+
3+
gem "json"
4+
gem "jekyll"
5+
gem "jekyll-sitemap"
6+
gem "jekyll-feed"
7+
gem "jekyll-paginate"
8+
gem "jekyll-gist"
9+
gem "jekyll-redirect-from"

Gruntfile.js

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
'use strict';
2+
module.exports = function(grunt) {
3+
4+
grunt.initConfig({
5+
jshint: {
6+
options: {
7+
jshintrc: '.jshintrc'
8+
},
9+
all: [
10+
'Gruntfile.js',
11+
'!assets/js/*.js',
12+
'!assets/js/plugins/*.js',
13+
'!assets/js/scripts.min.js'
14+
]
15+
},
16+
uglify: {
17+
dist: {
18+
files: {
19+
'assets/js/scripts.min.js': [
20+
'assets/js/plugins/*.js',
21+
'assets/js/_*.js'
22+
]
23+
}
24+
}
25+
},
26+
imagemin: {
27+
dist: {
28+
options: {
29+
optimizationLevel: 7,
30+
progressive: true
31+
},
32+
files: [{
33+
expand: true,
34+
cwd: 'images/',
35+
src: '{,*/}*.{png,jpg,jpeg}',
36+
dest: 'images/'
37+
}]
38+
}
39+
},
40+
svgmin: {
41+
dist: {
42+
files: [{
43+
expand: true,
44+
cwd: 'images/',
45+
src: '{,*/}*.svg',
46+
dest: 'images/'
47+
}]
48+
}
49+
},
50+
watch: {
51+
js: {
52+
files: [
53+
'<%= jshint.all %>'
54+
],
55+
tasks: ['jshint','uglify']
56+
}
57+
},
58+
clean: {
59+
dist: [
60+
'assets/js/scripts.min.js'
61+
]
62+
}
63+
});
64+
65+
// Load tasks
66+
grunt.loadNpmTasks('grunt-contrib-clean');
67+
grunt.loadNpmTasks('grunt-contrib-jshint');
68+
grunt.loadNpmTasks('grunt-contrib-uglify');
69+
grunt.loadNpmTasks('grunt-contrib-watch');
70+
grunt.loadNpmTasks('grunt-contrib-imagemin');
71+
grunt.loadNpmTasks('grunt-svgmin');
72+
73+
// Register tasks
74+
grunt.registerTask('default', [
75+
'clean',
76+
'uglify',
77+
'imagemin',
78+
'svgmin'
79+
]);
80+
grunt.registerTask('dev', [
81+
'watch'
82+
]);
83+
84+
};

LICENSE

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017 Artem Babaian
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+
23+
24+
## HPSTR Jekyll Theme Elements
25+
The MIT License (MIT)
26+
27+
Copyright (c) 2014 Michael Rose
28+
29+
Permission is hereby granted, free of charge, to any person obtaining a copy
30+
of this software and associated documentation files (the "Software"), to deal
31+
in the Software without restriction, including without limitation the rights
32+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
33+
copies of the Software, and to permit persons to whom the Software is
34+
furnished to do so, subject to the following conditions:
35+
36+
The above copyright notice and this permission notice shall be included in all
37+
copies or substantial portions of the Software.
38+
39+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
44+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45+
SOFTWARE.

_config.yml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
title: bioSyntax
2+
description: Syntax Highlighting for Computational Biology
3+
disqus_shortname:
4+
reading_time: false
5+
words_per_minute: 200
6+
# Your site's domain goes here (eg: https://mmistakes.github.io, http://yourdomain.com, etc)
7+
# When testing locally leave blank or use http://localhost:4000
8+
url: http://localhost:4000
9+
10+
# Owner/author information
11+
owner:
12+
name: bioSyntax
13+
avatar: atcg.png
14+
bio: "Syntax Highlighting for Computational Biology"
15+
16+
# Social networking links used in footer. Update and remove as you like.
17+
twitter:
18+
facebook:
19+
github: ababaian/bioSyntax
20+
stackexchange:
21+
linkedin:
22+
instagram:
23+
flickr:
24+
tumblr:
25+
# google plus id, include the '+', eg +mmistakes
26+
google_plus:
27+
28+
# Background image to be tiled on all pages
29+
background:
30+
31+
# Analytics and webmaster tools stuff goes here
32+
google_analytics:
33+
google_verify:
34+
# https://ssl.bing.com/webmaster/configure/verify/ownership Option 2 content= goes here
35+
bing_verify:
36+
37+
# http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
38+
timezone: America/Vancouver
39+
future: true # publish future dated posts -- true, false (default)
40+
highlighter: rouge
41+
markdown: kramdown
42+
plugins:
43+
- jekyll-sitemap
44+
- jekyll-paginate
45+
- jekyll-gist
46+
- jekyll-redirect-from
47+
# - jekyll-feed
48+
sass:
49+
sass_dir: _sass
50+
style: compressed
51+
52+
# https://github.com/mojombo/jekyll/wiki/Permalinks
53+
#permalink: /:categories/:title/
54+
55+
# Amount of post to show on home page
56+
paginate: 5
57+
58+
kramdown:
59+
input: GFM
60+
auto_ids: true
61+
footnote_nr: 1
62+
entity_output: as_char
63+
toc_levels: 1..6
64+
enable_coderay: false
65+
66+
include:
67+
- .htaccess
68+
exclude:
69+
- "*.less"
70+
- "*.sublime-project"
71+
- "*.sublime-workspace"
72+
- .asset-cache
73+
- .bundle
74+
- .jekyll-assets-cache
75+
- .sass-cache
76+
- CHANGELOG
77+
- Capfile
78+
- Gemfile
79+
- Gruntfile.js
80+
- LICENSE
81+
- README
82+
- Rakefile
83+
- config
84+
- gulpfile.js
85+
- lib
86+
- log
87+
- node_modules
88+
- package.json
89+
- spec
90+
- tmp
91+
- local

_data/navigation.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Menu navigation links
2+
3+
- title: Theme Setup
4+
url: /theme-setup/
5+
6+
- title: External Link
7+
url: http://mademistakes.com

_includes/browser-upgrade.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!--[if lt IE 9]><div class="upgrade"><strong><a href="http://whatbrowser.org/">Your browser is quite old!</strong> Why not upgrade to a different browser to better enjoy this site?</a></div><![endif]-->

_includes/disqus_comments.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{% if site.disqus_shortname %}
2+
<script type="text/javascript">
3+
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
4+
var disqus_shortname = '{{ site.disqus_shortname }}'; // required: replace example with your forum shortname
5+
6+
/* * * DON'T EDIT BELOW THIS LINE * * */
7+
(function() {
8+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
9+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
10+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
11+
})();
12+
13+
/* * * DON'T EDIT BELOW THIS LINE * * */
14+
(function () {
15+
var s = document.createElement('script'); s.async = true;
16+
s.type = 'text/javascript';
17+
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
18+
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
19+
}());
20+
</script>
21+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
22+
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
23+
{% endif %}

_includes/feed-footer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
&lt;p&gt;&lt;a href=&quot;{{ site.url }}{{ post.url }}&quot;&gt;{{ post.title | xml_escape }}&lt;/a&gt; was last updated on {{ post.date | date: "%B %d, %Y" }}.&lt;/p&gt;

_includes/footer.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!-- <span>&copy; {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> using the <a href="https://mademistakes.com/work/hpstr-jekyll-theme/" rel="nofollow">HPSTR Theme</a>.</span> -->
2+
3+
4+
<span> <a href="mailto:{{ site.owner.email }}">Contact us: <i class="fa fa-fw fa-envelope"></i></a> &ensp;|&ensp;
5+
<a href="https://github.com/{{ site.owner.github }}">Source: <\></a> &ensp;|&ensp;
6+
<a href="http://www.hackseq.com"><img src="{{ site.url }}/images/hackseq_project_tag.png"></a>
7+
</span>

_includes/gallery

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{% assign images = include.images | split:" " %}
2+
{% assign caption = include.caption %}
3+
{% assign cols = include.cols %}
4+
5+
{% case cols %}
6+
{% when 1 %}
7+
{% assign class = "" %}
8+
{% when 2 %}
9+
{% assign class = "half" %}
10+
{% when 3 %}
11+
{% assign class = "third" %}
12+
{% else %}
13+
{% assign class = "" %}
14+
{% endcase %}
15+
16+
<figure {% if class != "" %}class="{{ class }}"{% endif %}>
17+
{% for image in images %}
18+
<a href="{{ image }}"><img src="{{ image }}" alt=""></a>
19+
{% endfor %}
20+
<figcaption>{{ caption }}</figcaption>
21+
</figure>

0 commit comments

Comments
 (0)