Git Product home page Git Product logo

gravity's People

Contributors

aroraakshit avatar hemangsk avatar imadhsissou avatar iskandernovena avatar jcardoz avatar mr-wunderlich avatar mrshannonyoung avatar projjol avatar qgolsteyn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gravity's Issues

Add general & specific jekyll theme installation instructions in README.md

This issue is created to get you up and running with Jekyll, the superb static site generator.
Basically you have to,

Step 1

  • Write step by step manual to install a jekyll theme in general.
    • You can find it easily on the jekyll doc site, just convert it into markdown with proper formatting.
    • There is a new way of installing jekyll theme, which is introduced in Jekyll v3.0, you have to create a seperate section and add those instructions too.

Step 2

  • After creating instruction for general theme installation, write specific instructions to install Gravity as a theme. This should not be as detailed as general, keep it minimal.

That's it!
Got Queries? Need help getting started ? Just comment below.

Understanding navigation pane

Hi there,

I'm very new to setting up websites, but I really like your gravity theme. I'm trying to learn a bit about how everything is put together, and can't for the life of me figure out how the navigation pages are generated. I see how to change the actual name values associated, but I don't understand how they're being generated. I'm mainly curious, as I'd like to learn how to change the ordering of items in the navigation window, but also to better understand what is happening under the hood.

Thank you,
Spencer

Added images; they show as broken links

Hi Hemang,

Thanks for your Jekyll theme.

I added images to my blog based on your theme.
When I access my repository from GitHub, the image is available and can be seen in the post via repository, but when I load the HTML version of the post from GitHub pages, the image appears as a broken link.

I am pretty sure I need to add something like this to the base structure
<img src="{{ site.baseurl }}/path/to/img/myImage.jpg">
but I am unsure where exactly I need to add this in.

How to add icon

Hi,

How would you add icons beside the Github and Twitter you have in the footer? I've downloaded a Facebook icon and converted it to svg and imitated the format for both the svg and html of the github icon, yet it is still not working. Can I ask where you downloaded your svg for Github from?

Thanks!

Here is what the svg for the Facebook icon looks like, and I think somehow it doesn't look right?
d="M51 506 c-45 -25 -50 -49 -51 -244 0 -200 6 -228 55 -250 36 -16 374
-16 410 0 49 22 55 51 55 248 0 197 -6 226 -55 248 -38 17 -382 16 -414 -2z
m369 -115 c0 -25 -4 -30 -27 -33 -22 -2 -29 -9 -31 -30 -3 -25 0 -28 26 -28
26 0 28 -3 24 -30 -3 -24 -9 -30 -28 -30 -24 0 -24 -2 -24 -90 l0 -90 -40 0
-40 0 0 90 c0 73 -3 90 -15 90 -10 0 -15 10 -15 30 0 20 5 30 15 30 11 0 15
11 15 39 0 52 34 81 96 81 42 0 44 -1 44 -29z"
All of these are integers, but yours seems to have floating points

blank entries on home page

i just tried this solution:

#43

{% if post.categories contains "Design" or post.categories contains "Download" %}

which sort of works. i noticed when i add new posts to other categories (eg "Artwork"), it shows up on my home page but as a blank entry. what have i done wrong?

---
layout: default
---

<div class="home">


  {% for post in paginator.posts %}
     {% if post.categories contains "Design" or post.categories contains "Downloads" %}
  <div class="post postContent">
    <div class="postTag">
      {{post.tag}}
    </div>
    <div class="postTitle">
    <a class='postLink' href="http://website.com{{site.baseurl}}{{post.url}}">{{post.title}}</a>
    </div>
    <div class="postExt">
   {{ post.content | strip_html | truncate:275}}
    </div>
  </div>
  {% endif %}
  {% endfor %}
  {% if paginator.total_pages > 1 %}
    <nav class="pagination">
      {% if paginator.previous_page %}
	<a class="paginationLink" href="http://website.com{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a>
      {% endif %}
    {% for page in (1..paginator.total_pages) %}
      {% if page == paginator.page %}
	<em class="paginationLink paginationLinkCurrent">{{ page }}</em>
      {% elsif page == 1 %}
	<a class="paginationLink" href="/">{{ page }}</a>
      {% else %}
	<a class="paginationLink" href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}/">{{ page }}</a>
      {% endif %}
    {% endfor %}

    {% if paginator.next_page %}
      <a class="paginationLink" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}/">Next &raquo;</a>
    {% endif %}
    </nav>
  {% endif %}
</div>

Does it support timeline in the archive layout?

Hi,

I'm using this for my blog, and I feel grateful for your share.

I just want some kind of timeline in the archive layout, does it support? Such as, categorizing the posts by year.

Thanks.

Jekyll SEO plugin

Hi,

Do you have any plans to integrate the Jekyll SEO plugin? It doesn't appear to work currently?

Cheers
Ed

post.excerpt not work in chinese

hi, i use jekyll lately, and not familiar with html and css, when i finished my post, i founded that home page show all content not excerpt, there is my blog page P.G, i really like Gravity and do not want to change theme, so can you help me fix it? thanks, i will be really appreciate.

Github page does not exist.

I forked this to see what it looked like. I changed the link to my user name and am using the gh-pages and it returns a 404.

I changed it to the master branch after deleting the rest, and the page is missing all the css. What part am I missing? All the other jekyll themes seem to just work off a fork.

Refactor Plan

  • Cleanup code smell
  • Document dark mode
  • Redefine architecture

Atom/RSS Feed for posts pertaining to specific categories

Hi Hemang,

Hope you're keeping well.

I needed to share my RSS feed for posts relating to a category with another website - the objective is to enable the other website to publish my posts at their end too.
I can find my RSS feed here:
http://aliarsalankazmi.github.io/blog_DA/feed

I am unsure, however, if the current feed.xml file with Gravity enables segregating posts for certain categories.
If it is possible to achieve this still, could you please guide me?
Thanks.

Unable to install jekyll on Ubuntu16.04

Hello,
I am trying to setup my github page with your theme and am unable to install jekyll on Ubuntu 16.04.
My default compiler is gcc-4.8 if that could be a possible issue.

The error I get looks like the following:

sudo gem install jekyll
Building native extensions.  This could take a while...
ERROR:  Error installing jekyll:
	ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.3.0/gems/ffi-1.9.17/ext/ffi_c
/usr/bin/ruby2.3 -r ./siteconf20170118-14003-6ja05m.rb extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/usr/bin/$(RUBY_BASE_NAME)2.3
	--with-ffi_c-dir
	--without-ffi_c-dir
	--with-ffi_c-include
	--without-ffi_c-include=${ffi_c-dir}/include
	--with-ffi_c-lib
	--without-ffi_c-lib=${ffi_c-dir}/lib
	--with-libffi-config
	--without-libffi-config
	--with-pkg-config
	--without-pkg-config
/usr/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
	from /usr/lib/ruby/2.3.0/mkmf.rb:541:in `try_link0'
	from /usr/lib/ruby/2.3.0/mkmf.rb:556:in `try_link'
	from /usr/lib/ruby/2.3.0/mkmf.rb:657:in `try_ldflags'
	from /usr/lib/ruby/2.3.0/mkmf.rb:1813:in `pkg_config'
	from extconf.rb:15:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.17/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.3.0/gems/ffi-1.9.17 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.17/gem_make.out

The mkmf.log file contains the following:

| pkg-config --libs libffi
=> "-lffi\n"
"gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -Wdate-time$
gcc: error: unrecognized command line option ‘-Wdate-time’
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

Do you have any idea of how I could setup jekyll on the machine?
Thanks,
Ankit

yourdomain.com

First off, I love this theme. The issue I am having relates to clicking on the about page or articles page and then when I click the home button, it takes me to your domain.com every time. I even set it to my github url and am getting no luck. I've tried for hours and have gotten nothing butt error page not found pages and your domain.

Can you help me figure out why the template doesn't return to the homepage like I want it to?

you can see my page here https://rollonbears234.github.io

Create 'CMD + Shift + 4 + Space Bar key' screenshots of Gravity

The ultimate aim will be to create a m x n size grid of screenshots in README.md to showcase of different pages in Gravity and put them inside a folder called Screenshots.

Different pages which you can choose are,

  • Any post on Gravity
  • Main page of Gravity
  • About Page
  • Category Page

creating posts

hey i just installed gravity on a brand new server and im not sure how to add posts.

i copied the default.html layout and renamed it test.html. then copied the science.md in the root diretory and renamed it test.md.

$ cat test.md

---
layout: default
title: test
permalink: /test/
tagline: "Humanity is overrated."
category: "test"

---

then i created a new post:

$ cat _posts/2017-03-30-test.markdown

---
layout: default
title:  "Science of Gravity"
date:   2017-03-30 19:45:31 +0530
categories: test
author: "Chandler Bing"

---

<>test

but the post doesnt appear after restarting the jekyll server. any idea what im doing wrong?

Website not picking up my latest post

Hi Hemang,

I hope you are keeping well - and that you remember me! ;)
I am facing a problem: When I add a new blog post, for some reason the commit and update is all fine, but the new post does not appear on the main page.

Solutions I have tried:

  1. Adding future: true to config.yaml
  2. Check feed.xml to ensure a build was successful (which it is, but for some reason the new blog post does not appear on the main page)

Thanks so much in advance for your help :)

How to change font size

I find the font style and size a bit too different in the preview page of posts and the posts themselves. I want to customize it ... how should I go about doing it?

Hosting fonts locally?

Hey, I'm a complete html and css noobie. What's the easiest way to host the website fonts from the root of my jekyll site? Which lines in which files should I modify?

And thanks for Gravity, it's the best jekyll theme I've see yet.

I don't know how to solve the problem

Hello,very like your template.
But I want to change the title,I don't know where is the modification,I hope you can help me,Thank you very much!!!
Uploading 12345678765432.png…

Center pages under title

Would be cool to have the pages centered under the title. Atm it looks like they are left aligned.

House Cleaning README.md

Currently the README.md is a bunch of images, remove these 3 images from the README.md
Image 1
alt-tag

Image 2
alt-tag
Image 3
alt-tag

And convert the instructions to text (markdown).
Solving this is all about how you can make the most clean and organised conversion.

That's it!
Got Queries? Need help getting started ? Just comment below.

Post Title turning red?

Hello! Sorry I'm relatively new to git and jekyll.
I've been tinkering with using this theme but the titles of my posts are turning red after I click on them and they stay red. Any fixes or idea of what I could be doing wrong? I didn't touch any of the code and the front matter seems to match the examples.

Add a directory structure graphic in README.md

You have to create a directory structure graphic in README.md using markdown and write in one line what each folder contains.

Update
Directory structure created. Add one line per folder explaining the contents of the folder.

Example of a directory structure : (from https://raw.githubusercontent.com/mmistakes/made-mistakes-jekyll/master/README.md)

├── gulp                      # => gulp tasks
├── src                       # => source Jekyll files and assets
|  ├── _includes
|  ├── _layouts
|  ├── _plugins
|  ├── ...
|  ├── _posts
|  ├── assets
|  |  ├── icons
|  |  ├── images
|  |  |   └── feature
|  |  ├── javascript
|  |  |   ├── plugins
|  |  |   ├── vendor
|  |  |   └── main.js
|  |  ├── stylesheets
|  |  |   ├── vendor
|  |  |   ├── ...
|  |  |   └── style.scss
├── .editorconfig
├── .gitignore
├── _config.dev.yml
├── _config.yml
├── Gemfile
├── gulpfile.js
├── package.json
├── rsync-credentials.json
├── ...

That's it!
Got Queries? Need help getting started ? Just comment below.

dark theme

can you help me identify which lines in style.css i need to modify to invert the color theme. everything black to white, everything dark grey to light grey, etc. sorry, im a noob, clearly.

thanks!

Filter homepage posts

How can I tell the homepage to show only posts from /design/ and /download/ but NOT posts from /science/ ?

Create a dark theme for Gravity

  • Should be configurable via config.yml, where users can do
dark_theme: true

to use the dark theme specific CSS.

  • I'm imagining a black background and white text over it with some font adjustments, but completely open to your ideas.

:)

You can look at my changes

As I see you no longer develop this project, so I took it and added a couple of useful things
If you have something to offer you can take a look at them and send me a Pull requests
But the repository itself -> Gravity by mauladen

Markdown Links aren't working properly

Hello, first off wonderful theme.
Now, I'm trying to link to a site where I've gotten some inspiration from, using Markdown's link sytnax.
But, the link isn't being parsed or interpreted.
I've attached some screen shots so you can see what I am referencing.

link
not-implemented-links

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.