GithubHelp home page GithubHelp logo

soyaine / horcrux Goto Github PK

View Code? Open in Web Editor NEW
50.0 2.0 23.0 87.21 MB

Generate you own online gallery easily. Photo is the horcrux of memory.

Home Page: https://soyaine.github.io/horcrux/

License: MIT License

HTML 28.13% CSS 42.34% Shell 0.95% Python 28.58%
jekyll jekyll-theme jekyll-themes jekyll-template photo-gallery gallery gallery-template gallery-images gh-pages

horcrux's People

Contributors

soyaine 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

Watchers

 avatar  avatar

horcrux's Issues

Chrome @media query compatibility

For Chrome to make CSS @media queries work there is a bug where in index.html the line:

<meta name="viewport" content="width=device-width, initial-scale=1">

actually needs a decimal point on the 1!!!

<meta name="viewport" content="width=device-width, initial-scale=1.0">

Can not run file setup.command in windows 10

Hello Soyaine, I can not Double click the setup.command, when Double click the setup.command it not working. My eviroment in windows 10 Pro 64-bit (10.0, Build 18362)
Help me please!
image

This repo uses Liquid!

For anyone trying to write more custom logic on top of the portfolio just know that it uses Liquid for all the {%- -%} you see around. I wasn't sure what these were and got pretty confused with Django and other libraries. https://shopify.github.io/liquid/

Font loading issue and fix

Thank you so much for this incredible library!

Heads up to anyone else, I ran into a bug where I couldn't load the custom font provided. On line 74 of scripts/photo.py I needed to add the prefix horcrux because my setup.command was running from my base directory, not the horcrux directory.

font = ImageFont.truetype('./assets/font/' + conf.fontfamily, conf.fontsize)

Changed to:

font = ImageFont.truetype('./horcrux/assets/font/' + conf.fontfamily, conf.fontsize)

and then everything worked as it should!

Thanks again @soyaine

Liquid Exception

(base) daneshwar@daneshwar-Predator-PH315-51:~/Desktop/horcrux/horcrux$ jekyll serve --watch -I
Configuration file: /home/daneshwar/Desktop/horcrux/horcrux/_config.yml
Source: /home/daneshwar/Desktop/horcrux/horcrux
Destination: /home/daneshwar/Desktop/horcrux/horcrux/_site
Incremental build: enabled
Generating...
Liquid Exception: Liquid syntax error (line 35): Tag '{%- include header.html -%}' was not properly terminated with regexp: /%}/ in index.html
jekyll 3.1.6 | Error: Liquid syntax error (line 35): Tag '{%- include header.html -%}' was not properly terminated with regexp: /%}/

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.