forked from jaanga/jaanga.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
d7a8840
commit 4b2d8f6
Showing
6 changed files
with
202 additions
and
15 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
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,36 @@ | ||
<span style=display:none; >[You are now in a GitHub source code view - click this link to view this read me file as a web page]( http://jaanga.github.io/ "View file as a web page." ) </span> | ||
<input type=button onclick=window.location.href='https://github.com/jaanga/jaanga.github.io/blob/master/jaanga-copyright-and-mit-license.md'; value='You are now in a GitHub web page view - Click this button to view this read me file as source code' /> | ||
|
||
[Jaanga]( http://jaanga.github.io ) » | ||
|
||
Jaanga Contacts and Organization | ||
=== | ||
|
||
## Contacts | ||
|
||
* [email protected] | ||
* https://github.com/jaanga/jaanga.github.io/issues | ||
|
||
## Organization | ||
|
||
Jaanga is a [GitHub]( http://github.com) [organization account]( https://help.github.com/articles/what-s-the-difference-between-user-and-organization-accounts ) and has multiple owners and admins. | ||
All Jaanga scripts are [FOSS]( https://en.wikipedia.org/wiki/Free_and_open-source_software ). | ||
|
||
|
||
All Jaanga work is designed to be visible both as [source code]( https://github.com/jaanga/jaanga.github.io/blob/master/request-jaanga-blog-posts.html "an example" ) | ||
and as apps or documents using the GitHub [Pages]( https://pages.github.com/ ) feature. | ||
In other words, Jaanga uses GitHub both as a software repository and as a web host server. Thank you GitHub! | ||
|
||
Most pages have a toggle button or link at the top of the page that allows you to switch from one view to the other view. | ||
|
||
Many of the apps have read me pages that enable you to edit, update and save the app. | ||
|
||
If you see something you like, it's easy for you to take it, make it your own, improve it an share your results with the world. | ||
|
||
<br> | ||
<hr> | ||
|
||
<center title="dingbat" > | ||
# <a href=javascript:window.scrollTo(0,0); style=text-decoration:none; >❦</a> | ||
</center> | ||
|
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
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
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,113 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset=utf-8 > | ||
<meta name=viewport content='width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui' > | ||
<title>Outer Space Blog</title> | ||
</head> | ||
<body> | ||
<script src=http://cdnjs.cloudflare.com/ajax/libs/showdown/1.3.0/showdown.min.js ></script> | ||
<script src=http://jaanga.github.io/cookbook-html/templates/bloder/bloder-r3.js ></script> | ||
<script> | ||
|
||
var apiUrl = 'https://api.github.com/repos/jaanga/jaanga.github.io/contents/blog'; | ||
var postsFolder = 'http://jaanga.github.io/blog/'; | ||
|
||
init(); | ||
|
||
function init() { | ||
|
||
var css = document.body.appendChild( document.createElement('style') ); | ||
css.innerHTML = | ||
` | ||
body { font: 12pt monospace; left: 0; margin: 0 auto; max-width: 800px; right: 0; } | ||
h2, a { margin: 0; } | ||
h1 a, #aa { text-decoration: none; } | ||
input[type=button] { background-color: #eee; border: 2px #eee solid; color: #888; cursor: pointer; } | ||
`; | ||
|
||
content = document.body.appendChild( document.createElement( 'div' ) ); | ||
content.id = 'content'; | ||
content.innerHTML = header = | ||
` | ||
<p> | ||
<span style=display:none; >[You are now in a GitHub source code view - click this link to view this read me file as a web page]( http://jaanga.github.io/outer-space/get-posts.html "View file as a web page." ) </span> | ||
<input onclick=window.location.href="https://github.com/jaanga/jaanga.github.io/tree/master/outer-space/"; type=button value="You are now in a GitHub web page view - Click this button to view Blog Read Me file as source code" /> | ||
</p> | ||
<a href=http://jaanga.github.io >Jaanga</a> » <a href=http://jaanga.github.io/outer-space/ >Outer Space</a> » | ||
<h1> | ||
<a href='' >💬 ${ document.title } </a> | ||
<a id=i href=https://github.com/jaanga/jaanga.github.io/tree/master/outer-space/ > 🛈 </a> | ||
</h1> | ||
<p><i>Reports on awesome astronomy stuff</i></p> | ||
<hr> | ||
<div id=postsText ></div> | ||
`; | ||
|
||
/* | ||
content.innerHTML = header = | ||
'<p>' + | ||
'<span style=display:none; >[You are now in a GitHub source code view - click this link to view this read me file as a web page]( http://jaanga.github.io/outer-space/get-posts.html "View file as a web page." ) </span>' + | ||
'<input onclick=window.location.href="https://github.com/jaanga/jaanga.github.io/tree/master/outer-space/"; type=button value="You are now in a GitHub web page view - Click this button to view Blog Read Me file as source code" />' + | ||
'</p>' + | ||
'<a href=http://jaanga.github.io >Jaanga</a> » <a href=http://jaanga.github.io/outer-space/ >Outer Space</a> »' + | ||
'<h1>' + | ||
'<a href="" >Outer Space Blog</a> ' + | ||
'<a id=i href=https://github.com/jaanga/jaanga.github.io/tree/master/outer-space/ > 🛈 </a>' + | ||
'</h1>' + | ||
'<p><i>Reports on fast, cheap and good ways into science, technology, engineering and math (STEM)</i></p>' + | ||
'<hr>' + | ||
'<div id=postsText ></div>' + | ||
''; | ||
*/ | ||
|
||
|
||
footer = | ||
` | ||
<input type=button onclick=postsStart-=postsNumberToDisplay;hashChange(); value='previous' > | ||
<input type=button onclick=postsStart+=postsNumberToDisplay;hashChange(); style=float:right; value='next' > | ||
<center title="dingbat" > | ||
<a href='http://jaanga.github.io/#http://jaanga.github.io/jaanga-copyright-and-mit-license.md' ) >Copyright and License</a> | ||
<h1><a href=javascript:window.scrollTo(0,0); style=text-decoration:none; >🌟</a></h1> | ||
</center> | ||
`; | ||
|
||
window.addEventListener( 'hashchange', hashChange, false ); | ||
|
||
hashChange(); | ||
|
||
} | ||
|
||
function hashChange() { | ||
|
||
content.innerHTML = header; | ||
contents = []; | ||
|
||
if ( location.hash !== '' ) { | ||
|
||
requestPost( location.hash.substr( 1 ), 0, 1 ); | ||
|
||
} else { | ||
|
||
tags = [ 'mars', 'moon', 'outer-space' ]; | ||
|
||
posts = []; | ||
|
||
requestPostTitles( tags ); | ||
|
||
} | ||
|
||
} | ||
|
||
</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