Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
qinwf committed May 21, 2016
0 parents commit dc0b777
Show file tree
Hide file tree
Showing 29 changed files with 1,254 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Ignore docs files
_gh_pages
_site
.ruby-version
.sass-cache

# Numerous always-ignore extensions
*.diff
*.err
*.orig
*.log
*.rej
*.swo
*.swp
*.zip
*.vi
*~

# OS or Editor folders
.DS_Store
._*
Thumbs.db
.cache
.project
.settings
.tmproj
*.esproj
nbproject
*.sublime-project
*.sublime-workspace
.idea

# Komodo
*.komodoproject
.komodotools

# grunt-html-validation
validation-status.json
validation-report.json

# Folders to ignore
node_modules
10 changes: 10 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: default
title: "404: Page not found"
permalink: 404.html
---

<div class="page">
<h1 class="page-title">404: Page not found</h1>
<p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.baseurl }}/">Head back home</a> to try finding it again.</p>
</div>
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rweekly.org
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# R Weekly

36 changes: 36 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Permalinks
permalink: /:year-:month-:day-:title.html

# Setup
title: RWeekly.org
url: rweekly.org
paginate: 1
baseurl: ""

# Assets
#
# We specify the directory for Jekyll so we can use @imports.
sass:
sass_dir: _sass
style: :compressed

# About/contact
author:
name: R Weekly
url:
email:

# Custom vars
version: 2.0.0
github:
repo: https://github.com/rweekly/rweekly.org

# Gems
gems:
- jekyll-paginate
- jekyll-gist

pages_list:
About: '/about/'
Archive: '/archive/'
Feed: '/atom.xml'
20 changes: 20 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>
{% if page.title == "Home" %}
{{ site.title }} &middot; {{ site.tagline }}
{% else %}
{{ page.title }} &middot; {{ site.title }}
{% endif %}
</title>

<link rel="stylesheet" href="{{ site.baseurl }}/styles.css">
<link href="{{ site.baseurl }}/share-button.min.css" rel="stylesheet">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/public/apple-touch-icon-precomposed.png">
<link rel="shortcut icon" href="{{ site.baseurl }}/public/favicon.ico">
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ site.baseurl }}/atom.xml">


</head>
53 changes: 53 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">

{% include head.html %}
<body>

<div class="container content">
<header class="masthead">
<h3 class="masthead-title">
<a href="{{ site.baseurl }}/" title="Home">{{ site.title }}</a>
{% for page in site.pages_list %}
&nbsp;&nbsp;&nbsp;<small><a href="{{ page[1] }}">{{ page[0] }}</a></small>
{% endfor %}
&nbsp;&nbsp;&nbsp;<small><share-button>Share</share-button></small>
</h3>
</header>

<main>
{{ content }}
</main>

<footer class="footer">
<small>
&copy; <time datetime="{{ site.time | date_to_xmlschema }}">{{ site.time | date: '%Y' }}</time>. All rights reserved.
</small>
</footer>
</div>

<script src="{{ site.baseurl }}/share-button.min.js"></script>
<script>
var shareButton = new ShareButton({
ui: {
flyout: "bottom left"
},
networks: {
pinterest: {
enabled: false
}
}
});
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-78119605-1', 'auto');
ga('send', 'pageview');

</script>
</body>
</html>
8 changes: 8 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: default
---

<article class="page">
<h1 class="page-title">{{ page.title }}</h1>
{{ content }}
</article>
25 changes: 25 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: default
---

<article class="post">
<h1 class="post-title">{{ page.title }}</h1>
<time datetime="{{ page.date | date_to_xmlschema }}" class="post-date">{{ page.date | date_to_string }}</time>
{{ content }}
</article>

{% if site.related_posts != empty %}
<aside class="related">
<h3>Related posts</h3>
<ul class="related-posts">
{% for post in site.related_posts limit:3 %}
<li>
<a href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
<small><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time></small>
</a>
</li>
{% endfor %}
</ul>
</aside>
{% endif %}
52 changes: 52 additions & 0 deletions _posts/2016-5-21-issue-1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
layout: post
title: Issue 1
---

Hello and welcome to the new issue of **R Weekly**!

## R Community Updates

### News & Blog Posts



### New Packages & Tools



## R Project Updates

R project Updates

## Call for Participation

Always wanted to contribute to open-source projects but didn't know where to start?
Every week we highlight some tasks from the R community for you to pick and get started!

Some of these tasks may also have mentors available, visit the task page for more information.

* [easy] [ ]()

If you are an R project owner and are looking for contributors, please submit tasks [here]().


## Upcoming Events


## Jobs

*No jobs listed for this week.*

## Quote of the Week

*No quote was selected for QotW.*


[R](https://www.r-project.org/) is a free software environment for statistical computing and graphics.

**R Weekly** is openly developed [on GitHub](https://github.com/rweekly/rweekly.org).

If you find any errors in this week's issue, [please submit a PR](https://github.com/rweekly/rweekly.org/pulls).

This week's edition was edited by: [todo](https://github.com/).
78 changes: 78 additions & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
// Body resets
//
// Update the foundational and global aspects of the page.

* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

html,
body {
margin: 0;
padding: 0;
}

html {
font-family: $root-font-family;
font-size: $root-font-size;
line-height: $root-line-height;

@media (min-width: $large-breakpoint) {
font-size: $large-font-size;
}
}

body {
color: $body-color;
background-color: $body-bg;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}

// No `:visited` state is required by default (browsers will use `a`)
a {
color: $link-color;
text-decoration: none;

// `:focus` is linked to `:hover` for basic accessibility
&:hover,
&:focus {
text-decoration: underline;
}

strong {
color: inherit;
}
}

img {
display: block;
max-width: 100%;
margin: 0 0 1rem;
border-radius: 5px;
}

table {
margin-bottom: 1rem;
width: 100%;
font-size: 85%;
border: 1px solid #e5e5e5;
border-collapse: collapse;
}

td,
th {
padding: .25rem .5rem;
border: 1px solid #e5e5e5;
}

th {
text-align: left;
}

tbody tr:nth-child(odd) td,
tbody tr:nth-child(odd) th {
background-color: #f9f9f9;
}
Loading

0 comments on commit dc0b777

Please sign in to comment.