Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUSTOM to MAIN (DON'T MERGE! JUST FOR INSPECTION !) #13

Open
wants to merge 80 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
f677fba
show related posts if present
mugli Dec 29, 2020
a832f69
Allow default .Site.Params.showAllPostsArchive
jasonrogena Jul 8, 2021
b7eed44
No need for robots meta as a default
Nizzlay Jul 29, 2021
090766d
Create setting to noindex the archive pages
Nizzlay Jul 29, 2021
584768a
add customizable copyright
yishanhe Sep 5, 2021
0379547
Actually disable comments in head,
jtagcat Sep 10, 2021
abf1a10
[ImgBot] Optimize images
ImgBotApp Oct 21, 2021
f1849e1
Merge branch 'imgbot' into robbinespu
RobbiNespu Nov 3, 2021
2d9fbda
from https://github.com/monkeyWzr/hugo-theme-cactus/pull/110
RobbiNespu Nov 3, 2021
c35bd24
Restyled by prettier-markdown
restyled-commits Nov 3, 2021
9c91c97
Restyled by whitespace
restyled-commits Nov 3, 2021
0326c44
Merge pull request #3 from RobbiNespu/restyled/copyright
RobbiNespu Nov 3, 2021
f0a3816
Restyle Robot meta - from https://github.com/monkeyWzr/hugo-theme-cac…
restyled-io[bot] Nov 3, 2021
e47041a
Merge pull request #7 from Nizzlay/robot-meta
RobbiNespu Nov 3, 2021
f14db82
Restyled by whitespace
restyled-commits Nov 3, 2021
1515d7c
Merge pull request #10 from RobbiNespu/restyled/default-showAllPostsA…
RobbiNespu Nov 3, 2021
04d5c75
Restyled by whitespace
restyled-commits Nov 3, 2021
6934e44
Merge pull request #12 from RobbiNespu/restyled/related-content
RobbiNespu Nov 3, 2021
142bfd7
css cache buster
RobbiNespu Nov 3, 2021
081a966
add img
RobbiNespu Nov 3, 2021
1a30357
resize font
RobbiNespu Nov 3, 2021
d35034a
disable body height 100%
RobbiNespu Nov 4, 2021
f1057c4
added disclaimer on footer
RobbiNespu Nov 4, 2021
90d812a
Add param to control related page displayed or not
RobbiNespu Nov 4, 2021
387c47f
fix flex layout, now can use body height 100%
RobbiNespu Nov 4, 2021
da25a31
remove disclaimer
RobbiNespu Nov 4, 2021
8f40cee
cool logo
RobbiNespu Nov 4, 2021
b749ca4
added logo on single post
RobbiNespu Nov 4, 2021
f19e037
change table display from "block" to "table"
RobbiNespu Nov 4, 2021
583293a
Made with ❤️ and Hugo.
RobbiNespu Nov 4, 2021
7a69781
use svg as logo
RobbiNespu Nov 4, 2021
a510431
force print background
RobbiNespu Nov 4, 2021
3faacd0
set which part for NO-PRINT
RobbiNespu Nov 4, 2021
f0cfa87
adjust line height from 1.725 to 1.45
RobbiNespu Nov 4, 2021
af33d29
hav with h4 should be readable
RobbiNespu Nov 4, 2021
d56aba5
remove HTML border top (don't include on print)
RobbiNespu Nov 4, 2021
f7b4b60
force print background
RobbiNespu Nov 5, 2021
0f01c97
draft
RobbiNespu Nov 5, 2021
18c7ddc
drop-down menu
RobbiNespu Nov 5, 2021
edcb1b6
Merge branch 'dropdown' into robbinespu
RobbiNespu Nov 5, 2021
62c60a3
restyle {whitespace, prettier,clang format}
RobbiNespu Nov 5, 2021
db7978b
🎨 redesign footer
RobbiNespu Nov 25, 2021
00163e5
Fix 🐛 - IsSet unsupport type "ptr" (*hugolib.SiteInfo) and hide author
RobbiNespu Nov 25, 2021
264db8a
Fix 🐛 - SCSS not loaded correctly for blockquote, pullquote and caption
RobbiNespu Dec 4, 2021
ae3d3e5
🎨 redesign content.h1 (overwrite 'margin-top' from extend scss)
RobbiNespu Dec 4, 2021
d94926e
📌 Sorry TUI browser, I still need JS for dropdown
RobbiNespu Dec 4, 2021
12ea579
✂️ change fontawesome to emoji
RobbiNespu Dec 4, 2021
ab4ce35
Restyle by BOT
restyled-io[bot] Dec 5, 2021
c532b5a
🎨 hide footer nav on small screen
RobbiNespu Dec 5, 2021
58501f0
🎨 use #282a36 as bg-color for code
RobbiNespu Dec 5, 2021
59e798e
✂️ remove blank space before emoji
RobbiNespu Dec 5, 2021
1cf0b00
🎨 use #282a36 as bg-color for code using scss variable
RobbiNespu Dec 5, 2021
c72d25b
🎨 Look much better
RobbiNespu Dec 17, 2021
97d8085
✨ News section on homepage
RobbiNespu Dec 29, 2021
556466e
Restyle CUSTOM to MAIN (DON'T MERGE! JUST FOR INSPECTION !) (#18)
restyled-io[bot] Dec 29, 2021
460d9ac
🐛 Don't stray the tags
RobbiNespu Dec 29, 2021
96d4f59
🚚revert name back to default.md
RobbiNespu Dec 31, 2021
3260dd6
🧱 Add robots.txt
RobbiNespu Feb 19, 2022
c99bc2e
🔍️ Add "search" functionality
RobbiNespu Feb 19, 2022
8f16776
🎨 Force print header logo on printer
RobbiNespu Feb 19, 2022
30beb84
🎨 refactoring meta (tags) from upper to bottom positions
RobbiNespu Mar 10, 2022
d621d0f
💥 Introduce $color-border-code and $color-text-code:
RobbiNespu Mar 10, 2022
d868820
💄 article-tag look much cooler like this way
RobbiNespu Mar 10, 2022
a4e2483
📱 Hide .article-read-time and .article-category on mobile
RobbiNespu Mar 11, 2022
e49b261
🎨 change logo to general genre
RobbiNespu Mar 11, 2022
87e9e46
📝update exampleSite
RobbiNespu Mar 11, 2022
e626e98
🚨 Added missing "news" component for 97d8085a659f
RobbiNespu Mar 11, 2022
ff0ce1c
✨automatic related content (old features but not activate correctly)
RobbiNespu Mar 11, 2022
8392c67
✨shortcode for table
RobbiNespu Mar 11, 2022
20c7669
✨shortcode for twitter (need enhancement to use API directly)
RobbiNespu Mar 11, 2022
c0141df
👷 Attempt for i18n multi languange 🌐
RobbiNespu Mar 11, 2022
5cf81ef
Restyle 👷 Attempt for i18n multi languange 🌐 (#20)
restyled-io[bot] Mar 11, 2022
a2696e6
🌐 Implement i18n multilingual toggle
RobbiNespu Mar 11, 2022
c22706b
🌐 Translate all string
RobbiNespu Mar 11, 2022
db8cb08
Merge pull request #19 from RobbiNespu/feature_Multilingual-i18n
RobbiNespu Mar 11, 2022
b3dc792
⚖ Added my name on license
RobbiNespu Mar 11, 2022
fdccaa8
💥Add missing $color-border-code and $color-text-code
RobbiNespu Mar 12, 2022
226d7f1
💥Added translation
RobbiNespu Mar 12, 2022
51280e7
🌐Added verbose menu for "about"
RobbiNespu Mar 14, 2022
c68c209
✂️ Re-factor params
RobbiNespu Mar 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🌐 Translate all string
RobbiNespu committed Mar 11, 2022
commit c22706bf15e7143b30049a0b654cf1da80425a38
14 changes: 14 additions & 0 deletions i18n/en.yaml
Original file line number Diff line number Diff line change
@@ -6,3 +6,17 @@
translation: "Hugo is a general-purpose website framework. Technically speaking, Hugo is a static site generator. Unlike systems that dynamically build a page with each visitor request, Hugo builds pages when you create or update your content."
- id: mainSectionTitle
translation: "Writings (article)"
- id: contentLicense
translation: "Content licensed under CC BY-NC-SA 4.0."
- id: Copyright
translation: "Copyright"
- id: bestView
translation: "Best viewed with any modern GUI web browsers with resolution of 1280x1024."
- id: disclaimer
translation: "The postings on this site are my own and don't necessarily represent my employer’s positions, strategies or opinions."
- id: findMe
translation: "Find me on"
- id: and
translation: "and"
- id: made_with
translation: "Made with"
14 changes: 14 additions & 0 deletions i18n/ms.yml
Original file line number Diff line number Diff line change
@@ -6,3 +6,17 @@
translation: "Hugo ialah rangka kerja laman web tujuan umum. Dari segi teknikal, Hugo ialah penjana tapak statik. Tidak seperti sistem yang membina halaman secara dinamik dengan setiap permintaan pelawat, Hugo membina halaman apabila anda membuat atau mengemas kini kandungan anda."
- id: mainSectionTitle
translation: "Penulisan (artikel)"
- id: contentLicense
translation: "Kandungan yang dilesenkan di bawah CC BY-NC-SA 4.0."
- id: Copyright
translation: "Hakcipta"
- id: bestView
translation: "Paparan terbaik dengan mana-mana pelayar web GUI moden dengan resolusi 1280x1024."
- id: disclaimer
translation: "Penulisan di halaman ini adalah milik saya dan tidak semestinya mewakili jawatan, strategi atau pendapat majikan saya."
- id: findMe
translation: "Berkenalan dengan saya di"
- id: and
translation: "dan"
- id: made_with
translation: "Dibangunkan dengan"
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
<section id="about">
{{ i18n "description" | $.Page.RenderString }}
{{ if isset .Site.Params "social" }}
<p>Find me on
<p>{{ i18n "findMe" }}
{{ $length := (len .Site.Params.social) }}
{{ range $index, $elem := .Site.Params.social}}
{{ if eq $elem.name "email" }}
@@ -25,7 +25,7 @@
{{ if (lt (add $index 2) $length) }}
{{- print " , " -}}
{{ else if (lt (add $index 1) $length) }}
{{- print " and " -}}
{{- print (i18n "and") -}}
{{ else }}
{{- print "." -}}
{{ end }}
10 changes: 5 additions & 5 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<footer id="footer" noprint>
<div class="footer-left">
Content licensed under CC BY-NC-SA 4.0.
{{ i18n "contentLicense"}}
{{ $copyrightEnabled := true }}
{{ if (isset .Site.Params "copyright") }}
{{ $copyrightEnabled = .Site.Params.Copyright.Enabled | default false }}
{{ end }}
{{ if $copyrightEnabled }}
{{ $startYear := .Site.Params.Copyright.StartYear | default (now.Format "2006") }}
{{ $endYear := .Site.Params.Copyright.EndYear | default (now.Format "2006") }}
Copyright &copy;
{{ i18n "Copyright"}} &copy;
{{ if (eq $startYear $endYear) }} {{ $startYear }} {{ else }} {{ $startYear }}-{{ $endYear }} {{ end }} {{ if .Site.Params.Copyright.Name }} {{ print .Site.Params.Copyright.Name | markdownify }} {{ else }} {{ print .Site.Title }} {{ end }}
{{ end }}
</div>
@@ -25,8 +25,8 @@
&gt;
</div>
<div style="position: absolute;margin-bottom: -45px;padding-top: 15px;display: block;">
Best viewed with any modern GUI web browsers with resolution of 1280x1024.
The postings on this site are my own and don't necessarily represent my employer’s positions, strategies or opinions.<br/><br/>
Made with &#10084;&#65039; and <a href="https://www.gohugo.io">Hugo</a>.<br/><br/>
{{ i18n "bestView" }}
{{ i18n "disclaimer" }}<br/><br/>
{{ i18n "made_with"}} &#10084;&#65039; {{ i18n "and" }} <a href="https://www.gohugo.io">Hugo</a>.<br/><br/>
</div>
</footer>