2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="utf-8 ">
5
- < meta name ="description " content ="Transforming Ideas into Immersive Experiences through Innovative Programming " id =" mDescription " >
5
+ < meta name ="description " content ="Transforming Ideas into Immersive Experiences through Innovative Programming ">
6
6
< meta name ="keywords " content ="pixtinifinty, pixet, pixt, infinity, category, blog, details ">
7
7
< meta name ="author " content ="pixtinifinty ">
8
8
54
54
// 'X-CSRFToken': csrftoken,
55
55
}
56
56
}
57
- // Example dynamic content update with JavaScript
58
- const title = "data.title"
59
- const description = "truncateWords(data.body, 8)"
60
- const imageUrl = "data.image"
61
- const postUrl = "post_url"
62
-
63
- // Update Open Graph meta tags
64
- document . getElementById ( "ogTitle" ) . setAttribute ( "content" , title ) ;
65
- document . getElementById ( "ogDescription" ) . setAttribute ( "content" , description ) ;
66
- document . getElementById ( "ogImage" ) . setAttribute ( "content" , imageUrl ) ;
67
- document . getElementById ( "ogUrl" ) . setAttribute ( "content" , postUrl ) ;
68
-
69
- document . getElementById ( 'mDescription' ) . setAttribute ( 'content' , description )
70
-
71
- // Update Twitter meta tags
72
- document . getElementById ( "twitterTitle" ) . setAttribute ( "content" , title ) ;
73
- document . getElementById ( "twitterDescription" ) . setAttribute ( "content" , description ) ;
74
- document . getElementById ( "twitterImage" ) . setAttribute ( "content" , imageUrl ) ;
75
57
</ script >
76
58
< style >
77
59
/*----------------------------
@@ -221,7 +203,6 @@ <h2>Related Post</h2>
221
203
================================================== -->
222
204
</ div >
223
205
</ div >
224
-
225
206
< script type ="module ">
226
207
window . addEventListener ( 'load' , ( ) => {
227
208
setInterval ( ( ) => {
@@ -234,8 +215,6 @@ <h2>Related Post</h2>
234
215
setTimeout ( ( ) => {
235
216
hljs . highlightAll ( ) ;
236
217
} , 3000 )
237
-
238
-
239
218
</ script >
240
219
241
220
0 commit comments