Skip to content

๐ŸŒ… Moonrise is a fresh take on the classic Moon theme, with a modern design, improved responsiveness, and more customization options.

License

Notifications You must be signed in to change notification settings

TolgaTatli/Moonrise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Moonrise Jekyll Theme

(If you like this theme or using it, please give a โญ for motivation.)

๐ŸŒ“ Moonrise is a fresh take on the classic Moon theme, with a modern design, improved responsiveness, and more customization options.

Features

  • Minimal, you can focus on your content
  • Responsive
  • Syntax highlighting
  • Optional post image
  • Social icons
  • Page for sharing projects
  • Optional background image
  • Simple navigation menu
  • MathJax support

Preview

screenshot of Moonrise screenshot of Moonrise

See a live version of Moon hosted on GitHub.

Getting Started

To learn how to install and use this theme check out the Setup Guide for more information.

Installation

  • Fork the Moonrise repo
  • Edit _config.yml file.
  • Remove sample posts from _posts folder and add yours.
  • Edit index.md file in about folder.
  • Change repo name to YourUserName.github.io

That's all.

Site Setup

A quick checklist of the files youโ€™ll want to edit to get up and running.

Site Wide Configuration

_config.yml is your friend. Open it up and personalize it. Most variables are self explanatory but here's an explanation of each if needed:

title

The title of your site... shocker!

Example title: My Awesome Site

bio

The description to show on your homepage.

description

The description to use for meta tags and navigation menu.

url

Used to generate absolute urls in sitemap.xml, feed.xml, and for generating canonical URLs in <head>. When developing locally either comment this out or use something like http://localhost:4000 so all assets load properly. Don't include a trailing /.

Examples:

{% highlight yaml %} url: http://tolgatatli.me/Moonrise url: http://localhost:4000 url: //cooldude.github.io url {%endhighlight%}

reading_time

Set true to show reading time for posts. And set words_per_minute, default is 200.

logo

Your site's logo. It will show on homepage and navigation menu. Also used for twitter meta tags.

background

Image for background. If you don't set it, color will be used as a background.


Navigation Links

To set what links appear in the top navigation edit _data/navigation.yml. Use the following format to set the URL and title for as many links as you'd like. External links will open in a new window.

{% highlight yaml %}

  • title: Home url: /

  • title: Blog url: /blog/

  • title: Projects url: /projects/

  • title: About url: /about/

  • title: Moon url: http://tolgatatli.me/Moon {% endhighlight %}


Layouts and Content

Moon Theme use Jekyll Compress to compress html output. But it can cause errors if you use "linenos" (line numbers). I suggest don't use line numbers for codes, because it won't look good with this theme, also i didn't give a proper style for them. If you insist to use line numbers, just remove layout: compress string from layouts. It will disable compressing.

Feature Image

You can set feature image per post. Just add feature: some link to your post's front matter.

feature: /assets/img/some-image.png
or
feaure: http://example.com/some-image.png

About

๐ŸŒ… Moonrise is a fresh take on the classic Moon theme, with a modern design, improved responsiveness, and more customization options.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published