add tella theme
This commit is contained in:
52
themes/tella/layouts/index.html
Normal file
52
themes/tella/layouts/index.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ja">
|
||||
|
||||
<head>
|
||||
{{- partial "head.html" . -}}
|
||||
<meta name="description" content="{{ .Site.Params.homepage_meta_tags.meta_og_description }}" />
|
||||
<meta property="og:title" content="{{ .Site.Params.homepage_meta_tags.meta_og_title }}" />
|
||||
<meta property="og:type" content="{{ .Site.Params.homepage_meta_tags.meta_og_type }}" />
|
||||
<meta property="og:url" content="{{ .Site.Params.homepage_meta_tags.meta_og_url }}" />
|
||||
<meta property="og:image" content="{{ .Site.Params.homepage_meta_tags.meta_og_image }}" />
|
||||
<meta property="og:description" content="{{ .Site.Params.homepage_meta_tags.meta_og_description }}" />
|
||||
<meta name="twitter:card" content="{{ .Site.Params.homepage_meta_tags.meta_twitter_card }}" />
|
||||
<meta name="twitter:site" content="{{ .Site.Params.homepage_meta_tags.meta_twitter_site }}" />
|
||||
<meta name="twitter:creator" content="{{ .Site.Params.homepage_meta_tags.meta_twitter_creator }}" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{{- partial "alert.html" . -}}
|
||||
{{- partial "header.html" . -}}
|
||||
<div class="scroll-top rounded-full">
|
||||
<span class="icon-keyboard_arrow_up text-2xl"></span>
|
||||
</div>
|
||||
{{- partial "slide.html" . -}}
|
||||
{{- partial "strip.html" . -}}
|
||||
{{ if ne .Site.Params.showBlog false }}
|
||||
<div class="mx-auto my-10 max-w-6xl">
|
||||
<h2 class="text-4xl ml-2">Blog</h2>
|
||||
{{- partial "recent.html" . -}}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{- partial "footer.html" . -}}
|
||||
<script src="{{ "/js/swiper-bundle.min.js" | relURL }}"></script>
|
||||
<script>
|
||||
var mySwiper = new Swiper(".swiper-container", {
|
||||
direction: "horizontal",
|
||||
loop: true,
|
||||
speed: 550,
|
||||
autoplay: {
|
||||
delay: 6000,
|
||||
},
|
||||
pagination: {
|
||||
el: ".swiper-pagination",
|
||||
},
|
||||
navigation: {
|
||||
nextEl: ".swiper-button-next",
|
||||
prevEl: ".swiper-button-prev",
|
||||
},
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user