@pronto-tools-and-more/components 12.24.0 → 12.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +14 -3
 - package/package.json +1 -1
 
    
        package/dist/main.js
    CHANGED
    
    | 
         @@ -1774,6 +1774,15 @@ var SearchResultsEPaper = () => { 
     | 
|
| 
       1774 
1774 
     | 
    
         
             
            };
         
     | 
| 
       1775 
1775 
     | 
    
         | 
| 
       1776 
1776 
     | 
    
         
             
            // src/parts/Seo/Seo.tsx
         
     | 
| 
      
 1777 
     | 
    
         
            +
            var getActualTitlePostFix = (titlePostFix) => {
         
     | 
| 
      
 1778 
     | 
    
         
            +
              if (!titlePostFix) {
         
     | 
| 
      
 1779 
     | 
    
         
            +
                return "";
         
     | 
| 
      
 1780 
     | 
    
         
            +
              }
         
     | 
| 
      
 1781 
     | 
    
         
            +
              if (titlePostFix.startsWith("-")) {
         
     | 
| 
      
 1782 
     | 
    
         
            +
                return ` ` + titlePostFix;
         
     | 
| 
      
 1783 
     | 
    
         
            +
              }
         
     | 
| 
      
 1784 
     | 
    
         
            +
              return titlePostFix;
         
     | 
| 
      
 1785 
     | 
    
         
            +
            };
         
     | 
| 
       1777 
1786 
     | 
    
         
             
            var Seo = ({
         
     | 
| 
       1778 
1787 
     | 
    
         
             
              title,
         
     | 
| 
       1779 
1788 
     | 
    
         
             
              description,
         
     | 
| 
         @@ -1784,14 +1793,16 @@ var Seo = ({ 
     | 
|
| 
       1784 
1793 
     | 
    
         
             
              googleSiteVerification,
         
     | 
| 
       1785 
1794 
     | 
    
         
             
              image
         
     | 
| 
       1786 
1795 
     | 
    
         
             
            } = {}) => {
         
     | 
| 
      
 1796 
     | 
    
         
            +
              const actualTitlePostFix = getActualTitlePostFix(titlePostfix);
         
     | 
| 
      
 1797 
     | 
    
         
            +
              const actualTitle = `${title}${actualTitlePostFix}`;
         
     | 
| 
       1787 
1798 
     | 
    
         
             
              const json = {
         
     | 
| 
       1788 
     | 
    
         
            -
                title:  
     | 
| 
      
 1799 
     | 
    
         
            +
                title: actualTitle,
         
     | 
| 
       1789 
1800 
     | 
    
         
             
                seo: {
         
     | 
| 
       1790 
     | 
    
         
            -
                  og_title:  
     | 
| 
      
 1801 
     | 
    
         
            +
                  og_title: actualTitle,
         
     | 
| 
       1791 
1802 
     | 
    
         
             
                  og_description: description,
         
     | 
| 
       1792 
1803 
     | 
    
         
             
                  og_image: image,
         
     | 
| 
       1793 
1804 
     | 
    
         
             
                  description,
         
     | 
| 
       1794 
     | 
    
         
            -
                  title:  
     | 
| 
      
 1805 
     | 
    
         
            +
                  title: actualTitle,
         
     | 
| 
       1795 
1806 
     | 
    
         
             
                  keywords,
         
     | 
| 
       1796 
1807 
     | 
    
         
             
                  "google-site-verification": googleSiteVerification,
         
     | 
| 
       1797 
1808 
     | 
    
         
             
                  language,
         
     |