Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dermatthes committed Oct 11, 2023
1 parent c06c742 commit ff745ab
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 17 deletions.
4 changes: 3 additions & 1 deletion _tpl/_root/docs/_data/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ footer_leuffen_logo_url: https://leuffen.de/assets/leuffen-logo-white.svg
footer_leuffen_logo_alt: "Webdesign & Websites für Ärzte und Arztpraxen von leuffen.de"
footer_leuffen_logo_href: https://leuffen.de

footer_leuffen_text: Webdesign für Arztpraxen
footer_leuffen_text: Webdesign für Ärzte
footer_leuffen_text_href: https://med.leuffen.de


logo256: /assets/logo256.jpg
logo256_type: image/jpeg
2 changes: 1 addition & 1 deletion _tpl/_root/docs/_includes/el/address.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ site.data.general.name}}<br>
{% if site.data.general.name2 != null %}{{site.data.general.name2}}<br>{% endif %}
{%- if site.data.general.name2 != null -%}{{site.data.general.name2}}<br>{%- endif -%}
{{ site.data.general.street }} <br>
{{ site.data.general.zip }} {{ site.data.general.city }}<br><br>
<span>{% include do/trans.html val="Telefon" %}:</span> <b><a href="tel:{{site.data.general.phone1}}" title="Telefon" class="text-decoration-none">{{site.data.general.phone1_text}}</a></b><br>
Expand Down
12 changes: 6 additions & 6 deletions _tpl/_root/docs/_layouts/0_blanc.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
<meta property="og:title" content="{% if page.type != 'website' %}{{ page.title | strip_html | escape }}} - {%endif%}{{ site.data.general.title }}">
<meta property="og:description" content="{{ page.description | strip_html | strip_newlines | escape | replace: " ", " " | replace: " ", " " | replace: " ", " " | lstrip }}">

<meta property="og:image" itemprop="image" content="{{ site.data.style.logo256 }}">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="200">
<meta property="og:image:height" content="200">
<meta property="og:image" itemprop="image" content="{{ site.data.defaults.logo256 }}">
<meta property="og:image:type" content="{{ site.data.defaults.logo256_type}}">
<meta property="og:image:width" content="256">
<meta property="og:image:height" content="256">

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="{{ page.title | strip_html }}">
<meta name="twitter:description" content="{{ page.description | strip_html | strip_newlines | escape }}">
<meta name="twitter:image" content="{{ site.data.style.logo256 }}">
<meta name="twitter:image" content="{{ site.data.defaults.logo256 }}">

{% if page.type != 'website' %}
<meta property="article:author" content="{{ site.data.general.title }}">
Expand All @@ -44,7 +44,7 @@
<link rel="dns-prefetch" href="https://cdn.leuffen.de">
<link rel="preconnect" href="https://cdn.leuffen.de">

<link rel="icon" href="/assets/logo.png" />
<link rel="icon" href="/assets/logo1x1.png" />
<script>
window.lang = '{{ page.lang }}';
window.pid = '{{ page.pid }}'
Expand Down
1 change: 0 additions & 1 deletion _variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ $text-dark: #fff !default;
$border-color: #999 !default;

$header-text-transform: uppercase !default;

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leuffen/themejs1",
"version": "5.0.7",
"version": "5.0.8",

"description": "",
"license": "proprietary",
Expand All @@ -27,7 +27,7 @@
],
"author": "",
"dependencies": {
"@leuffen/jodastyle": "^3.0.3",
"@leuffen/jodastyle": "^3.0.4",
"@kasimirjs/embed": "^1.0.8",
"@leuffen/isl-base": "^2.0.2",
"@leuffen/liscom": "^2.0.8",
Expand Down
3 changes: 2 additions & 1 deletion sections/_defaults.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
--t-text-background-light: var(--t-background);
--t-text-color-accent: var(--bs-gray-900);
--t-text-color-primary: var(--bs-primary);
--t-header-text-transform: var(--header-text-transform);
--t-header-text-transform: #{$header-text-transform};

--t-border-color: #{$border-color};
--t-navbar-height: 88px;
Expand All @@ -27,4 +27,5 @@
--t-section-padding: 40px 0;
--t-section-inner-padding: 3rem;


}
8 changes: 4 additions & 4 deletions sections/sec-multi-card/sec-multi-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ Joda.registerTemplate("sec-multi-card",
// language=HTML
`
<div class="tjs__sec-multi-card">
<div class="container header">
<slot data-select=":scope > .content"></slot>
<section class="tjs__sec-multi-card">
<div class="container header" style="--joda-on-empty-class: d-none;">
<slot class="tjs__section-text" data-select=":scope > .content"></slot>
</div>
<div class="container">
<slot class="row g-3 row-cols-1 row-cols-lg-[[ layout.cols ?? 3 ]]" data-select=":scope > .children > *" data-child-layout="use: #sec-multi-card__item"></slot>
</div>
</div>
</section>
`);
2 changes: 1 addition & 1 deletion themes/_mixins/default-element-format.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@mixin default-element-format() {
section h2 {
text-transform: uppercase;
text-transform: var(--t-header-text-transform, none);
// font-weight: bold;

margin: var(--t-paragraf-margin);
Expand Down

0 comments on commit ff745ab

Please sign in to comment.