Page 1 of 1

How to delete footer in postleaf

Posted: Wed Aug 24, 2016 2:18 pm
by gautamz07
I just recently installed postleaf a bloggiing platform and all i wanted to do now is edit the theme that i am using in this platform , so basically i opened the footer file in this theme and it looked as below:

Code: Select all

 </div>
    <footer class="animated fadeIn" id="footer">
        <div class="container text-center">
            <form class="search-form" action="{{search_url}}" method="GET">
                <input type="search" name="s" placeholder="Search">
                <button type="submit">Go</button>
            </form>
            <p class="copyright"><span>Made by {{@settings.title}}.</span> <span>Powered by Postleaf.</span></p>
            <a href="https://github.com/postleaf/phantom" class="theme">Theme: Phantom</a>
        </div>
    </footer>

    {{postleaf_foot}}

    {{! Deferred scripts }}
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <script type="text/javascript">
    if (typeof jQuery == 'undefined') {
        document.write('<script type="text/javascript" src="{{theme_url 'assets/js/jquery-1.11.3.min.js'}}"></'+'script>');
    }
    </script>

    <script src="{{theme_url 'assets/js/stellar.js'}}"></script>
    <script src="{{theme_url 'assets/js/phantom.js'}}"></script>
    <script src="{{theme_url 'assets/js/jquery.timeago.min.js'}}"></script>

    <script>jQuery(document).ready(function() { jQuery("time.timeago").timeago(); });</script>

</body>
Now i deleted the footer and kept only the below portion:

Code: Select all

</div>
    {{! Deferred scripts }}
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <script type="text/javascript">
    if (typeof jQuery == 'undefined') {
        document.write('<script type="text/javascript" src="{{theme_url 'assets/js/jquery-1.11.3.min.js'}}"></'+'script>');
    }
    </script>

    <script src="{{theme_url 'assets/js/stellar.js'}}"></script>
    <script src="{{theme_url 'assets/js/phantom.js'}}"></script>
    <script src="{{theme_url 'assets/js/jquery.timeago.min.js'}}"></script>
    <script>jQuery(document).ready(function() { jQuery("time.timeago").timeago(); });</script>
</body>
Now when i refresh the preview in my admin panel i see no difference , infact i see the same. Footer , so how exactly do i delete the footer ??

P.S. i am mostly a frontEnd guy , so maybe i am missing something really basic here.

Thank you.

Re: How to delete footer in postleaf

Posted: Wed Aug 24, 2016 3:33 pm
by Christopher
Does this application have a page cache? If so you may need to delete the cache file to see the change.

Re: How to delete footer in postleaf

Posted: Wed Aug 24, 2016 3:57 pm
by gautamz07
I am just a HTML guy and usually when i save and refresh the page , things work just fine hahaha.

I am using the below lightweight framework

https://github.com/Postleaf/postleaf

Any idea how i clear the cache ? ... would i have to tweak something in the admin panel ?

Thank you.
Gautam.

Re: How to delete footer in postleaf

Posted: Wed Aug 24, 2016 4:13 pm
by Celauran
Well, there is a content/cache directory, so I'd start there. Doesn't seem to be much in the way of documentation.

Re: How to delete footer in postleaf

Posted: Wed Aug 24, 2016 4:14 pm
by Celauran
Alternately, after spending all of one minute looking at their site, https://community.postleaf.org/t/is-it- ... leted/50/7

Re: How to delete footer in postleaf

Posted: Thu Aug 25, 2016 7:49 am
by gautamz07
Thanks celauran :)