diff --git a/config.toml b/config.toml index bbd1bcf..f4e0826 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = "https://miti99.eu.org" +baseURL = "/" title = "miti99" theme = "hugo-coder" languageCode = "en" @@ -8,97 +8,24 @@ pygmentsStyle = "bw" pygmentsCodeFences = true pygmentsCodeFencesGuessSyntax = true enableEmoji = true -# Enable Disqus comments -disqusShortname = "tiennm99" - -enableGitInfo = true [params] author = "MiTi99" -# license = 'CC BY-SA-4.0' -description = "Blog của Tiến" +description = "MiTi99's personal website" keywords = "blog,developer,personal" -info = ["Nguyễn Minh Tiến", "TienNM5"] -avatarURL = "images/avatar.jpg" -gravatar = "minhtienit99@gmail.com" +info = ["Developer", "Wibu"] +avatarURL = "img/avatar.jpg" dateFormat = "January 2, 2006" since = 2019 -# Git Commit in Footer, uncomment the line below to enable it commit = "https://github.com/tiennm99/miti99.eu.org/tree/" -# Right To Left, shift content direction for languagues such as Arabic rtl = false -# Specify light/dark colorscheme -# Supported values: -# "auto" (use preference set by browser) -# "dark" (dark background, light foreground) -# "light" (light background, dark foreground) (default) colorScheme = "auto" -# Hide the toggle button, along with the associated vertical divider hideColorSchemeToggle = false -# Series see also post count maxSeeAlsoItems = 5 -# Custom CSS customCSS = [] -# Custom SCSS, file path is relative to Hugo's asset folder (default: {your project root}/assets) customSCSS = [] -# Custom JS customJS = [] -# If you want to use fathom(https://usefathom.com) for analytics, add this section -# [params.fathomAnalytics] -# siteID = "ABCDE" -# serverURL = "analytics.example.com" # Default value is cdn.usefathom.com, overwrite this if you are self-hosting - -# If you want to use plausible(https://plausible.io) for analytics, add this section -# [params.plausibleAnalytics] -# domain = "example.com" -# serverURL = "analytics.example.com" # Default value is plausible.io, overwrite this if you are self-hosting or using a custom domain - -# If you want to use goatcounter(https://goatcounter.com) for analytics, add this section -# [params.goatCounter] -# code = "code" - -# If you want to use Cloudflare Web Analytics(https://cloudflare.com) for analytics, add this section -# [params.cloudflare] -# token = "token" - -# If you want to use Matomo(https://matomo.org) for analytics, add this section -# [params.matomo] -# siteID = "ABCDE" # Default value is "1", overwrite this if you are cloud-hosting -# serverURL = "analytics.example.com" # For cloud-hosting, use provided URL, e.g. example.matomo.cloud - -# If you want to use Google Tag Manager(https://analytics.google.com/) for analytics, add this section -# [params.googleTagManager] -# id = "gid" - -# If you want to use Application Insights(https://azure.com/) for analytics, add this section -# [params.applicationInsights] -# connectionString = "connectionString" - -# If you want to implement a Content-Security-Policy, add this section -[params.csp] -childsrc = ["'self'"] -fontsrc = ["'self'", "https://fonts.gstatic.com", "https://cdn.jsdelivr.net/"] -formaction = ["'self'"] -framesrc = ["'self'"] -imgsrc = ["'self'"] -objectsrc = ["'none'"] -stylesrc = [ - "'self'", - "'unsafe-inline'", - "https://fonts.googleapis.com/", - "https://cdn.jsdelivr.net/" -] -scriptsrc = [ - "'self'", - "'unsafe-inline'", - "https://www.google-analytics.com", - "https://cdn.jsdelivr.net/" -] -prefetchsrc = ["'self'"] -# connect-src directive – defines valid targets for to XMLHttpRequest (AJAX), WebSockets or EventSource -connectsrc = ["'self'", "https://www.google-analytics.com"] - [taxonomies] category = "categories" series = "series" @@ -108,38 +35,22 @@ author = "authors" [[params.social]] name = "Github" icon = "fa fa-2x fa-github" -weight = 1 url = "https://github.com/tiennm99/" [[params.social]] name = "Gitlab" icon = "fa fa-2x fa-gitlab" -weight = 2 url = "https://gitlab.com/miti99/" [[params.social]] -name = "Twitter" -icon = "fa fa-2x fa-twitter" -weight = 3 -url = "https://twitter.com/tienthieusac/" - -[[params.social]] -name = "LinkedIn" -icon = "fa fa-2x fa-linkedin" -weight = 4 -url = "https://www.linkedin.com/in/miti99/" - -[[params.social]] -name = "Medium" -icon = "fa fa-2x fa-medium" -weight = 5 -url = "https://medium.com/@johndoe" +name = "Facebook" +icon = "fa fa-2x fa-facebook" +url = "https://facebook.com/miti99" [[params.social]] name = "RSS" icon = "fa fa-2x fa-rss" -weight = 6 -url = "https://myhugosite.com/index.xml" +url = "index.xml" rel = "alternate" type = "application/rss+xml" @@ -148,50 +59,20 @@ languageName = ":uk:" [[languages.en.menu.main]] name = "About" -weight = 1 +weight = 2 url = "about/" [[languages.en.menu.main]] -name = "Blog" -weight = 2 -url = "posts/" - -[[languages.en.menu.main]] -name = "Projects" +name = "Contact" weight = 3 -url = "projects/" - -[[languages.en.menu.main]] -name = "Contact me" -weight = 5 url = "contact/" -#[languages.pt-br] -#languageName = ":brazil:" -#title = "João Ninguém" +[[languages.en.menu.main]] +name = "CV" +weight = 4 +url = "https://cv.miti99.eu.org/miti99.pdf" -#[languages.pt-br.params] -#author = "João Ninguém" -#info = "Full Stack DevOps e Mágico" -#description = "Sítio pessoal de João Ninguém" -#keywords = "blog,desenvolvedor,pessoal" - -#[[languages.pt-br.menu.main]] -#name = "Sobre" -#weight = 1 -#url = "about/" - -#[[languages.pt-br.menu.main]] -#name = "Blog" -#weight = 2 -#url = "posts/" - -#[[languages.pt-br.menu.main]] -#name = "Projetos" -#weight = 3 -#url = "projects/" - -#[[languages.pt-br.menu.main]] -#name = "Contato" -#weight = 5 -#url = "contact/" +[[languages.en.menu.main]] +name = "Posts" +weight = 1 +url = "posts/" diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..b00a3ec --- /dev/null +++ b/content/about.md @@ -0,0 +1,14 @@ ++++ +title = "About Me" +slug = "about" ++++ + +Xin chào, mừng bạn đã đến với trang của mình. + +Mình tên Minh Tiến, sinh năm 1999 (vì vậy blog là miti99 :)))), sinh viên ngành Khoa học Máy tính khóa 2017 tại trường Đại học Bách Khoa Tp.HCM. + +Mình là một người thích Linux và kiểu mã nguồn mở như thế, hệ điều hành mình đang sử dụng là Archlinux và rất là thích nó. + +Blog này được tạo ra với mục đích chia sẻ trải nghiệm của mình, cũng như mẹo để giải quyết một số vấn đề mà mình gặp phải trong quá trình sử dụng Archlinux nhé. + +Các liên kết hữu ích có tại [trang chủ](/) của mình. diff --git a/content/contact.md b/content/contact.md new file mode 100644 index 0000000..b3f3ef0 --- /dev/null +++ b/content/contact.md @@ -0,0 +1,10 @@ ++++ +title = "Contact" +slug = "contact" ++++ + +Liên hệ với mình tại một trong các địa chỉ sau: + +- [Gmail](mailto:minhtienit99@gmail.com) +- [Outlook](mailto:tiennm99@outlook.com) +- [Facebook](https://fb.com/miti99) diff --git a/static/images/N90.jpg b/static/images/N90.jpg deleted file mode 100644 index 7d303b2..0000000 Binary files a/static/images/N90.jpg and /dev/null differ diff --git a/static/images/avatar.jpg b/static/images/avatar.jpg deleted file mode 100644 index 0431831..0000000 Binary files a/static/images/avatar.jpg and /dev/null differ diff --git a/static/img/avatar.jpg b/static/img/avatar.jpg new file mode 100644 index 0000000..88f97ba Binary files /dev/null and b/static/img/avatar.jpg differ