studiorabota / sage-twig-theme Goto Github PK
View Code? Open in Web Editor NEWBest of Sage and Twig in one Theme
License: MIT License
Best of Sage and Twig in one Theme
License: MIT License
Hi,
I'd like to use your theme for my next project. But it seems, it's based on the 8.4 version of Sage, and not the 8.5. Are you planning to update it?
To be honest, Bootstrap 4 is the only thing I'm missing
Thank anyway
when I run gulp
I get the following error
Error: Missing binding /Users/M8M/Sites/elon.dev/www/wordpress-default/wp-content/themes/sage-twig/node_modules/node-sass/vendor/darwin-x64-11/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node 0.10.x
Found bindings for the following environments:
- OS X 64-bit with Node 0.12.x
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to build the binding for your current environment.
at Object.<anonymous> (/Users/M8M/Sites/elon.dev/www/wordpress-default/wp-content/themes/sage-twig/node_modules/node-sass/lib/index.js:14:11)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/Users/M8M/Sites/elon.dev/www/wordpress-default/wp-content/themes/sage-twig/node_modules/gulp-sass/index.js:187:21)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
I have run npm rebuild node-sass
but still get error
node -v
v0.12.7
npm -v
3.8.8
Hi there,
I'd like to thank you for this theme as it saves me a lot of time with my theme development. I've run into an issue however, I cannot access my post object in the header.twig file. For instance {{post.title}} doesn't work and I can't seem to figure out why or I'd have changed it. Am I missing something here or is this intentional behavior.
Thanks again for your time and effort!
I get the following (very long) warning when I activate the template and check out the home page:
Warning: post.permalink has been removed, please use post.link in C:\wamp64\www\timber\wp-content\plugins\timber-library\lib\Helper.php on line 201 Call Stack #TimeMemoryFunctionLocation 10.0014236592{main}( )...\index.php:0 20.0021239664require( 'C:\wamp64\www\timber\wp-blog-header.php' )...\index.php:17 30.297221901768require_once( 'C:\wamp64\www\timber\wp-includes\template-loader.php' )...\wp-blog-header.php:19 40.315722296872include( 'C:\wamp64\www\timber\wp-content\themes\timber-sage\index.php' )...\template-loader.php:75 50.349122414440Timber\Timber::render( )...\index.php:4 60.349122414640Timber\Timber::fetch( )...\Timber.php:296 70.349122414840Timber\Timber::compile( )...\Timber.php:281 80.351022422752Timber\Loader->render( )...\Timber.php:245 90.393023375968Twig_Environment->render( )...\Loader.php:71 100.524725563368Twig_Template->render( )...\Environment.php:347 110.524725580080Twig_Template->display( )...\Template.php:366 120.524925581248Twig_Template->displayWithErrorHandling( )...\Template.php:355 130.524925581320__TwigTemplate_e555d46274f6b65e7debc4b8da4a5f78deb5350b3903117fd8e322f28bf29cbd->doDisplay( )...\Template.php:381 140.524925581792Twig_Template->display( )...\Environment.php(403) : eval()'d code:25 150.524925582368Twig_Template->displayWithErrorHandling( )...\Template.php:355 160.524925582624__TwigTemplate_777b329bd357055660f880db23249e2699ade3ffea5f640be33f51dcdb6d9531->doDisplay( )...\Template.php:381 170.564125734192Twig_Template->displayBlock( )...\Environment.php(403) : eval()'d code:47 180.564125734424__TwigTemplate_e555d46274f6b65e7debc4b8da4a5f78deb5350b3903117fd8e322f28bf29cbd->block_content( )...\Template.php:167 190.575825727808Twig_Template->display( )...\Environment.php(403) : eval()'d code:55 200.575825728256Twig_Template->displayWithErrorHandling( )...\Template.php:355 210.575825728376__TwigTemplate_75fbb7333eafd17e54f40d366facfca2a0c1c10a7beb35b45d166b8195f973ab->doDisplay( )...\Template.php:381 220.578025729576Twig_Template->getAttribute( )...\Environment.php(403) : eval()'d code:26 230.578125742432call_user_func_array:{C:\wamp64\www\timber\wp-content\plugins\timber-library\vendor\twig\twig\lib\Twig\Template.php:598} ( )...\Template.php:598 240.578125742640Timber\Post->permalink( )...\Template.php:598 250.578125742792Timber\Helper::warn( )...\Post.php:1348 260.578125742888trigger_error ( )...\Helper.php:201 http://localhost/timber/2016/05/11/hello-world/">Hello world!
Any idea what this is about and how to fix it?
Thanks.
When running Composer update I get the error
[Composer\Downloader\TransportException]
Your configuration does not allow connections to http://wpackagist.org/packages.json. See https://getcompose
r.org/doc/06-config.md#secure-http for details.
I was able to fix this by making the repo url https
"url": "http://wpackagist.org"
to "url": "https://wpackagist.org"
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.