Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
SingularisArt committed Sep 19, 2023
1 parent 8ebf239 commit c37b543
Show file tree
Hide file tree
Showing 20 changed files with 112 additions and 74 deletions.
7 changes: 4 additions & 3 deletions archetypes/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
toc: true
prevFile: ""
nextFile: ""
introFile: ""
comments: true
prevFile: "/{{ .File.Dir }}"
nextFile: "/{{ .File.Dir }}"
introFile: "/{{ .File.Dir }}post-00"
---

{{< header "{{ replace .Name "-" " " | title }}" >}}
Expand Down
1 change: 1 addition & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
baseURL = "https://singularisart.github.io"
languageCode = "en-us"
title = "SingularisArt"
disqusShortname = "singularisart-github-io"

[markup]
[markup.highlight]
Expand Down
5 changes: 3 additions & 2 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: "Home"
date: 2023-08-13T07:29:02-07:00
draft: false
date:
license: false
comments: false
---

# Home
4 changes: 2 additions & 2 deletions content/about.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: "About"
date: 2023-08-13T07:29:02-07:00
draft: false
date:
license: false
comments: false
---

# About
4 changes: 2 additions & 2 deletions content/contact.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: "Contact"
date: 2023-08-13T07:29:02-07:00
draft: false
date:
license: false
comments: false
---

# Contact
6 changes: 3 additions & 3 deletions content/content.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
title: "Content"
date: 2023-08-13T07:29:02-07:00
draft: false
date:
license: false
comments: false
---

# Content of this Website

## Tutorials

[Taking notes with LaTeX](/tutorials/latex-notes/intro)
[Taking notes with LaTeX](/tutorials/latex-notes/post-00)

## Projects

Expand Down
15 changes: 0 additions & 15 deletions content/tutorials/latex-notes/intro.md

This file was deleted.

16 changes: 16 additions & 0 deletions content/tutorials/latex-notes/post-00.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "NeoVim with LaTeX"
date:
draft: false
toc: true
comments: false
prevFile: "/tutorials/latex-notes/post-00"
nextFile: "/tutorials/latex-notes/post-01"
introFile: "/tutorials/latex-notes/post-00"
---

{{< header "NeoVim with LaTeX" >}}

{{< toc >}}

{{< begin "/tutorials/latex-notes/post-01" >}}
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Prerequisites for Writing LaTeX"
date:
draft: false
comments: true
toc: true
prevFile: "/tutorials/latex-notes/intro"
nextFile: "/tutorials/latex-notes/ultisnips"
introFile: "/tutorials/latex-notes/intro"
prevFile: "/tutorials/latex-notes/post-00"
nextFile: "/tutorials/latex-notes/post-02"
introFile: "/tutorials/latex-notes/post-00"
---

{{< header "Prerequisites for Writing LaTeX" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Setting up UltiSnips with Neovim"
date:
draft: false
comments: true
toc: true
prevFile: "/tutorials/latex-notes/prerequisites"
nextFile: "/tutorials/latex-notes/vimtex-basics"
introFile: "/tutorials/latex-notes/intro"
prevFile: "/tutorials/latex-notes/post-01"
nextFile: "/tutorials/latex-notes/post-03"
introFile: "/tutorials/latex-notes/post-00"
---

{{< header "Setting up UltiSnips with Neovim" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "An Introduction to Vimtex"
date:
draft: false
comments: true
toc: true
prevFile: "/tutorials/latex-notes/ultisnips"
nextFile: "/tutorials/latex-notes/vimtex-advanced"
introFile: "/tutorials/latex-notes/intro"
prevFile: "/tutorials/latex-notes/post-02"
nextFile: "/tutorials/latex-notes/post-04"
introFile: "/tutorials/latex-notes/post-00"
---

{{< header "An Introduction to Vimtex" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "More Advanced Vimtex Features"
date:
draft: false
comments: true
toc: true
prevFile: "/tutorials/latex-notes/vimtex-basics"
nextFile: "/tutorials/latex-notes/tmux"
introFile: "/tutorials/latex-notes/intro"
prevFile: "/tutorials/latex-notes/post-03"
nextFile: "/tutorials/latex-notes/post-05"
introFile: "/tutorials/latex-notes/post-00"
---

{{< header "More Advanced Vimtex Features" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "Using Tmux to Enhance your Workflow"
date:
draft: false
comments: true
toc: true
prevFile: "/tutorials/latex-notes/vimtex-advanced"
nextFile: "/tutorials/latex-notes/manage-notes"
introFile: "/tutorials/latex-notes/intro"
prevFile: "/tutorials/latex-notes/post-04"
nextFile: "/tutorials/latex-notes/post-06"
introFile: "/tutorials/latex-notes/post-00"
---

{{< header "Using Tmux to Enhance your Workflow" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "How I manage my notes"
date:
draft: false
comments: true
toc: true
prevFile: "/tutorials/latex-notes/tmux"
nextFile: "/tutorials/latex-notes/figures"
introFile: "/tutorials/latex-notes/intro"
prevFile: "/tutorials/latex-notes/post-05"
nextFile: "/tutorials/latex-notes/post-07"
introFile: "/tutorials/latex-notes/post-00"
---

{{< header "How I Manage my Notes" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
title: "How I Draw my Figures"
date:
draft: false
comments: true
toc: true
prevFile: "/tutorials/latex-notes/manage-notes"
nextFile: "/tutorials/latex-notes/end"
introFile: "/tutorials/latex-notes/intro"
prevFile: "/tutorials/latex-notes/post-06"
nextFile: "/tutorials/latex-notes/post-08"
introFile: "/tutorials/latex-notes/post-00"
---

{{< header "How I Draw my Figures" >}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
---
title: "That's it my Friends"
date:
date:
draft: false
toc: false
comments: false
prevFile: ""
nextFile: ""
introFile: ""
---

{{< header "That's it my Friends" >}}
40 changes: 20 additions & 20 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
{{ $search := resources.Get "js/search.js" }}
{{ $theme := resources.Get "js/theme.js" }}

<!DOCTYPE html>
<html lang="en">

<head>
Expand All @@ -20,30 +21,29 @@
<link rel="stylesheet" href="{{ $style.Permalink }}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.18.2/tocbot.css">
</head>

<body class="leading-normal font-md text-gray-700 dark:text-gray-300 bg-[#fafafa] dark:bg-gray-900">
{{ partial "header.html" . }}

<div class="pt-20"></div>

<div class="sm:px-8">
{{ block "main" . }} {{ end }}
</div>

<script defer type="text/javascript" src="{{ $disqus.Permalink }}"></script>
<script defer type="text/javascript" src="{{ $header.Permalink }}"></script>
<script defer type="text/javascript" src="{{ $katex.Permalink }}"></script>
<script defer type="text/javascript" src="{{ $search.Permalink }}"></script>
<script defer type="text/javascript" src="{{ $theme.Permalink }}"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.4.2/tocbot.js"></script>
<script type="text/javascript">
<body class="leading-normal font-md text-gray-700 dark:text-gray-300 bg-[#fafafa] dark:bg-gray-900">
{{ partial "header.html" . }}

<div class="pt-20"></div>

<div class="sm:px-8">
{{ block "main" . }} {{ end }}
</div>

<script id="dsq-count-scr" src="//singularisart-github-io.disqus.com/count.js" async></script>
<script defer type="text/javascript" src="{{ $disqus.Permalink }}"></script>
<script defer type="text/javascript" src="{{ $header.Permalink }}"></script>
<script defer type="text/javascript" src="{{ $katex.Permalink }}"></script>
<script defer type="text/javascript" src="{{ $search.Permalink }}"></script>
<script defer type="text/javascript" src="{{ $theme.Permalink }}"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.4.2/tocbot.js"></script>
<script type="text/javascript">
tocbot.init({
tocSelector: ".toc",
contentSelector: ".post",
headingSelector: "h2, h3, h4",
collapseDepth: 4
});
</script>
</body>

</script>
</body>
</html>
6 changes: 1 addition & 5 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{{ define "main" }}
{{- $toc := .Params.toc -}}
{{- $license := .Params.license -}}

{{- if eq $toc true -}}
<div class="prose-singularisart dark:prose-invert px-4 py-4 md:py-3 md:px-8 grid grid-rows-[1,100%] md:grid-cols-[13rem_auto]">
Expand All @@ -18,9 +17,6 @@
</div>
{{- end -}}

{{- if eq $license false -}}
{{ else }}
{{ partial "license.html" . }}
{{- end -}}
{{ partial "footer.html" . }}

{{ end }}
15 changes: 15 additions & 0 deletions layouts/partials/comment.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{ template "_internal/disqus.html" . }}

<div id="disqus_thread"></div>
<script>
(function () {
var d = document, s = d.createElement("script");
s.src = "https://singularisart-github-io.disqus.com/embed.js";
s.setAttribute("data-timestamp", +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>
Please enable JavaScript to view the
<a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
</noscript>
11 changes: 11 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{{- $license := .Params.license -}}
{{- if eq $license false -}}
{{ else }}
{{ partial "license.html" . }}
{{- end -}}

{{- $comments := .Params.comments -}}
{{- if eq $comments false -}}
{{ else }}
{{ partial "comment.html" . }}
{{- end -}}

0 comments on commit c37b543

Please sign in to comment.