PWA Not Work When Add Code In head_tag.html

Dear development team,

I would like to provide feedback regarding an issue I faced with the Progressive Web Application (PWA) feature on my website. When I added the code to the ‘head_tag.html’ file from common, the PWA feature did not work. However, when I moved the entire code to the ‘header.html’ file, the PWA feature worked smoothly.

I would like to suggest that the development team checks and adjusts this issue to ensure that the PWA feature works properly on the ‘head_tag.html’ file as well. Thank you for your attention to this matter.

Best regards,
Hoàng Phúc from Businesslab.vn

1 Like

What is the exact content you’ve put in the head tag that broke PWA installability?

1 Like

<!--Add custom font/icon-->
<script src="https://kit.fontawesome.com/4c425b5399.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,400,0,0" />

<div class="background-container"></div>
<!--Add extra info to copied web text
Source: https://stackoverflow.com/questions/2026335/how-to-add-extra-info-to-copied-web-text
-->
<script>
    const copyListener = (event) => {
  const range = window.getSelection().getRangeAt(0),
    rangeContents = range.cloneContents(),
    pageLink = `Xem thêm tại: ${document.location.href}`,
    helper = document.createElement("div");

  helper.appendChild(rangeContents);

  event.clipboardData.setData("text/plain", `${helper.innerText}\n${pageLink}`);
  event.clipboardData.setData("text/html", `${helper.innerHTML}<br>${pageLink}`);
  event.preventDefault();
};
document.addEventListener("copy", copyListener);
</script>
<!--Change icon
Source: https://meta.discourse.org/t/replace-discourses-default-svg-icons-with-custom-icons-in-a-theme/115736
-->
<script type="text/discourse-plugin" version="0.8">
  /*api.replaceIcon('comment', 'icon-messages');
  api.replaceIcon('search', 'icon-search');
  api.replaceIcon('bars', 'icon-menu');
  api.replaceIcon('home', 'icon-home');
  api.replaceIcon('user', 'icon-personal');
  api.replaceIcon('envelope', 'icon-inbox');
  api.replaceIcon('bookmark', 'icon-saved');
  api.replaceIcon('cog', 'icon-setting');
  api.replaceIcon('d-regular', 'icon-plus');*/
</script>
<!-- Add SVG code here. Add more <symbol> blocks as needed. (*) Copy <path>   -->
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
    <symbol id="icon-messages">
      <path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M13.6443 1.01724C11.4741 0.900806 9.31291 1.3759 7.39157 2.39181C5.47023 3.40773 3.86083 4.92631 2.73515 6.78548C1.60948 8.64464 1.0098 10.7746 1.00012 12.948C0.990439 15.1213 1.57112 17.2565 2.68019 19.1256L1.67722 23.1478C1.64256 23.2729 1.6333 23.4037 1.64999 23.5324C1.66669 23.6611 1.70899 23.7852 1.7744 23.8973C1.83982 24.0094 1.92703 24.1073 2.03088 24.1852C2.13473 24.263 2.25312 24.3193 2.37907 24.3507C2.50502 24.3821 2.63598 24.3879 2.76422 24.3678C2.89247 24.3478 3.01539 24.3022 3.12575 24.2339C3.23612 24.1656 3.33168 24.0759 3.4068 23.97C3.48192 23.8642 3.53508 23.7443 3.56315 23.6176L4.66557 19.1977C4.69751 19.0692 4.70289 18.9356 4.68137 18.805C4.65985 18.6744 4.61188 18.5495 4.54041 18.4381C3.19992 16.3504 2.67845 13.8408 3.07627 11.3918C3.47409 8.94283 4.7631 6.72733 6.69551 5.17121C8.62793 3.61509 11.0673 2.82819 13.5448 2.96178C16.0223 3.09536 18.363 4.14 20.1168 5.89488C21.8707 7.64976 22.914 9.99102 23.0462 12.4686C23.1784 14.9461 22.3901 17.3851 20.8329 19.3166C19.2757 21.2482 17.0595 22.5359 14.6103 22.9323C12.1611 23.3288 9.65178 22.8059 7.56476 21.4642C7.45737 21.3941 7.33716 21.3459 7.21106 21.3224C7.08496 21.2989 6.95546 21.3007 6.83002 21.3275C6.70459 21.3543 6.5857 21.4056 6.4802 21.4786C6.37471 21.5516 6.2847 21.6447 6.21536 21.7526C6.14603 21.8605 6.09873 21.9811 6.0762 22.1074C6.05367 22.2336 6.05635 22.3631 6.08409 22.4883C6.11183 22.6136 6.16408 22.7321 6.23783 22.837C6.31157 22.942 6.40536 23.0313 6.51378 23.0998C8.05997 24.0927 9.8135 24.7173 11.6392 24.9254C13.4649 25.1336 15.314 24.9197 17.044 24.3003C18.774 23.6809 20.3387 22.6725 21.6174 21.3529C22.8961 20.0333 23.8547 18.4377 24.4194 16.6891C24.984 14.9404 25.1396 13.0855 24.8741 11.2673C24.6086 9.44902 23.9291 7.71601 22.8881 6.20184C21.847 4.68767 20.4722 3.43277 18.8695 2.53388C17.2669 1.63499 15.4792 1.11611 13.6443 1.01724ZM12.0722 13.9308C12.2839 14.1439 12.5632 14.2769 12.8622 14.3069C13.1611 14.3369 13.4613 14.2621 13.7112 14.0953C13.9772 13.9158 14.1671 13.644 14.2442 13.3326C14.3213 13.0211 14.2802 12.6921 14.1287 12.4092C13.9772 12.1263 13.7262 11.9097 13.4242 11.8012C13.1223 11.6927 12.7908 11.7001 12.4939 11.8219C12.3335 11.8803 12.1878 11.9732 12.0672 12.0941C11.9467 12.215 11.8541 12.3609 11.7961 12.5214C11.7298 12.6777 11.6949 12.8455 11.6932 13.0152C11.6932 13.3581 11.8287 13.6873 12.0704 13.9308H12.0722ZM18.1723 14.3114C17.9796 14.3134 17.7889 14.2725 17.614 14.1916C17.4392 14.1106 17.2846 13.9917 17.1614 13.8435C17.0383 13.6953 16.9498 13.5215 16.9023 13.3347C16.8548 13.148 16.8496 12.953 16.8869 12.764C16.9243 12.5749 17.0033 12.3966 17.1183 12.242C17.2333 12.0873 17.3812 11.9603 17.5515 11.87C17.7218 11.7798 17.91 11.7287 18.1025 11.7203C18.295 11.712 18.4869 11.7467 18.6644 11.8219C18.8238 11.8837 18.9695 11.9762 19.093 12.0945C19.2077 12.2208 19.2999 12.3657 19.3656 12.5232C19.4984 12.8391 19.5008 13.1947 19.3724 13.5124C19.3079 13.67 19.213 13.8133 19.093 13.9342C18.8447 14.1716 18.5158 14.3063 18.1723 14.3114ZM7.07956 14.0953C7.29444 14.2379 7.54694 14.3131 7.80479 14.3114C7.9974 14.3132 8.18799 14.272 8.36271 14.1909C8.53742 14.1098 8.69185 13.9908 8.81479 13.8425C8.93772 13.6942 9.02606 13.5204 9.07337 13.3337C9.12069 13.147 9.1258 12.952 9.08832 12.7631C9.05084 12.5742 8.97173 12.3959 8.85673 12.2414C8.74173 12.0869 8.59373 11.96 8.42351 11.8698C8.25329 11.7797 8.06511 11.7286 7.87267 11.7203C7.68023 11.712 7.48836 11.7467 7.31102 11.8219C7.15156 11.8836 7.00589 11.9763 6.8824 12.0945C6.74571 12.2301 6.64095 12.3945 6.57573 12.5756C6.51051 12.7568 6.48647 12.9502 6.50535 13.1418C6.52424 13.3334 6.58557 13.5184 6.68489 13.6834C6.78422 13.8483 6.91904 13.989 7.07956 14.0953Z" fill="black"/>
    </symbol>
    <symbol id="icon-search">
      <path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M11.1214 1C5.60064 1 1 5.60064 1 11.1214C1 16.6422 5.60064 21.2428 11.1214 21.2428C13.4217 21.2428 15.722 20.476 17.5623 18.9425L23.3898 24.77C23.6965 25.0767 24.3099 25.0767 24.6166 24.77C24.9233 24.4633 24.9233 23.8498 24.6166 23.5431L18.9425 17.5623C22.4696 13.2684 22.0096 6.82748 17.7157 3.30032C15.722 1.76678 13.4217 1 11.1214 1ZM2.84026 11.1214C2.84026 6.52077 6.52077 2.84026 11.1214 2.84026C15.722 2.84026 19.4026 6.52077 19.4026 11.1214C19.4026 15.722 15.722 19.4026 11.1214 19.4026C6.52077 19.4026 2.84026 15.722 2.84026 11.1214Z" fill="black" stroke="black"/>
    </symbol>
    <symbol id="icon-menu">
      <path xmlns="http://www.w3.org/2000/svg" d="M24.0202 14.2308H1.97979C1.48989 14.2308 1 13.7692 1 13C1 12.2308 1.4899 11.7692 1.97979 11.7692H24.0202C24.5101 11.7692 25 12.2308 25 13C25 13.7692 24.5101 14.2308 24.0202 14.2308ZM20.3472 3.46154H5.65279C5.16289 3.46154 4.67421 2.84615 4.67421 2.23077C4.67421 1.61539 5.16289 1 5.65279 1H20.3472C20.8371 1 21.327 1.46154 21.327 2.23077C21.327 3 20.8371 3.46154 20.3472 3.46154ZM20.3472 25H5.65279C5.16289 25 4.67421 24.5385 4.67421 23.7692C4.67421 23 5.04102 22.5385 5.65279 22.5385H20.3472C20.8371 22.5385 21.327 23 21.327 23.7692C21.327 24.5385 20.8371 25 20.3472 25Z" fill="black" stroke="black"/>
    </symbol>
    <symbol id="icon-home">
      <path xmlns="http://www.w3.org/2000/svg" d="M21.5379 25H16.8368C16.3186 25 15.889 24.5703 15.889 24.0522V19.0099C15.889 18.0242 15.0928 17.228 14.1071 17.228H13.9807C13.0582 17.2786 12.3252 18.0621 12.3252 19.0099V24.0522C12.3252 24.5703 11.8955 25 11.3774 25H6.37301C5.85487 25 5.4252 24.5703 5.4252 24.0522V14.2582H1.94992C1.55816 14.2582 1.21695 14.0181 1.0653 13.6643C0.995658 13.4875 0.981325 13.2938 1.0242 13.1088C1.06708 12.9237 1.16514 12.7561 1.30542 12.628L13.4499 1.25435C13.8164 0.913139 14.3851 0.913139 14.7516 1.26699L26.6181 12.6406C26.8961 12.906 26.9846 13.3231 26.8456 13.6769C26.7066 14.0307 26.3527 14.2709 25.961 14.2709H22.4857V24.0648C22.4857 24.5703 22.056 25 21.5379 25ZM17.7846 23.1044H20.5901V13.3104C20.5901 12.7923 21.0197 12.3626 21.5379 12.3626H23.5978L14.0818 3.23842L4.35103 12.3626H6.37301C6.89114 12.3626 7.32081 12.7923 7.32081 13.3104V23.1044H10.417V19.0099C10.417 17.0637 11.9461 15.4461 13.8923 15.3324H14.0692C16.1291 15.3324 17.7719 16.9879 17.7719 19.0099V23.1044H17.7846Z" fill="black"/>
    </symbol>
    <symbol id="icon-personal">
      <path xmlns="http://www.w3.org/2000/svg" d="M13 3.85C13.4137 3.85 13.8233 3.93148 14.2055 4.08978C14.5876 4.24808 14.9349 4.48011 15.2274 4.77261C15.5199 5.06512 15.7519 5.41237 15.9102 5.79455C16.0685 6.17672 16.15 6.58634 16.15 7C16.15 7.41366 16.0685 7.82328 15.9102 8.20545C15.7519 8.58763 15.5199 8.93488 15.2274 9.22739C14.9349 9.51989 14.5876 9.75192 14.2055 9.91022C13.8233 10.0685 13.4137 10.15 13 10.15C12.1646 10.15 11.3634 9.81813 10.7726 9.22739C10.1819 8.63665 9.85 7.83543 9.85 7C9.85 6.16457 10.1819 5.36335 10.7726 4.77261C11.3634 4.18187 12.1646 3.85 13 3.85ZM13 17.35C17.455 17.35 22.15 19.54 22.15 20.5V22.15H3.85V20.5C3.85 19.54 8.545 17.35 13 17.35ZM13 1C9.685 1 7 3.685 7 7C7 10.315 9.685 13 13 13C16.315 13 19 10.315 19 7C19 3.685 16.315 1 13 1ZM13 14.5C8.995 14.5 1 16.51 1 20.5V25H25V20.5C25 16.51 17.005 14.5 13 14.5Z" fill="black"/>
    </symbol>
    <symbol id="icon-inbox">
      <path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M1.9225 4C1.67784 4 1.4432 4.09719 1.27019 4.27019C1.09719 4.4432 1 4.67784 1 4.9225V20.8855C1 21.3955 1.414 21.8095 1.9225 21.8095H24.0775C24.5875 21.8095 25 21.3955 25 20.8855V4.9225C25 4.67784 24.9028 4.4432 24.7298 4.27019C24.5568 4.09719 24.3222 4 24.0775 4H1.9225ZM23.155 6.895V5.845H2.8465V6.895L10.54 12.886C11.243 13.4338 12.1087 13.7314 13 13.7314C13.8913 13.7314 14.757 13.4338 15.46 12.886L23.155 6.895ZM2.8465 9.235V19.963H23.1535V9.235L16.5955 14.3395C15.5682 15.1406 14.3027 15.5757 13 15.5757C11.6973 15.5757 10.4318 15.1406 9.4045 14.3395L2.8465 9.235Z" fill="black"/>
    </symbol>
    <symbol id="icon-saved">
      <path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M2 1.97263C2 1.43615 2.43615 1 2.97263 1H17.2437C18.8781 1 20.4454 1.64923 21.6011 2.80488C22.7567 3.96052 23.406 5.52791 23.406 7.16224V24.0275C23.406 24.2035 23.3582 24.3762 23.2677 24.5272C23.1773 24.6781 23.0476 24.8018 22.8924 24.8848C22.7373 24.9679 22.5625 25.0073 22.3867 24.9989C22.2109 24.9904 22.0407 24.9344 21.8942 24.8369L14.6496 20.0072L7.40501 24.8369C7.25852 24.9344 7.08831 24.9904 6.91251 24.9989C6.73671 25.0073 6.56192 24.9679 6.40676 24.8848C6.2516 24.8018 6.12188 24.6781 6.03144 24.5272C5.94101 24.3762 5.89323 24.2035 5.89321 24.0275V7.16224C5.89321 6.90428 5.99569 6.65689 6.17809 6.47449C6.36049 6.29208 6.60789 6.18961 6.86585 6.18961C7.1238 6.18961 7.3712 6.29208 7.5536 6.47449C7.73601 6.65689 7.83848 6.90428 7.83848 7.16224V22.2093L14.1091 18.0284C14.2689 17.9218 14.4568 17.8649 14.6489 17.8649C14.8411 17.8649 15.0289 17.9218 15.1888 18.0284L21.4607 22.2093V7.16224C21.4603 6.04406 21.0159 4.9718 20.2251 4.18126C19.4343 3.39071 18.3619 2.94661 17.2437 2.94661H2.97263C2.84479 2.94661 2.71821 2.9214 2.60011 2.87244C2.48202 2.82348 2.37474 2.75171 2.28441 2.66125C2.19407 2.5708 2.12245 2.46342 2.07365 2.34526C2.02485 2.2271 1.99983 2.10047 2 1.97263Z" fill="black"/>
    </symbol>
    <symbol id="icon-setting">
      <path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M13.0038 8.42226C12.3957 8.41125 11.7915 8.52151 11.2265 8.74661C10.6615 8.9717 10.1471 9.30712 9.71312 9.73326C9.27919 10.1594 8.93452 10.6677 8.69924 11.2286C8.46395 11.7894 8.34277 12.3915 8.34277 12.9997C8.34277 13.6079 8.46395 14.21 8.69924 14.7708C8.93452 15.3316 9.27919 15.84 9.71312 16.2661C10.1471 16.6923 10.6615 17.0277 11.2265 17.2528C11.7915 17.4779 12.3957 17.5881 13.0038 17.5771C14.2035 17.5554 15.3467 17.0636 16.1874 16.2075C17.0281 15.3514 17.4991 14.1995 17.4991 12.9997C17.4991 11.7998 17.0281 10.6479 16.1874 9.79186C15.3467 8.93579 14.2035 8.44398 13.0038 8.42226ZM10.2572 13.0004C10.2572 12.272 10.5466 11.5734 11.0617 11.0583C11.5768 10.5432 12.2754 10.2538 13.0038 10.2538C13.7323 10.2538 14.4309 10.5432 14.946 11.0583C15.461 11.5734 15.7504 12.272 15.7504 13.0004C15.7504 13.7289 15.461 14.4275 14.946 14.9426C14.4309 15.4577 13.7323 15.747 13.0038 15.747C12.2754 15.747 11.5768 15.4577 11.0617 14.9426C10.5466 14.4275 10.2572 13.7289 10.2572 13.0004Z" fill="black"/>
      <path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M13.0038 1C12.412 0.999891 11.8366 1.19441 11.3663 1.55359C10.896 1.91276 10.5569 2.41664 10.4012 2.98758L9.88817 4.75014C9.71238 4.81759 9.53878 4.89063 9.36765 4.96915L7.76259 4.07062C7.2477 3.78217 6.65271 3.66974 6.06807 3.75044C5.48344 3.83114 4.94115 4.10055 4.52366 4.5177C4.10617 4.93485 3.83632 5.47692 3.75515 6.06149C3.67397 6.64605 3.78591 7.24114 4.07395 7.75626L4.97398 9.36132C4.89598 9.52933 4.82398 9.70034 4.75497 9.87134L2.9879 10.3964C2.41672 10.552 1.91262 10.8913 1.55337 11.3619C1.19411 11.8324 0.999659 12.4081 1 13.0001C1.00034 13.5921 1.19546 14.1676 1.55526 14.6377C1.91505 15.1079 2.41954 15.4466 2.9909 15.6016L4.75347 16.1146C4.82189 16.2909 4.89593 16.465 4.97548 16.6366L4.07545 18.2537C3.78955 18.7686 3.67912 19.3625 3.76088 19.9458C3.84263 20.529 4.11211 21.0698 4.52855 21.4862C4.94499 21.9026 5.48574 22.1721 6.06897 22.2539C6.65221 22.3356 7.2462 22.2252 7.76109 21.9393L9.36915 21.0303C9.53566 21.1083 9.70516 21.1803 9.87767 21.2478L10.4027 23.0148C10.5588 23.5854 10.8982 24.0888 11.3686 24.4475C11.8389 24.8062 12.4142 25.0003 13.0057 25C13.5972 24.9997 14.1722 24.8049 14.6422 24.4456C15.1121 24.0864 15.4509 23.5826 15.6064 23.0118L16.1194 21.2478C16.2949 21.1803 16.4689 21.1068 16.6414 21.0273L18.2585 21.9273C18.7733 22.2145 19.3678 22.3259 19.9517 22.2446C20.5356 22.1634 21.077 21.8939 21.4938 21.477C21.9107 21.0602 22.1802 20.5187 22.2615 19.9348C22.3427 19.351 22.2313 18.7565 21.9441 18.2417L21.0351 16.6336C21.1116 16.4671 21.1851 16.2961 21.2511 16.1236L23.0197 15.6001C23.5902 15.4439 24.0936 15.1045 24.4523 14.6342C24.811 14.1638 25.0052 13.5886 25.0048 12.9971C25.0045 12.4055 24.8097 11.8305 24.4504 11.3606C24.0912 10.8907 23.5874 10.5518 23.0167 10.3964L21.2526 9.88334C21.1846 9.70706 21.1111 9.53296 21.0321 9.36132L21.9321 7.74426C22.2204 7.22926 22.3326 6.63422 22.2516 6.04962C22.1707 5.46501 21.9011 4.92283 21.4837 4.50551C21.0664 4.08819 20.5242 3.81857 19.9396 3.73763C19.355 3.65669 18.76 3.76888 18.245 4.05712L16.6384 4.96765C16.4707 4.88985 16.3006 4.81731 16.1284 4.75014L15.6049 2.98308C15.4485 2.41348 15.1095 1.91096 14.6398 1.55271C14.1702 1.19446 13.596 1.00028 13.0053 1H13.0038ZM12.4758 3.01008C12.5888 2.92332 12.7215 2.86576 12.862 2.84248C13.0026 2.8192 13.1467 2.83091 13.2817 2.87659C13.4166 2.92227 13.5382 3.0005 13.6358 3.10437C13.7333 3.20823 13.8037 3.33453 13.8408 3.4721L13.8468 3.4961L14.5068 5.71618C14.5486 5.85816 14.6243 5.98787 14.7272 6.09421C14.8301 6.20054 14.9573 6.28032 15.0979 6.32671C15.4894 6.45571 15.8689 6.61772 16.2319 6.81272C16.3683 6.88598 16.521 6.92344 16.6758 6.9216C16.8306 6.91976 16.9824 6.87869 17.1169 6.80222L19.1405 5.65618C19.3078 5.56366 19.5006 5.52817 19.6898 5.55509C19.8791 5.58201 20.0544 5.66987 20.1892 5.80535C20.324 5.94084 20.4109 6.11657 20.4369 6.30593C20.4629 6.49529 20.4264 6.68795 20.3331 6.85473L19.1975 8.8933C19.1231 9.02705 19.0834 9.17732 19.0821 9.33037C19.0808 9.48341 19.1179 9.63434 19.19 9.76934C19.385 10.1354 19.5485 10.5194 19.676 10.9139C19.722 11.056 19.8021 11.1848 19.9093 11.2889C20.0165 11.3929 20.1476 11.4692 20.2911 11.5109L22.5127 12.1574L22.5307 12.1634C22.7146 12.2131 22.8771 12.322 22.993 12.4733C23.1088 12.6246 23.1716 12.8099 23.1716 13.0005C23.1716 13.191 23.1088 13.3763 22.993 13.5276C22.8771 13.6789 22.7146 13.7878 22.5307 13.8375L22.5082 13.8435L20.2881 14.5035C20.1461 14.5453 20.0164 14.6209 19.91 14.7239C19.8037 14.8268 19.7239 14.954 19.6775 15.0945C19.5491 15.4861 19.3865 15.8656 19.1915 16.2286C19.118 16.3648 19.0803 16.5175 19.0819 16.6723C19.0835 16.827 19.1243 16.9789 19.2005 17.1136L20.3466 19.1372C20.4387 19.3043 20.4739 19.4968 20.4469 19.6857C20.42 19.8746 20.3323 20.0496 20.1971 20.1842C20.062 20.3189 19.8866 20.4059 19.6977 20.4322C19.5087 20.4584 19.3163 20.4225 19.1495 20.3297L17.1109 19.1942C16.9772 19.1198 16.8269 19.0801 16.6739 19.0788C16.5208 19.0775 16.3699 19.1146 16.2349 19.1867C15.8674 19.3817 15.4849 19.5452 15.0904 19.6727C14.9482 19.7187 14.8195 19.7988 14.7154 19.906C14.6113 20.0132 14.5351 20.1443 14.4933 20.2877L13.8453 22.5108L13.8408 22.5288C13.7911 22.7128 13.6822 22.8753 13.5309 22.9911C13.3796 23.107 13.1944 23.1698 13.0038 23.1698C12.8132 23.1698 12.628 23.107 12.4767 22.9911C12.3254 22.8753 12.2165 22.7128 12.1668 22.5288L12.1608 22.5063L11.5007 20.2862C11.4588 20.1441 11.383 20.0143 11.2797 19.9079C11.1765 19.8016 11.049 19.7219 10.9082 19.6757C10.5167 19.5472 10.1372 19.3846 9.77417 19.1897C9.6378 19.1164 9.48508 19.079 9.3303 19.0808C9.17551 19.0827 9.02372 19.1237 8.88913 19.2002L6.86855 20.3447C6.70145 20.4368 6.50743 20.4721 6.31854 20.4451C6.12966 20.4181 5.95468 20.3305 5.82002 20.1953C5.68536 20.0601 5.59833 19.8848 5.57208 19.6958C5.54583 19.5068 5.58178 19.3145 5.67451 19.1477L6.80855 17.1091C6.8832 16.9755 6.92313 16.8253 6.92471 16.6723C6.92628 16.5192 6.88944 16.3682 6.81755 16.2331C6.62254 15.8671 6.45754 15.4831 6.33153 15.0885C6.28555 14.9464 6.20546 14.8176 6.09825 14.7136C5.99104 14.6095 5.85998 14.5333 5.71651 14.4915L3.49492 13.8405L3.47542 13.836C3.29145 13.7863 3.12898 13.6774 3.01313 13.5261C2.89728 13.3748 2.8345 13.1895 2.8345 12.999C2.8345 12.8084 2.89728 12.6231 3.01313 12.4718C3.12898 12.3205 3.29145 12.2116 3.47542 12.1619L3.49942 12.1559L5.71951 11.4959C5.86165 11.454 5.99147 11.3781 6.09782 11.2749C6.20417 11.1717 6.28386 11.0442 6.33003 10.9034C6.45754 10.5134 6.62104 10.1324 6.81605 9.76934C6.88896 9.63378 6.9265 9.48202 6.92519 9.32811C6.92387 9.1742 6.88376 9.0231 6.80855 8.8888L5.67301 6.86373C5.58007 6.69672 5.5441 6.50396 5.57055 6.31468C5.59699 6.12539 5.68441 5.94987 5.81956 5.81473C5.9547 5.67958 6.13022 5.59216 6.3195 5.56572C6.50879 5.53927 6.70154 5.57525 6.86855 5.66818L8.89363 6.80372C9.02762 6.8789 9.17837 6.91913 9.332 6.9207C9.48562 6.92227 9.63717 6.88514 9.77267 6.81272C10.1387 6.61772 10.5227 6.45271 10.9172 6.32671C11.0594 6.28073 11.1881 6.20063 11.2922 6.09342C11.3963 5.98621 11.4725 5.85515 11.5142 5.71168L12.1608 3.4901L12.1668 3.4706C12.2163 3.28685 12.3249 3.1245 12.4758 3.00858V3.01008Z" fill="black"/>
    </symbol>
    <symbol id="icon-plus">
        <line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line>
      </symbol>
</svg>

Here is a piece of code i used before

1 Like

The /* and */ don’t look right.

1 Like

I don’t know. But after removing those two comment marks it worked just fine for me.

1 Like

<!--Add custom font/icon-->
<script src="https://kit.fontawesome.com/4c425b5399.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,400,0,0" />

<div class="background-container"></div>
<!--Add extra info to copied web text
Source: https://stackoverflow.com/questions/2026335/how-to-add-extra-info-to-copied-web-text
-->
<script>
    const copyListener = (event) => {
  const range = window.getSelection().getRangeAt(0),
    rangeContents = range.cloneContents(),
    pageLink = `Xem thêm tại: ${document.location.href}`,
    helper = document.createElement("div");

  helper.appendChild(rangeContents);

  event.clipboardData.setData("text/plain", `${helper.innerText}\n${pageLink}`);
  event.clipboardData.setData("text/html", `${helper.innerHTML}<br>${pageLink}`);
  event.preventDefault();
};
document.addEventListener("copy", copyListener);
</script>
<!--Change icon
Source: https://meta.discourse.org/t/replace-discourses-default-svg-icons-with-custom-icons-in-a-theme/115736

<script type="text/discourse-plugin" version="0.8">
  api.replaceIcon('comment', 'icon-messages');
  api.replaceIcon('search', 'icon-search');
  api.replaceIcon('bars', 'icon-menu');
  api.replaceIcon('home', 'icon-home');
  api.replaceIcon('user', 'icon-personal');
  api.replaceIcon('envelope', 'icon-inbox');
  api.replaceIcon('bookmark', 'icon-saved');
  api.replaceIcon('cog', 'icon-setting');
  api.replaceIcon('d-regular', 'icon-plus');
</script> -->
<!-- Add SVG code here. Add more <symbol> blocks as needed. (*) Copy <path>
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
    <symbol id="icon-messages">
      <path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M13.6443 1.01724C11.4741 0.900806 9.31291 1.3759 7.39157 2.39181C5.47023 3.40773 3.86083 4.92631 2.73515 6.78548C1.60948 8.64464 1.0098 10.7746 1.00012 12.948C0.990439 15.1213 1.57112 17.2565 2.68019 19.1256L1.67722 23.1478C1.64256 23.2729 1.6333 23.4037 1.64999 23.5324C1.66669 23.6611 1.70899 23.7852 1.7744 23.8973C1.83982 24.0094 1.92703 24.1073 2.03088 24.1852C2.13473 24.263 2.25312 24.3193 2.37907 24.3507C2.50502 24.3821 2.63598 24.3879 2.76422 24.3678C2.89247 24.3478 3.01539 24.3022 3.12575 24.2339C3.23612 24.1656 3.33168 24.0759 3.4068 23.97C3.48192 23.8642 3.53508 23.7443 3.56315 23.6176L4.66557 19.1977C4.69751 19.0692 4.70289 18.9356 4.68137 18.805C4.65985 18.6744 4.61188 18.5495 4.54041 18.4381C3.19992 16.3504 2.67845 13.8408 3.07627 11.3918C3.47409 8.94283 4.7631 6.72733 6.69551 5.17121C8.62793 3.61509 11.0673 2.82819 13.5448 2.96178C16.0223 3.09536 18.363 4.14 20.1168 5.89488C21.8707 7.64976 22.914 9.99102 23.0462 12.4686C23.1784 14.9461 22.3901 17.3851 20.8329 19.3166C19.2757 21.2482 17.0595 22.5359 14.6103 22.9323C12.1611 23.3288 9.65178 22.8059 7.56476 21.4642C7.45737 21.3941 7.33716 21.3459 7.21106 21.3224C7.08496 21.2989 6.95546 21.3007 6.83002 21.3275C6.70459 21.3543 6.5857 21.4056 6.4802 21.4786C6.37471 21.5516 6.2847 21.6447 6.21536 21.7526C6.14603 21.8605 6.09873 21.9811 6.0762 22.1074C6.05367 22.2336 6.05635 22.3631 6.08409 22.4883C6.11183 22.6136 6.16408 22.7321 6.23783 22.837C6.31157 22.942 6.40536 23.0313 6.51378 23.0998C8.05997 24.0927 9.8135 24.7173 11.6392 24.9254C13.4649 25.1336 15.314 24.9197 17.044 24.3003C18.774 23.6809 20.3387 22.6725 21.6174 21.3529C22.8961 20.0333 23.8547 18.4377 24.4194 16.6891C24.984 14.9404 25.1396 13.0855 24.8741 11.2673C24.6086 9.44902 23.9291 7.71601 22.8881 6.20184C21.847 4.68767 20.4722 3.43277 18.8695 2.53388C17.2669 1.63499 15.4792 1.11611 13.6443 1.01724ZM12.0722 13.9308C12.2839 14.1439 12.5632 14.2769 12.8622 14.3069C13.1611 14.3369 13.4613 14.2621 13.7112 14.0953C13.9772 13.9158 14.1671 13.644 14.2442 13.3326C14.3213 13.0211 14.2802 12.6921 14.1287 12.4092C13.9772 12.1263 13.7262 11.9097 13.4242 11.8012C13.1223 11.6927 12.7908 11.7001 12.4939 11.8219C12.3335 11.8803 12.1878 11.9732 12.0672 12.0941C11.9467 12.215 11.8541 12.3609 11.7961 12.5214C11.7298 12.6777 11.6949 12.8455 11.6932 13.0152C11.6932 13.3581 11.8287 13.6873 12.0704 13.9308H12.0722ZM18.1723 14.3114C17.9796 14.3134 17.7889 14.2725 17.614 14.1916C17.4392 14.1106 17.2846 13.9917 17.1614 13.8435C17.0383 13.6953 16.9498 13.5215 16.9023 13.3347C16.8548 13.148 16.8496 12.953 16.8869 12.764C16.9243 12.5749 17.0033 12.3966 17.1183 12.242C17.2333 12.0873 17.3812 11.9603 17.5515 11.87C17.7218 11.7798 17.91 11.7287 18.1025 11.7203C18.295 11.712 18.4869 11.7467 18.6644 11.8219C18.8238 11.8837 18.9695 11.9762 19.093 12.0945C19.2077 12.2208 19.2999 12.3657 19.3656 12.5232C19.4984 12.8391 19.5008 13.1947 19.3724 13.5124C19.3079 13.67 19.213 13.8133 19.093 13.9342C18.8447 14.1716 18.5158 14.3063 18.1723 14.3114ZM7.07956 14.0953C7.29444 14.2379 7.54694 14.3131 7.80479 14.3114C7.9974 14.3132 8.18799 14.272 8.36271 14.1909C8.53742 14.1098 8.69185 13.9908 8.81479 13.8425C8.93772 13.6942 9.02606 13.5204 9.07337 13.3337C9.12069 13.147 9.1258 12.952 9.08832 12.7631C9.05084 12.5742 8.97173 12.3959 8.85673 12.2414C8.74173 12.0869 8.59373 11.96 8.42351 11.8698C8.25329 11.7797 8.06511 11.7286 7.87267 11.7203C7.68023 11.712 7.48836 11.7467 7.31102 11.8219C7.15156 11.8836 7.00589 11.9763 6.8824 12.0945C6.74571 12.2301 6.64095 12.3945 6.57573 12.5756C6.51051 12.7568 6.48647 12.9502 6.50535 13.1418C6.52424 13.3334 6.58557 13.5184 6.68489 13.6834C6.78422 13.8483 6.91904 13.989 7.07956 14.0953Z" fill="black"/>
    </symbol>
    <symbol id="icon-search">
      <path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M11.1214 1C5.60064 1 1 5.60064 1 11.1214C1 16.6422 5.60064 21.2428 11.1214 21.2428C13.4217 21.2428 15.722 20.476 17.5623 18.9425L23.3898 24.77C23.6965 25.0767 24.3099 25.0767 24.6166 24.77C24.9233 24.4633 24.9233 23.8498 24.6166 23.5431L18.9425 17.5623C22.4696 13.2684 22.0096 6.82748 17.7157 3.30032C15.722 1.76678 13.4217 1 11.1214 1ZM2.84026 11.1214C2.84026 6.52077 6.52077 2.84026 11.1214 2.84026C15.722 2.84026 19.4026 6.52077 19.4026 11.1214C19.4026 15.722 15.722 19.4026 11.1214 19.4026C6.52077 19.4026 2.84026 15.722 2.84026 11.1214Z" fill="black" stroke="black"/>
    </symbol>
    <symbol id="icon-menu">
      <path xmlns="http://www.w3.org/2000/svg" d="M24.0202 14.2308H1.97979C1.48989 14.2308 1 13.7692 1 13C1 12.2308 1.4899 11.7692 1.97979 11.7692H24.0202C24.5101 11.7692 25 12.2308 25 13C25 13.7692 24.5101 14.2308 24.0202 14.2308ZM20.3472 3.46154H5.65279C5.16289 3.46154 4.67421 2.84615 4.67421 2.23077C4.67421 1.61539 5.16289 1 5.65279 1H20.3472C20.8371 1 21.327 1.46154 21.327 2.23077C21.327 3 20.8371 3.46154 20.3472 3.46154ZM20.3472 25H5.65279C5.16289 25 4.67421 24.5385 4.67421 23.7692C4.67421 23 5.04102 22.5385 5.65279 22.5385H20.3472C20.8371 22.5385 21.327 23 21.327 23.7692C21.327 24.5385 20.8371 25 20.3472 25Z" fill="black" stroke="black"/>
    </symbol>
    <symbol id="icon-home">
      <path xmlns="http://www.w3.org/2000/svg" d="M21.5379 25H16.8368C16.3186 25 15.889 24.5703 15.889 24.0522V19.0099C15.889 18.0242 15.0928 17.228 14.1071 17.228H13.9807C13.0582 17.2786 12.3252 18.0621 12.3252 19.0099V24.0522C12.3252 24.5703 11.8955 25 11.3774 25H6.37301C5.85487 25 5.4252 24.5703 5.4252 24.0522V14.2582H1.94992C1.55816 14.2582 1.21695 14.0181 1.0653 13.6643C0.995658 13.4875 0.981325 13.2938 1.0242 13.1088C1.06708 12.9237 1.16514 12.7561 1.30542 12.628L13.4499 1.25435C13.8164 0.913139 14.3851 0.913139 14.7516 1.26699L26.6181 12.6406C26.8961 12.906 26.9846 13.3231 26.8456 13.6769C26.7066 14.0307 26.3527 14.2709 25.961 14.2709H22.4857V24.0648C22.4857 24.5703 22.056 25 21.5379 25ZM17.7846 23.1044H20.5901V13.3104C20.5901 12.7923 21.0197 12.3626 21.5379 12.3626H23.5978L14.0818 3.23842L4.35103 12.3626H6.37301C6.89114 12.3626 7.32081 12.7923 7.32081 13.3104V23.1044H10.417V19.0099C10.417 17.0637 11.9461 15.4461 13.8923 15.3324H14.0692C16.1291 15.3324 17.7719 16.9879 17.7719 19.0099V23.1044H17.7846Z" fill="black"/>
    </symbol>
    <symbol id="icon-personal">
      <path xmlns="http://www.w3.org/2000/svg" d="M13 3.85C13.4137 3.85 13.8233 3.93148 14.2055 4.08978C14.5876 4.24808 14.9349 4.48011 15.2274 4.77261C15.5199 5.06512 15.7519 5.41237 15.9102 5.79455C16.0685 6.17672 16.15 6.58634 16.15 7C16.15 7.41366 16.0685 7.82328 15.9102 8.20545C15.7519 8.58763 15.5199 8.93488 15.2274 9.22739C14.9349 9.51989 14.5876 9.75192 14.2055 9.91022C13.8233 10.0685 13.4137 10.15 13 10.15C12.1646 10.15 11.3634 9.81813 10.7726 9.22739C10.1819 8.63665 9.85 7.83543 9.85 7C9.85 6.16457 10.1819 5.36335 10.7726 4.77261C11.3634 4.18187 12.1646 3.85 13 3.85ZM13 17.35C17.455 17.35 22.15 19.54 22.15 20.5V22.15H3.85V20.5C3.85 19.54 8.545 17.35 13 17.35ZM13 1C9.685 1 7 3.685 7 7C7 10.315 9.685 13 13 13C16.315 13 19 10.315 19 7C19 3.685 16.315 1 13 1ZM13 14.5C8.995 14.5 1 16.51 1 20.5V25H25V20.5C25 16.51 17.005 14.5 13 14.5Z" fill="black"/>
    </symbol>
    <symbol id="icon-inbox">
      <path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M1.9225 4C1.67784 4 1.4432 4.09719 1.27019 4.27019C1.09719 4.4432 1 4.67784 1 4.9225V20.8855C1 21.3955 1.414 21.8095 1.9225 21.8095H24.0775C24.5875 21.8095 25 21.3955 25 20.8855V4.9225C25 4.67784 24.9028 4.4432 24.7298 4.27019C24.5568 4.09719 24.3222 4 24.0775 4H1.9225ZM23.155 6.895V5.845H2.8465V6.895L10.54 12.886C11.243 13.4338 12.1087 13.7314 13 13.7314C13.8913 13.7314 14.757 13.4338 15.46 12.886L23.155 6.895ZM2.8465 9.235V19.963H23.1535V9.235L16.5955 14.3395C15.5682 15.1406 14.3027 15.5757 13 15.5757C11.6973 15.5757 10.4318 15.1406 9.4045 14.3395L2.8465 9.235Z" fill="black"/>
    </symbol>
    <symbol id="icon-saved">
      <path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M2 1.97263C2 1.43615 2.43615 1 2.97263 1H17.2437C18.8781 1 20.4454 1.64923 21.6011 2.80488C22.7567 3.96052 23.406 5.52791 23.406 7.16224V24.0275C23.406 24.2035 23.3582 24.3762 23.2677 24.5272C23.1773 24.6781 23.0476 24.8018 22.8924 24.8848C22.7373 24.9679 22.5625 25.0073 22.3867 24.9989C22.2109 24.9904 22.0407 24.9344 21.8942 24.8369L14.6496 20.0072L7.40501 24.8369C7.25852 24.9344 7.08831 24.9904 6.91251 24.9989C6.73671 25.0073 6.56192 24.9679 6.40676 24.8848C6.2516 24.8018 6.12188 24.6781 6.03144 24.5272C5.94101 24.3762 5.89323 24.2035 5.89321 24.0275V7.16224C5.89321 6.90428 5.99569 6.65689 6.17809 6.47449C6.36049 6.29208 6.60789 6.18961 6.86585 6.18961C7.1238 6.18961 7.3712 6.29208 7.5536 6.47449C7.73601 6.65689 7.83848 6.90428 7.83848 7.16224V22.2093L14.1091 18.0284C14.2689 17.9218 14.4568 17.8649 14.6489 17.8649C14.8411 17.8649 15.0289 17.9218 15.1888 18.0284L21.4607 22.2093V7.16224C21.4603 6.04406 21.0159 4.9718 20.2251 4.18126C19.4343 3.39071 18.3619 2.94661 17.2437 2.94661H2.97263C2.84479 2.94661 2.71821 2.9214 2.60011 2.87244C2.48202 2.82348 2.37474 2.75171 2.28441 2.66125C2.19407 2.5708 2.12245 2.46342 2.07365 2.34526C2.02485 2.2271 1.99983 2.10047 2 1.97263Z" fill="black"/>
    </symbol>
    <symbol id="icon-setting">
      <path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M13.0038 8.42226C12.3957 8.41125 11.7915 8.52151 11.2265 8.74661C10.6615 8.9717 10.1471 9.30712 9.71312 9.73326C9.27919 10.1594 8.93452 10.6677 8.69924 11.2286C8.46395 11.7894 8.34277 12.3915 8.34277 12.9997C8.34277 13.6079 8.46395 14.21 8.69924 14.7708C8.93452 15.3316 9.27919 15.84 9.71312 16.2661C10.1471 16.6923 10.6615 17.0277 11.2265 17.2528C11.7915 17.4779 12.3957 17.5881 13.0038 17.5771C14.2035 17.5554 15.3467 17.0636 16.1874 16.2075C17.0281 15.3514 17.4991 14.1995 17.4991 12.9997C17.4991 11.7998 17.0281 10.6479 16.1874 9.79186C15.3467 8.93579 14.2035 8.44398 13.0038 8.42226ZM10.2572 13.0004C10.2572 12.272 10.5466 11.5734 11.0617 11.0583C11.5768 10.5432 12.2754 10.2538 13.0038 10.2538C13.7323 10.2538 14.4309 10.5432 14.946 11.0583C15.461 11.5734 15.7504 12.272 15.7504 13.0004C15.7504 13.7289 15.461 14.4275 14.946 14.9426C14.4309 15.4577 13.7323 15.747 13.0038 15.747C12.2754 15.747 11.5768 15.4577 11.0617 14.9426C10.5466 14.4275 10.2572 13.7289 10.2572 13.0004Z" fill="black"/>
      <path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M13.0038 1C12.412 0.999891 11.8366 1.19441 11.3663 1.55359C10.896 1.91276 10.5569 2.41664 10.4012 2.98758L9.88817 4.75014C9.71238 4.81759 9.53878 4.89063 9.36765 4.96915L7.76259 4.07062C7.2477 3.78217 6.65271 3.66974 6.06807 3.75044C5.48344 3.83114 4.94115 4.10055 4.52366 4.5177C4.10617 4.93485 3.83632 5.47692 3.75515 6.06149C3.67397 6.64605 3.78591 7.24114 4.07395 7.75626L4.97398 9.36132C4.89598 9.52933 4.82398 9.70034 4.75497 9.87134L2.9879 10.3964C2.41672 10.552 1.91262 10.8913 1.55337 11.3619C1.19411 11.8324 0.999659 12.4081 1 13.0001C1.00034 13.5921 1.19546 14.1676 1.55526 14.6377C1.91505 15.1079 2.41954 15.4466 2.9909 15.6016L4.75347 16.1146C4.82189 16.2909 4.89593 16.465 4.97548 16.6366L4.07545 18.2537C3.78955 18.7686 3.67912 19.3625 3.76088 19.9458C3.84263 20.529 4.11211 21.0698 4.52855 21.4862C4.94499 21.9026 5.48574 22.1721 6.06897 22.2539C6.65221 22.3356 7.2462 22.2252 7.76109 21.9393L9.36915 21.0303C9.53566 21.1083 9.70516 21.1803 9.87767 21.2478L10.4027 23.0148C10.5588 23.5854 10.8982 24.0888 11.3686 24.4475C11.8389 24.8062 12.4142 25.0003 13.0057 25C13.5972 24.9997 14.1722 24.8049 14.6422 24.4456C15.1121 24.0864 15.4509 23.5826 15.6064 23.0118L16.1194 21.2478C16.2949 21.1803 16.4689 21.1068 16.6414 21.0273L18.2585 21.9273C18.7733 22.2145 19.3678 22.3259 19.9517 22.2446C20.5356 22.1634 21.077 21.8939 21.4938 21.477C21.9107 21.0602 22.1802 20.5187 22.2615 19.9348C22.3427 19.351 22.2313 18.7565 21.9441 18.2417L21.0351 16.6336C21.1116 16.4671 21.1851 16.2961 21.2511 16.1236L23.0197 15.6001C23.5902 15.4439 24.0936 15.1045 24.4523 14.6342C24.811 14.1638 25.0052 13.5886 25.0048 12.9971C25.0045 12.4055 24.8097 11.8305 24.4504 11.3606C24.0912 10.8907 23.5874 10.5518 23.0167 10.3964L21.2526 9.88334C21.1846 9.70706 21.1111 9.53296 21.0321 9.36132L21.9321 7.74426C22.2204 7.22926 22.3326 6.63422 22.2516 6.04962C22.1707 5.46501 21.9011 4.92283 21.4837 4.50551C21.0664 4.08819 20.5242 3.81857 19.9396 3.73763C19.355 3.65669 18.76 3.76888 18.245 4.05712L16.6384 4.96765C16.4707 4.88985 16.3006 4.81731 16.1284 4.75014L15.6049 2.98308C15.4485 2.41348 15.1095 1.91096 14.6398 1.55271C14.1702 1.19446 13.596 1.00028 13.0053 1H13.0038ZM12.4758 3.01008C12.5888 2.92332 12.7215 2.86576 12.862 2.84248C13.0026 2.8192 13.1467 2.83091 13.2817 2.87659C13.4166 2.92227 13.5382 3.0005 13.6358 3.10437C13.7333 3.20823 13.8037 3.33453 13.8408 3.4721L13.8468 3.4961L14.5068 5.71618C14.5486 5.85816 14.6243 5.98787 14.7272 6.09421C14.8301 6.20054 14.9573 6.28032 15.0979 6.32671C15.4894 6.45571 15.8689 6.61772 16.2319 6.81272C16.3683 6.88598 16.521 6.92344 16.6758 6.9216C16.8306 6.91976 16.9824 6.87869 17.1169 6.80222L19.1405 5.65618C19.3078 5.56366 19.5006 5.52817 19.6898 5.55509C19.8791 5.58201 20.0544 5.66987 20.1892 5.80535C20.324 5.94084 20.4109 6.11657 20.4369 6.30593C20.4629 6.49529 20.4264 6.68795 20.3331 6.85473L19.1975 8.8933C19.1231 9.02705 19.0834 9.17732 19.0821 9.33037C19.0808 9.48341 19.1179 9.63434 19.19 9.76934C19.385 10.1354 19.5485 10.5194 19.676 10.9139C19.722 11.056 19.8021 11.1848 19.9093 11.2889C20.0165 11.3929 20.1476 11.4692 20.2911 11.5109L22.5127 12.1574L22.5307 12.1634C22.7146 12.2131 22.8771 12.322 22.993 12.4733C23.1088 12.6246 23.1716 12.8099 23.1716 13.0005C23.1716 13.191 23.1088 13.3763 22.993 13.5276C22.8771 13.6789 22.7146 13.7878 22.5307 13.8375L22.5082 13.8435L20.2881 14.5035C20.1461 14.5453 20.0164 14.6209 19.91 14.7239C19.8037 14.8268 19.7239 14.954 19.6775 15.0945C19.5491 15.4861 19.3865 15.8656 19.1915 16.2286C19.118 16.3648 19.0803 16.5175 19.0819 16.6723C19.0835 16.827 19.1243 16.9789 19.2005 17.1136L20.3466 19.1372C20.4387 19.3043 20.4739 19.4968 20.4469 19.6857C20.42 19.8746 20.3323 20.0496 20.1971 20.1842C20.062 20.3189 19.8866 20.4059 19.6977 20.4322C19.5087 20.4584 19.3163 20.4225 19.1495 20.3297L17.1109 19.1942C16.9772 19.1198 16.8269 19.0801 16.6739 19.0788C16.5208 19.0775 16.3699 19.1146 16.2349 19.1867C15.8674 19.3817 15.4849 19.5452 15.0904 19.6727C14.9482 19.7187 14.8195 19.7988 14.7154 19.906C14.6113 20.0132 14.5351 20.1443 14.4933 20.2877L13.8453 22.5108L13.8408 22.5288C13.7911 22.7128 13.6822 22.8753 13.5309 22.9911C13.3796 23.107 13.1944 23.1698 13.0038 23.1698C12.8132 23.1698 12.628 23.107 12.4767 22.9911C12.3254 22.8753 12.2165 22.7128 12.1668 22.5288L12.1608 22.5063L11.5007 20.2862C11.4588 20.1441 11.383 20.0143 11.2797 19.9079C11.1765 19.8016 11.049 19.7219 10.9082 19.6757C10.5167 19.5472 10.1372 19.3846 9.77417 19.1897C9.6378 19.1164 9.48508 19.079 9.3303 19.0808C9.17551 19.0827 9.02372 19.1237 8.88913 19.2002L6.86855 20.3447C6.70145 20.4368 6.50743 20.4721 6.31854 20.4451C6.12966 20.4181 5.95468 20.3305 5.82002 20.1953C5.68536 20.0601 5.59833 19.8848 5.57208 19.6958C5.54583 19.5068 5.58178 19.3145 5.67451 19.1477L6.80855 17.1091C6.8832 16.9755 6.92313 16.8253 6.92471 16.6723C6.92628 16.5192 6.88944 16.3682 6.81755 16.2331C6.62254 15.8671 6.45754 15.4831 6.33153 15.0885C6.28555 14.9464 6.20546 14.8176 6.09825 14.7136C5.99104 14.6095 5.85998 14.5333 5.71651 14.4915L3.49492 13.8405L3.47542 13.836C3.29145 13.7863 3.12898 13.6774 3.01313 13.5261C2.89728 13.3748 2.8345 13.1895 2.8345 12.999C2.8345 12.8084 2.89728 12.6231 3.01313 12.4718C3.12898 12.3205 3.29145 12.2116 3.47542 12.1619L3.49942 12.1559L5.71951 11.4959C5.86165 11.454 5.99147 11.3781 6.09782 11.2749C6.20417 11.1717 6.28386 11.0442 6.33003 10.9034C6.45754 10.5134 6.62104 10.1324 6.81605 9.76934C6.88896 9.63378 6.9265 9.48202 6.92519 9.32811C6.92387 9.1742 6.88376 9.0231 6.80855 8.8888L5.67301 6.86373C5.58007 6.69672 5.5441 6.50396 5.57055 6.31468C5.59699 6.12539 5.68441 5.94987 5.81956 5.81473C5.9547 5.67958 6.13022 5.59216 6.3195 5.56572C6.50879 5.53927 6.70154 5.57525 6.86855 5.66818L8.89363 6.80372C9.02762 6.8789 9.17837 6.91913 9.332 6.9207C9.48562 6.92227 9.63717 6.88514 9.77267 6.81272C10.1387 6.61772 10.5227 6.45271 10.9172 6.32671C11.0594 6.28073 11.1881 6.20063 11.2922 6.09342C11.3963 5.98621 11.4725 5.85515 11.5142 5.71168L12.1608 3.4901L12.1668 3.4706C12.2163 3.28685 12.3249 3.1245 12.4758 3.00858V3.01008Z" fill="black"/>
    </symbol>
    <symbol id="icon-plus">
        <line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line>
      </symbol>
</svg> 
-->

Thank you, I have fixed the code, but the PWA error still appears when the code is in the head_tag.html file. However, when in the header.html file, everything was fixed. ^.^

You are adding div and svg to the head tag? That’s not even valid HTML. Please take a step back and double check what you are doing more carefully.

2 Likes