Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
3,234 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
_site/ | ||
.sass-cache/ | ||
assets/css/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
require "rubygems" | ||
require "tmpdir" | ||
|
||
require "bundler/setup" | ||
require "jekyll" | ||
|
||
|
||
# Change your GitHub reponame | ||
GITHUB_REPONAME = "Rafiot/misp-website" | ||
|
||
|
||
namespace :site do | ||
desc "Generate blog files" | ||
task :generate do | ||
Jekyll::Site.new(Jekyll.configuration({ | ||
"source" => ".", | ||
"destination" => "_site" | ||
})).process | ||
end | ||
|
||
|
||
desc "Generate and publish blog to gh-pages" | ||
task :publish => [:generate] do | ||
Dir.mktmpdir do |tmp| | ||
cp_r "_site/.", tmp | ||
|
||
pwd = Dir.pwd | ||
Dir.chdir tmp | ||
|
||
system "git init" | ||
system "git add ." | ||
message = "Site updated at #{Time.now.utc}" | ||
system "git commit -m #{message.inspect}" | ||
system "git remote add origin git@github.com:#{GITHUB_REPONAME}.git" | ||
system "git push origin master:refs/heads/gh-pages --force" | ||
|
||
Dir.chdir pwd | ||
end | ||
end | ||
end | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* | ||
Arcana by HTML5 UP | ||
html5up.net | @ajlkn | ||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) | ||
*/ | ||
|
||
/* Form */ | ||
|
||
input[type="text"], | ||
input[type="password"], | ||
input[type="email"], | ||
textarea { | ||
position: relative; | ||
-ms-behavior: url("assets/js/ie/PIE.htc"); | ||
} | ||
|
||
/* Image */ | ||
|
||
.image { | ||
-ms-behavior: url("assets/js/ie/PIE.htc"); | ||
} | ||
|
||
.image img { | ||
position: relative; | ||
-ms-behavior: url("assets/js/ie/PIE.htc"); | ||
} | ||
|
||
/* Icon */ | ||
|
||
.icon.major { | ||
position: relative; | ||
-ms-behavior: url("assets/js/ie/PIE.htc"); | ||
} | ||
|
||
/* Button */ | ||
|
||
input[type="submit"], | ||
input[type="reset"], | ||
input[type="button"], | ||
.button { | ||
position: relative; | ||
-ms-behavior: url("assets/js/ie/PIE.htc"); | ||
} | ||
|
||
/* Box */ | ||
|
||
.box.post .inner { | ||
margin-left: 35%; | ||
} | ||
|
||
/* Dropotron */ | ||
|
||
.dropotron { | ||
-ms-behavior: url("assets/js/ie/PIE.htc"); | ||
} | ||
|
||
/* Banner */ | ||
|
||
#banner { | ||
-ms-behavior: url("assets/js/ie/backgroundsize.min.htc"); | ||
} | ||
|
||
/* Wrapper */ | ||
|
||
.wrapper.style2 { | ||
background: #fdfdfd url("images/bg01.png"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
Arcana by HTML5 UP | ||
html5up.net | @ajlkn | ||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) | ||
*/ | ||
|
||
/* Header */ | ||
|
||
#nav > ul > li.current:before { | ||
display: none; | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.