Changement dans layout.tpl sur l'origine des CSS

This commit is contained in:
2019-12-02 11:03:29 +01:00
parent 9e66d7916d
commit 5d3943cd4b

View File

@@ -20,7 +20,7 @@ GNU General Public License : http://www.gnu.org/licenses/
{* Declare assets directory, relative to template base directory *}
{declare_assets directory='assets/src'}
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
{default_translation_domain domain='fo.BoutiqueFanny'}
{default_translation_domain domain='fo.boutique'}
{* -- Define some stuff for Smarty ------------------------------------------ *}
{config_load file='variables.conf'}
@@ -56,7 +56,7 @@ GNU General Public License : http://www.gnu.org/licenses/
<meta name="description" content="{if $page_description}{$page_description}{else}{$store_description|strip|truncate:120}{/if}">
{/block}
{stylesheets file='assets/src/less/thelia.less' filters='less'}
{stylesheets file='assets/dist/css/thelia.min.css'}
<link rel="stylesheet" href="{$asset_url}">
{/stylesheets}
{*
@@ -140,9 +140,9 @@ GNU General Public License : http://www.gnu.org/licenses/
<div class="header row">
<h1 class="logo container hidden-xs">
<a href="{navigate to="index"}" title="{$store_name}">
{$image = {image file='assets/dist/img/logo.png' failsafe=true}}
{$image = {image file='assets/src/img/logo.png' failsafe=true}}
{if $image == null}
{$image = {image file='assets/dist/img/logo.gif' failsafe=true}}
{$image = {image file='assets/src/img/logo.gif' failsafe=true}}
{/if}
<img src="{$image}" alt="{$store_name}">
</a>
@@ -187,8 +187,8 @@ GNU General Public License : http://www.gnu.org/licenses/
{intl l="Secure payment"} <small>{intl l="Multi-payment platform"}</small>
</div>
<div class="col col-sm-4">
<span class="fa fa-info"></span>
{intl l="Need help ?"} <small>{intl l="Questions ? See our F.A.Q."}</small>
<span class="fa fa-gift"></span>
{intl l="Composition"} <small>{intl l="Composez vos coffrets"}</small>
</div>
</div>
</div>
@@ -231,24 +231,6 @@ GNU General Public License : http://www.gnu.org/licenses/
</footer>
{/ifhook}
{elsehook rel="main.footer-bottom"}
<footer class="footer-info" role="contentinfo">
<div class="container">
<div class="info row">
<nav class="nav-footer col-lg-9" role="navigation">
<ul class="list-unstyled list-inline">
{$folder_information={config key="information_folder_id"}}
{if $folder_information}
{loop name="footer_links" type="content" folder=$folder_information}
<li><a href="{$URL nofilter}">{$TITLE}</a></li>
{/loop}
{/if}
<li><a href="{url path="/contact"}">{intl l="Contact Us"}</a></li>
</ul>
</nav>
<section class="copyright col-lg-3">{intl l="Copyright"} &copy; <time datetime="{'Y-m-d'|date}">{'Y'|date}</time> <a href="http://thelia.net" rel="external">Thelia</a></section>
</div>
</div>
</footer><!-- /.footer-info -->
{/elsehook}
</section><!-- /.footer-container -->
@@ -294,7 +276,7 @@ GNU General Public License : http://www.gnu.org/licenses/
{block name="javascript-initialization"}{/block}
<!-- Custom scripts -->
<script src="{javascript file='assets/dist/js/thelia.min.js'}"></script>
<script src="{javascript file='assets/src/js/thelia.js'}"></script>
{hook name="main.body-bottom"}
</body>