Skip to content

Commit 6a2d897

Browse files
Deploying to gh-pages from @ a3e19bf 🚀
0 parents  commit 6a2d897

File tree

4,030 files changed

+882652
-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.

4,030 files changed

+882652
-0
lines changed

.nojekyll

Whitespace-only changes.

404.html

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<!DOCTYPE html>
2+
<html lang="en-GB">
3+
4+
<!-- START: html-header -->
5+
<head>
6+
7+
<meta charset="utf-8">
8+
<meta name=”robots” content="index, follow">
9+
<meta name="viewport" content="width=device-width, initial-scale=1">
10+
<title>
11+
tskit-dev -
12+
</title>
13+
<meta property="og:type" content="website">
14+
<meta content="summary_large_image" name="twitter:card">
15+
<meta content="" name="description">
16+
<meta content="" property="og:description">
17+
<meta content="" property="twitter:description">
18+
19+
<meta content="https://i.imgur.com/I9PBjvU.png" property="og:image">
20+
<meta content="https://i.imgur.com/I9PBjvU.png" property="twitter:image">
21+
22+
23+
<meta content="tskit-dev - " property="og:title">
24+
<meta content="tskit-dev - " property="twitter:title">
25+
<script>
26+
document.documentElement.className = 'js'
27+
</script>
28+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
29+
<link rel="profile" href="http://gmpg.org/xfn/11">
30+
31+
<link rel="shortcut icon" href="/assets/favicons/favicon.ico">
32+
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicons/apple-touch-icon.png">
33+
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicons/favicon-32x32.png">
34+
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicons/favicon-16x16.png">
35+
<link rel="manifest" href="/assets/favicons/site.webmanifest" crossorigin="use-credentials">
36+
<link rel="mask-icon" href="/assets/favicons/safari-pinned-tab.png" color="#085167">
37+
<meta name="msapplication-TileColor" content="#085167">
38+
<meta name="theme-color" content="#ffffff">
39+
40+
<link rel="stylesheet" href="https://use.typekit.net/uhf4ono.css">
41+
<link rel="stylesheet" href="/assets/dist/css/style.min.css">
42+
</head>
43+
<!-- END: html-header -->
44+
45+
<body>
46+
<style type="text/css" media="screen">
47+
.container {
48+
margin: 10px auto;
49+
max-width: 600px;
50+
text-align: center;
51+
}
52+
h1 {
53+
margin: 30px 0;
54+
font-size: 4em;
55+
line-height: 1;
56+
letter-spacing: -1px;
57+
}
58+
</style>
59+
60+
<div class="container">
61+
<h1>404</h1>
62+
63+
<p><strong>Page not found :(</strong></p>
64+
<p>The requested page could not be found.</p>
65+
</div>
66+
67+
<script src="/assets/dist/js/main.min.js"></script>
68+
69+
</body>
70+
</html>
71+

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tskit.dev

Gruntfile.js

+112
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
module.exports = function (grunt) {
2+
3+
grunt.initConfig({
4+
jekyll: { // Task
5+
options: { // Universal options
6+
bundleExec: true,
7+
// src : '<%= app %>'
8+
},
9+
dist: { // Target
10+
options: { // Target options
11+
dest: 'dist',
12+
config: '_config.yml'
13+
}
14+
},
15+
serve: { // Another target
16+
options: {
17+
serve: true,
18+
dest: '.jekyll',
19+
drafts: true,
20+
future: true
21+
}
22+
}
23+
},
24+
sass: {
25+
options: {
26+
implementation: require('sass'),
27+
importer: require('grunt-sass-tilde-importer')
28+
},
29+
dist: {
30+
files: {
31+
'assets/dist/css/style.min.css': 'assets/src/sass/style.scss'
32+
}
33+
}
34+
},
35+
browserify: {
36+
dist: {
37+
files: {
38+
'assets/dist/js/main.min.js': 'assets/src/js/main.js'
39+
},
40+
options: {
41+
transform: [['babelify', {
42+
presets: ["@babel/preset-env"],
43+
global: true,
44+
ignore: [/\/node_modules\/(?!gsap\/)/]
45+
}]],
46+
browserifyOptions: {
47+
debug: true
48+
}
49+
}
50+
}
51+
},
52+
uglify: {
53+
build: {
54+
src: 'assets/dist/js/main.min.js',
55+
dest: 'assets/dist/js/main.min.js'
56+
}
57+
},
58+
watch: {
59+
css: {
60+
files: ['assets/src/sass/**/*.*'],
61+
tasks: ['sass', 'postcss']
62+
},
63+
js: {
64+
files: ['assets/src/js/**/*.*'],
65+
tasks: ['browserify:dist', 'uglify']
66+
},
67+
jekyll: {
68+
files: ['_includes', '_layouts', '_news', "_plugins", "_resources", "_site", "_software"],
69+
tasks: ['jekyll:dist']
70+
}
71+
},
72+
postcss: {
73+
autoprefixer: {
74+
options: {
75+
// TODO: Get sourcemaps working
76+
// True for inline sourcemaps
77+
map: false,
78+
processors: [
79+
// Please see 'browserslist' key in package.json for the browsers that autoprefixer will target
80+
require('autoprefixer')(),
81+
]
82+
},
83+
src: 'assets/dist/css/*.css'
84+
},
85+
minifyCSS: {
86+
options: {
87+
processors: [
88+
require('cssnano')(),
89+
]
90+
},
91+
src: 'assets/dist/css/*.css'
92+
}
93+
}
94+
});
95+
96+
// Load the plug-ins (Node Modules) that are needed by the various tasks.
97+
grunt.loadNpmTasks('grunt-browserify');
98+
grunt.loadNpmTasks('grunt-contrib-uglify');
99+
grunt.loadNpmTasks('grunt-sass');
100+
grunt.loadNpmTasks('@lodder/grunt-postcss'); // grunt-postcss no longer maintained, hence the @lodder version
101+
grunt.loadNpmTasks('grunt-contrib-watch');
102+
grunt.loadNpmTasks('grunt-jekyll');
103+
104+
// Default task - runs when you type 'grunt' in the terminal.
105+
grunt.registerTask('default', ['watch']);
106+
107+
// Dev task (leaves the compiled CSS and JS unminified for easier debugging, until sourcemaps are working)
108+
grunt.registerTask('dev', ['sass', 'postcss:autoprefixer', 'browserify:dist', 'jekyll:dist']);
109+
110+
// Build task
111+
grunt.registerTask('build', ['sass', 'postcss', 'browserify:dist', 'uglify', 'jekyll:dist']);
112+
}

0 commit comments

Comments
 (0)