soyaine / horcrux Goto Github PK
View Code? Open in Web Editor NEWGenerate you own online gallery easily. Photo is the horcrux of memory.
Home Page: https://soyaine.github.io/horcrux/
License: MIT License
Generate you own online gallery easily. Photo is the horcrux of memory.
Home Page: https://soyaine.github.io/horcrux/
License: MIT License
(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: /%}/
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/
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
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">
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.