So it was definitely the templates that were crushing things up, no ? Le samedi 5 décembre 2020 à 11:46:29 UTC+1, [email protected] a écrit :
> Ok the reinstalled bootstrap made the site work again !!! But I don't > think it was the parent of the custom theme. How can I find it ? The old > site looks like this http://www.remouleurs.com/ > > Le samedi 5 décembre 2020 à 11:26:04 UTC+1, [email protected] a écrit : > >> On Sat, 5 Dec 2020 at 11:23, [email protected] <[email protected]> >> wrote: >> > >> > The error message is now >> > osascript: OpenScripting.framework - scripting addition >> "/Library/ScriptingAdditions/Adobe Unit Types.osax" cannot be used with the >> current OS because it has no OSAXHandlers entry in its Info.plist. >> >> That’s not a Python error. I have no idea why that would be called. >> Perhaps try moving that file to the Trash and testing again? >> >> > Le samedi 5 décembre 2020 à 11:21:02 UTC+1, [email protected] a écrit >> : >> >> >> >> I don't know if I'm doing this right. The only way to find a >> base-jinja folder in this site is in >> bin/python3.6/site-packages/nikola/data/themes. >> >> Is it the path I have to declare in the snippets ? >> >> >> >> I updated jinja2-2.9.5 to 2.11.2 and pip-20.2.4 to pip-20.3.1 >> >> >> >> The rebuild is now really long and leads to a 404 not found. >> >> >> >> Here's my base-helper snippets : >> >> {% macro late_load_js() %} >> >> {% if use_bundles %} >> >> {% if use_cdn %} >> >> <script src=" >> https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> >> >> >> <script src=" >> https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> >> >> >> >> <script src="/assets/js/all.js"></script> >> >> {% else %} >> >> <script src="/assets/js/all-nocdn.js"></script> >> >> {% endif %} >> >> {% else %} >> >> {% if use_cdn %} >> >> <script src=" >> https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> >> >> >> <script src=" >> https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> >> >> >> >> {% else %} >> >> <script src="/assets/js/jquery.min.js"></script> >> >> <script src="/assets/js/bootstrap.min.js"></script> >> >> <script src="/assets/js/moment-with-locales.min.js"></script> >> >> <script src="/assets/js/fancydates.js"></script> >> >> {% endif %} >> >> <script src="/assets/js/baguetteBox.min.js" async></script> >> >> <script type="text/javascript"> >> >> window.addEventListener('load', function() { >> >> baguetteBox.run('.gallery'); >> >> }); >> >> </script> >> >> {% endif %} >> >> <script src="/assets/js/modal_newsletter.js"></script> >> >> {{ social_buttons_code }} >> >> {% endmacro %} >> >> >> >> >> >> {% macro html_stylesheets() %} >> >> {% if use_bundles %} >> >> {% if use_cdn %} >> >> <link href=" >> https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" >> rel="stylesheet"> >> >> <link href="/assets/css/all.css" rel="stylesheet" type="text/css"> >> >> {% else %} >> >> <link href="/assets/css/all-nocdn.css" rel="stylesheet" >> type="text/css"> >> >> {% endif %} >> >> {% else %} >> >> {% if use_cdn %} >> >> <link href=" >> https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" >> rel="stylesheet"> >> >> {% else %} >> >> <link href="/assets/css/bootstrap.min.css" rel="stylesheet" >> type="text/css"> >> >> {% endif %} >> >> <link href="/assets/css/rst.css" rel="stylesheet" type="text/css"> >> >> <link href="/assets/css/code.css" rel="stylesheet" type="text/css"> >> >> <link rel="stylesheet" href="css/baguetteBox.min.css"> >> >> <link href="/assets/css/theme.css" rel="stylesheet" type="text/css"> >> >> {% if has_custom_css %} >> >> <link href="/assets/css/custom.css" rel="stylesheet" type="text/css"> >> >> {% endif %} >> >> {% endif %} >> >> {% if needs_ipython_css %} >> >> <link href="/assets/css/ipython.min.css" rel="stylesheet" >> type="text/css"> >> >> <link href="/assets/css/nikola_ipython.css" rel="stylesheet" >> type="text/css"> >> >> {% endif %} >> >> >> >> Are you using the bootstrap3-jinja theme with small customizations? >> Then install that version from the index (nikola theme -i >> bootstrap3-jinja) and copy over your changes. >> >> -- >> Chris Warrick <https://chriswarrick.com/> >> PGP: 5EAAEA16 >> > -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/9175671d-37b4-4848-9aba-9c7a05ffcbd7n%40googlegroups.com.
