-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from tlienart/master
migrating to franklin
- Loading branch information
Showing
15 changed files
with
255 additions
and
68 deletions.
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Build and Deploy | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: efalse | ||
# NOTE: Python is necessary for the pre-rendering (minification) step | ||
# - name: Install python | ||
# uses: actions/setup-python@v2 | ||
# with: | ||
# python-version: '3.8' | ||
# NOTE: Here you can install dependencies such as matplotlib if you use | ||
# packages such as PyPlot. | ||
# - run: pip install matplotlib | ||
- name: Install Julia | ||
uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: 1.6 | ||
# NOTE | ||
# The steps below ensure that NodeJS and Franklin are loaded then it | ||
# installs highlight.js which is needed for the prerendering step | ||
# (code highlighting + katex prerendering). | ||
# Then the environment is activated and instantiated to install all | ||
# Julia packages which may be required to successfully build your site. | ||
# The last line should be `optimize()` though you may want to give it | ||
# specific arguments, see the documentation or ?optimize in the REPL. | ||
- run: julia -e ' | ||
using Pkg; Pkg.add("Franklin"); | ||
using Franklin; | ||
optimize(minify=false, prerender=false)' | ||
- name: Build and Deploy | ||
uses: JamesIves/github-pages-deploy-action@releases/v3 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: __site |
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,4 @@ | ||
__site/ | ||
.DS_Store | ||
node_modules/ | ||
package-lock.json |
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,27 @@ | ||
@def title = "404" | ||
|
||
~~~ | ||
<div style="margin-top: 40px; font-size: 40px; text-align: center;"> | ||
<br> | ||
<div style="font-weight: bold;"> | ||
404 | ||
</div> | ||
<br> | ||
<br> | ||
The requested page was not found | ||
<br> | ||
<br> | ||
<br> | ||
<br> | ||
<div style="margin-bottom: 300px; font-size: 24px"> | ||
<a href="/">Click here</a> to go back to the homepage. | ||
</div> | ||
</div> | ||
~~~ |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,16 @@ | ||
<!-- CONTENT ENDS HERE --> | ||
</section> | ||
<footer> | ||
<p> | ||
<small> | ||
Hosted on GitHub Pages — Theme by <a href="https://github.com/orderedlist">orderedlist</a>. | ||
Site built with <a href="https://github.com/tlienart/Franklin.jl">Franklin.jl</a> and the | ||
<a href="https://julialang.org">Julia programming language</a>. | ||
</small> | ||
</p> | ||
</footer> | ||
</div> <!-- wrapper --> | ||
<script src="/libs/scale.fix.js"></script> | ||
|
||
</body> | ||
</html> |
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 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<title>{{global_title}}</title> | ||
<meta name="generator" content="Franklin.jl" /> | ||
<meta property="og:title" content="{{short_title}}" /> | ||
<meta property="og:locale" content="en_US" /> | ||
<meta name="description" content="{{description}}" /> | ||
<meta property="og:description" content="{{description}}" /> | ||
<link rel="canonical" href="{{canonical_url}}" /> | ||
<meta property="og:url" content="{{canonical_url}}" /> | ||
<meta property="og:site_name" content="{{short_name}}" /> | ||
<meta name="twitter:card" content="summary" /> | ||
<meta property="twitter:title" content="{{short_title}}" /> | ||
<script type="application/ld+json"> | ||
{ | ||
"description": "{{description}}", | ||
"url":"{{canonical_url}}", | ||
"@type":"WebSite", | ||
"headline":"{{short_title}}", | ||
"name":"{{short_name}}", | ||
"@context":"https://schema.org" | ||
}</script> | ||
|
||
<!-- <link rel="stylesheet" href="/css/franklin.css"> --> | ||
<!-- <link rel="stylesheet" href="/css/basic.css"> --> | ||
<link rel="stylesheet" href="/css/style.css"> | ||
|
||
<style> | ||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6 { | ||
pointer-events: none; | ||
cursor: default; | ||
} | ||
h4 { | ||
color: #494949; | ||
} | ||
.header-anchor { | ||
color: inherit; | ||
} | ||
.tight-list li p{ | ||
margin: 0; | ||
} | ||
</style> | ||
|
||
<!-- <link rel="icon" href="/assets/favicon.png"> --> | ||
|
||
</head> | ||
<body> | ||
|
||
<div class="wrapper"> | ||
<header> | ||
<h1><a href="{{canonical_url}}">{{short_name}}</a></h1> | ||
<p>{{description}}</p> | ||
<p class="view"><a href="{{github_url}}">View My GitHub Profile</a></p> | ||
</header> | ||
<section> | ||
|
||
<!-- Content appended here --> |
Empty file.
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,18 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="/css/franklin.css"> | ||
<link rel="stylesheet" href="/css/basic.css"> | ||
<title>Tag: {{fill fd_tag}}</title> | ||
</head> | ||
<body> | ||
{{insert header.html}} | ||
<div class="{{div_content}}"> | ||
<h1>Tag: {{fill fd_tag}}</h1> | ||
{{taglist}} | ||
{{insert page_foot.html}} | ||
</div> | ||
</body> | ||
</html> |
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,27 @@ | ||
(function(document) { | ||
var metas = document.getElementsByTagName('meta'), | ||
changeViewportContent = function(content) { | ||
for (var i = 0; i < metas.length; i++) { | ||
if (metas[i].name == "viewport") { | ||
metas[i].content = content; | ||
} | ||
} | ||
}, | ||
initialize = function() { | ||
changeViewportContent("width=device-width, minimum-scale=1.0, maximum-scale=1.0"); | ||
}, | ||
gestureStart = function() { | ||
changeViewportContent("width=device-width, minimum-scale=0.25, maximum-scale=1.6"); | ||
}, | ||
gestureEnd = function() { | ||
initialize(); | ||
}; | ||
|
||
|
||
if (navigator.userAgent.match(/iPhone/i)) { | ||
initialize(); | ||
|
||
document.addEventListener("touchstart", gestureStart, false); | ||
document.addEventListener("touchend", gestureEnd, false); | ||
} | ||
})(document); |
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,17 @@ | ||
+++ | ||
author = "JuliaGraphs" | ||
mintoclevel = 2 | ||
|
||
short_title = "JuliaGraphs: Graph packages for the Julia language" | ||
short_name = "JuliaGraphs - Graph analysis in Julia" | ||
global_title = "$(short_title) | JuliaGraphs - Graph analysis in Julia" | ||
description = """ | ||
JuliaGraphs provides code and support for graph and network representation in the Julia programming language. | ||
""" | ||
canonical_url = "https://juliagraphs.org" | ||
github_url = "https://github.com/JuliaGraphs" | ||
|
||
generate_rss = false | ||
|
||
content_tag = "" | ||
+++ |
Oops, something went wrong.