Git Product home page Git Product logo

hexo-theme-magnetic's Introduction

Hi there 👋

Thanks for dropping by!

I am a Senior Software Engineer with 15 years of experience.

GitHub Summary

Links

Contact

hexo-theme-magnetic's People

Contributors

felipesousa avatar klugjo avatar obujor avatar otaviohenrique 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

hexo-theme-magnetic's Issues

How to change cover_index

I've been try many times, for example:

cover_index: "img/img01.jpg"
cover_index: "img/img02.jpg"
cover_index: "img/img01.jpg" "img/img02.jpg"
cover_index: "img/img01.jpg", "img/img02.jpg"
cover_index: "img/img01.jpg"; "img/img02.jpg"
cover_index: "img/img01.jpg" / "img/img02.jpg"

above all it still not works, so please tell me how to do it correctly, thanks!

In the post how to add external links?

I have two issues.I really hope that you can help me to solve problems(maybe it`s a problem for me....lol)

1.how to add the pictures' path into the post?Your example are not friendly to me.

2.In the post how to add external links?

Feature request

Please add image handler like hexo-filter-lqip.
Thank you

Adjustable custom cover_detail height.

Hello, I am trying to make the post's cover_detail to have adjustable height.

I modify file /layout/_partial/article-full.ejs like this:

    <section class="top" style="background: url('<%- item.cover_detail || theme.default_cover_detail %>');
        <% if (item.cover_height) { %>
            height: item.cover_height
        <% } %>
          ;">
        <div class="wrapper content_header clearfix">
            <%- partial('article-full-nav', {item: item}) %>
            <h1 class="title"><%- item.title || theme.default_post_title || "Untitled" %></h1>
        </div>
    </section><!-- end top -->

however I don't really understand what I'm doing.

I wanna add cover_height property to my post. If the post has it, then it will modify cover_detail weight by adding height: item.cover_height

But I don't know why it does not work. Perhaps because it's inside quotation mark? I don't know what I can do to make it work.
using height: 480px works but then I won't be able to adjust the height per post.

And I noticed the height value should be set to actual_height - 150px. I wonder where this number came from.
So it should be height: item.cover_height - 150px but I also don't know if math equation worked there, or how to do it.

Sorry if it might be noob question. I hope I may get guidance.

Thank you for this amazing theme.

Edit: ehh looks like actual_height - 150px is wrong. Uhm, what are the formula? Where is 350px in main.css came from?
And also, if it's possible to adjust weight automatically based on the image that would be even better.

Question about removing text

Hi,

This is a really nice clean template thanks so much for making it! I am putting together an artist portfolio page containing artwork that is very minimal. I like the clean look of this template but want a super minimal look and do not want any additional text like the Hexo theme by Jonathan K etc. Pixel hint have said it is ok to remove the "Template by Pixel Hint" but I wanted to ask you about your text/link.

I do appreciate you put work into this so wanted to ask. I hope it is ok to ask this question.

Many thanks again for this.

No layout generated

Hello there,

When I try to generate my blog using Magnetic theme, I get an error on each files under the layout directory:

ERROR Process failed: layout/index.ejs
TypeError: Cannot read property 'compile' of undefined

The result is every page generated doesn't get layout.
Do you have an idea ?

Thanks a lot !

Using relative path on thumbnail

Hello Klugjo very nice theme, I have a question, how to use relative path with thumbnail ?

I have turned on the asset option for every post so that for a post like hello I have a hello folder, I put the img in this folder and put the following line in my post

cover_index: /hello/work1.jpg

However it didn't work as I expected......

What should I do exactly ?

Tks !

cover_detail doesn't show in my post

Regarding the documentation, it says I only need to add cover_detail : assets/coverdetail.jpg right? Images don't show in my post.

This is my Front-matter

title: codecanyon
date: 2019-02-14 11:26:50
cover_detail: assets/coverdetail.jpg
cover_index: assets/cover.jpg

have tried this one

title: codecanyon
date: 2019-02-14 11:26:50
cover_detail: /assets/coverdetail.jpg
cover_index: /assets/cover.jpg

still doesn't work

-UPDATE-
Galery also doesn't work, I'm using gh-pages branch for this. It might be the reason(?)

title: Codecanyon
date: 2019-02-14 11:26:50
cover_detail: /assets/coverdetail.jpg
cover_index: assets/cover.jpg
photos:
- assets/codecanyon/crossyway.JPG
- assets/codecanyon/distortion.JPG
- assets/codecanyon/down.JPG
- assets/codecanyon/dropdots.JPG
- assets/codecanyon/jumping.JPG
- assets/codecanyon/rects.JPG

you can see it here : https://damarindra.github.io/portfolio/

how to specify the pictures of index and pages?

I dont know how to custom the pictures of index and pages, I use like this:
cover_detail: /assets/milkway.jpg
I just put the assets floder in the floder /_posts/ . But it doesn`t work. Could you told me how to solve the problem?

New post not displaying header images.

When I create a new post (hexo new )

  • the content_header image is not being displayed in the index page.
  • the content_detail image is not being displayed

I have the webpage root at "/blog/"

Generate issue

When I try to generate get error.
Some posts ok.

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Аварийный останов

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.