fix: web templates

This commit is contained in:
Jannat Patel
2024-04-04 15:01:22 +05:30
parent 2cfa6771ac
commit a98d36513b
3 changed files with 40 additions and 34 deletions

View File

@@ -18,28 +18,31 @@
</head> </head>
<body> <body>
<div id="app"> <div id="app">
<h1>{{ meta.title }}</h1> <div id="seo-content">
<p> <h1>{{ meta.title }}</h1>
{{ meta.description }} <p>
</p> {{ meta.description }}
<p> </p>
The content here is just for seo purposes. The actual content will be loaded in a few seconds. <p>
</p> The content here is just for seo purposes. The actual content will be loaded in a few seconds.
<p> </p>
Seo checks if a page has more than 300 words. So, here are some more words to make it more than 300 words. <p>
Page descriptions are the HTML meta tags that provide a brief summary of a web page. Seo checks if a page has more than 300 words. So, here are some more words to make it more than 300 words.
Search engines use meta descriptions to help identify the page's topic - they don't use them to rank the page, but they do use them to determine whether or not to display the page in search results. Page descriptions are the HTML meta tags that provide a brief summary of a web page.
Meta descriptions are important because they're often the first thing people see when they're deciding which search result to click on. Search engines use meta descriptions to help identify the page's topic - they don't use them to rank the page, but they do use them to determine whether or not to display the page in search results.
They're also important because they can help improve your click-through rate (CTR) from search results. Meta descriptions are important because they're often the first thing people see when they're deciding which search result to click on.
A good meta description can entice people to click on your page instead of someone else's. They're also important because they can help improve your click-through rate (CTR) from search results.
</p> A good meta description can entice people to click on your page instead of someone else's.
<a href="{{ meta.link }}">Know More</a> </p>
<a href="{{ meta.link }}">Know More</a>
</div>
</div> </div>
<div id="modals"></div> <div id="modals"></div>
<div id="popovers"></div> <div id="popovers"></div>
<script> <script>
window.csrf_token = '{{ csrf_token }}' window.csrf_token = '{{ csrf_token }}'
document.getElementById('seo-content').style.display = 'none';
</script> </script>
<script type="module" src="/src/main.js"></script> <script type="module" src="/src/main.js"></script>
</body> </body>

View File

@@ -17,7 +17,7 @@ app_license = "AGPL"
# app_include_js = "/assets/lms/js/lms.js" # app_include_js = "/assets/lms/js/lms.js"
# include js, css files in header of web template # include js, css files in header of web template
# web_include_css = "lms.bundle.css" web_include_css = "lms.bundle.css"
# web_include_css = "/assets/lms/css/lms.css" # web_include_css = "/assets/lms/css/lms.css"
web_include_js = ["website.bundle.js"] web_include_js = ["website.bundle.js"]

View File

@@ -15,35 +15,38 @@
<meta name="twitter:title" content="{{ meta.title }}" /> <meta name="twitter:title" content="{{ meta.title }}" />
<meta name="twitter:image" content="{{ meta.image }}" /> <meta name="twitter:image" content="{{ meta.image }}" />
<meta name="twitter:description" content="{{ meta.description }}" /> <meta name="twitter:description" content="{{ meta.description }}" />
<script type="module" crossorigin src="/assets/lms/frontend/assets/index-CY-7ZjXP.js"></script> <script type="module" crossorigin src="/assets/lms/frontend/assets/index-BVArU1VY.js"></script>
<link rel="modulepreload" crossorigin href="/assets/lms/frontend/assets/frappe-ui-h_6W7zSS.js"> <link rel="modulepreload" crossorigin href="/assets/lms/frontend/assets/frappe-ui-h_6W7zSS.js">
<link rel="stylesheet" crossorigin href="/assets/lms/frontend/assets/frappe-ui-DzKBfka9.css"> <link rel="stylesheet" crossorigin href="/assets/lms/frontend/assets/frappe-ui-DzKBfka9.css">
<link rel="stylesheet" crossorigin href="/assets/lms/frontend/assets/index-B5SBTRQU.css"> <link rel="stylesheet" crossorigin href="/assets/lms/frontend/assets/index-B5SBTRQU.css">
</head> </head>
<body> <body>
<div id="app"> <div id="app">
<h1>{{ meta.title }}</h1> <div id="seo-content">
<p> <h1>{{ meta.title }}</h1>
{{ meta.description }} <p>
</p> {{ meta.description }}
<p> </p>
The content here is just for seo purposes. The actual content will be loaded in a few seconds. <p>
</p> The content here is just for seo purposes. The actual content will be loaded in a few seconds.
<p> </p>
Seo checks if a page has more than 300 words. So, here are some more words to make it more than 300 words. <p>
Page descriptions are the HTML meta tags that provide a brief summary of a web page. Seo checks if a page has more than 300 words. So, here are some more words to make it more than 300 words.
Search engines use meta descriptions to help identify the page's topic - they don't use them to rank the page, but they do use them to determine whether or not to display the page in search results. Page descriptions are the HTML meta tags that provide a brief summary of a web page.
Meta descriptions are important because they're often the first thing people see when they're deciding which search result to click on. Search engines use meta descriptions to help identify the page's topic - they don't use them to rank the page, but they do use them to determine whether or not to display the page in search results.
They're also important because they can help improve your click-through rate (CTR) from search results. Meta descriptions are important because they're often the first thing people see when they're deciding which search result to click on.
A good meta description can entice people to click on your page instead of someone else's. They're also important because they can help improve your click-through rate (CTR) from search results.
</p> A good meta description can entice people to click on your page instead of someone else's.
<a href="{{ meta.link }}">Know More</a> </p>
<a href="{{ meta.link }}">Know More</a>
</div>
</div> </div>
<div id="modals"></div> <div id="modals"></div>
<div id="popovers"></div> <div id="popovers"></div>
<script> <script>
window.csrf_token = '{{ csrf_token }}' window.csrf_token = '{{ csrf_token }}'
document.getElementById('seo-content').style.display = 'none';
</script> </script>
</body> </body>
</html> </html>