Skip to content
This repository was archived by the owner on Apr 12, 2020. It is now read-only.
/ blog Public archive

Commit ff2e1ec

Browse files
committed
update gitignore
1 parent 4f61f85 commit ff2e1ec

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
wp-config.php
22
wp-content/Twig
3+
wp-content/uploads

wp-content/plugins/ap-twig-bridge/lib/APBridge/TwigExtension.php

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public function getFunctions() {
3131
'is_date' => new Twig_Function_Function('is_date'),
3232
'is_home' => new Twig_Function_Function('is_home'),
3333
'is_page' => new Twig_Function_Function('is_page'),
34+
'debug' => new Twig_Function_Function('var_dump'),
3435

3536
'wp_register' => new Twig_Function_Method($this, 'wpRegister', array('is_safe' => array('html'))),
3637
'wp_loginout' => new Twig_Function_Method($this, 'wpLoginout', array('is_safe' => array('html'))),

wp-content/themes/twigbridge/Twig/index.html.twig

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<i class="symbol">comments</i> {{ comments_popup_link('No Comments', '1 Comment', '% Comments', '', 'Comments Closed' ) }}
2222
</p>
2323
</div>
24+
{{ debug(loop.next) }}
2425
{% endfor %}
2526

2627
<div class="navigation">

0 commit comments

Comments
 (0)