This repository has been archived by the owner on Aug 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 433
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
Matt Swanson
committed
Aug 24, 2013
0 parents
commit c4553ae
Showing
30 changed files
with
1,677 additions
and
0 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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
_site/ | |||
.DS_Store |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,21 @@ | |||
The MIT License | |||
|
|||
Copyright (c) Matt Swanson, http://mdswanson.com | |||
|
|||
Permission is hereby granted, free of charge, to any person obtaining a copy | |||
of this software and associated documentation files (the "Software"), to deal | |||
in the Software without restriction, including without limitation the rights | |||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |||
copies of the Software, and to permit persons to whom the Software is | |||
furnished to do so, subject to the following conditions: | |||
|
|||
The above copyright notice and this permission notice shall be included in | |||
all copies or substantial portions of the Software. | |||
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |||
THE SOFTWARE. |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,67 @@ | |||
# Lagom | |||
|
|||
> Lagom is a Swedish word with no direct English equivalent, meaning "just the right amount" | |||
A Jekyll blog theme with just the right amount of style. Extracted lovingly from | |||
[http://mdswanson.com][mds] for your enjoyment | |||
|
|||
* Responsive, based on Skeleton | |||
* Uses Font Awesome for icons | |||
* Open Sans font from Google web fonts | |||
* Built-in Atom RSS feed | |||
|
|||
## Action Shots | |||
![](http://i.imgur.com/Pmzk4j1.png) | |||
![](http://i.imgur.com/CT2Xvug.png) | |||
![](http://i.imgur.com/XisjqW1.jpg) | |||
|
|||
## Installation | |||
|
|||
- Install Jekyll: `gem install jekyll` | |||
- [Fork this repository][fork] | |||
- Clone it: `git clone https://github.com/YOUR-USER/lagom` | |||
- Run the jekyll server: `jekyll serve` | |||
|
|||
You should have a server up and running locally at <http://localhost:4000>. | |||
|
|||
## Customization | |||
|
|||
Next you'll want to change a few things. Most of them can be changed directly in | |||
[_config.yml][config]. That's where you can add your social links, change the accent | |||
color, stuff like that. | |||
|
|||
There's a few other places that you'll want to change, too: | |||
|
|||
- [CNAME][cname]: If you're using this on GitHub Pages with a custom domain name, | |||
you'll want to change this to be the domain you're going to use. All that should | |||
be in here is a domain name on the first line and nothing else (like: `example.com`). | |||
- [favicon.png][favicon]: This is the icon in your browser's address bar. You should | |||
change it to whatever you'd like. | |||
- [logo.png][logo]: A square-ish image that appears in the upper-left corner | |||
|
|||
## Deployment | |||
|
|||
You should deploy with [GitHub Pages][pages] - it's just easier. | |||
|
|||
All you should have to do is rename your repository on GitHub to be | |||
`username.github.io`. Since everything is on the `gh-pages` branch, you | |||
should be able to see your new site at <http://username.github.io>. | |||
|
|||
## Licensing | |||
|
|||
[MIT](https://github.com/swanson/lagom/blob/master/LICENSE) with no | |||
added caveats, so feel free to use this on your site without linking back to | |||
me or using a disclaimer or anything silly like that. | |||
|
|||
## Contact | |||
I'd love to hear from you at [@_swanson][twitter]. Feel free to open issues if you | |||
run into trouble. | |||
|
|||
[mds]: http://mdswanson.com | |||
[fork]: https://github.com/swanson/lagom/fork | |||
[config]: https://github.com/swanson/lagom/blob/master/_config.yml | |||
[cname]: https://github.com/swanson/lagom/blob/master/CNAME | |||
[favicon]: https://github.com/swanson/lagom/blob/master/favicon.png | |||
[logo]: https://github.com/swanson/lagom/blob/master/logo.png | |||
[pages]: http://pages.github.com | |||
[twitter]: https://twitter.com/_swanson |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,26 @@ | |||
# General Jekyll Config | |||
pygments: true | |||
url: http://example.com | |||
lsi: false | |||
exclude: [LICENSE, CNAME, README.md, .gitignore] | |||
|
|||
# Theme customization - please change from the defaults! | |||
theme: | |||
# Color for top bar, links, etc | |||
highlight_color: '#3498db' | |||
|
|||
# Profile links on the left sidebar, leave blank to ignore | |||
social: | |||
github: swanson | |||
twitter: _swanson | |||
hacker_news: swanson | |||
|
|||
# "Hi, I'm _______" | |||
name: Matt Swanson | |||
tagline: "weak opinions, strongly held" | |||
|
|||
# Google Analytics key, leave blank to ignore | |||
google_analytics_key: UA-xxxx-x | |||
|
|||
# Toggle "Postings are my own" disclaimer in footer | |||
show_disclaimer: true |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,15 @@ | |||
{% if site.theme.google_analytics_key %} | |||
<script type="text/javascript"> | |||
|
|||
var _gaq = _gaq || []; | |||
_gaq.push(['_setAccount', '{{ site.theme.google_analytics_key }}']); | |||
_gaq.push(['_trackPageview']); | |||
|
|||
(function() { | |||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |||
})(); | |||
|
|||
</script> | |||
{% endif %} |
Oops, something went wrong.