diff --git a/content/posts/ansible.md b/content/posts/ansible.md new file mode 100644 index 0000000..4dd05ff --- /dev/null +++ b/content/posts/ansible.md @@ -0,0 +1,44 @@ +--- +author: "Roland Thomas Jr" +title: "Ansible Rocks!" +date: "2023-06-08" +description: "" +tags: ["ansible"] +ShowToc: false +ShowBreadCrumbs: false +--- + +What is Ansible? + +```yml +--- +- name: Update web servers + hosts: webservers + remote_user: root + + tasks: + - name: Ensure apache is at the latest version + ansible.builtin.yum: + name: httpd + state: latest + - name: Write the apache config file + ansible.builtin.template: + src: /srv/httpd.j2 + dest: /etc/httpd.conf + +- name: Update db servers + hosts: databases + remote_user: root + + tasks: + - name: Ensure postgresql is at the latest version + ansible.builtin.yum: + name: postgresql + state: latest + - name: Ensure that postgresql is started + ansible.builtin.service: + name: postgresql + state: started +``` + +--- \ No newline at end of file diff --git a/content/posts/welcome.md b/content/posts/welcome.md index 2938aab..002adab 100644 --- a/content/posts/welcome.md +++ b/content/posts/welcome.md @@ -10,4 +10,8 @@ ShowBreadCrumbs: false Welcome to rtj.dev! +```python +print('Hello, World!') +``` + --- \ No newline at end of file diff --git a/hugo.toml b/hugo.toml index 72e792d..366c4bc 100644 --- a/hugo.toml +++ b/hugo.toml @@ -4,22 +4,54 @@ title = 'rtj.dev' paginate = 10 theme = 'PaperMod' +enableEmoji = true + +[params] +author = 'Roland Thomas Jr' +defaultTheme = 'auto' +ShowShareButtons = true +ShowCodeCopyButtons = true +ShowPostNavLinks = true +ShowRssButtonInSectionTermList = true +comments = true +ShowReadingTime = true [params.homeInfoParams] Title = "Roland Thomas Jr \U0001F525" Content = 'Welcome to my blog' [[params.socialIcons]] - name = 'twitter' - url = 'https://twitter.com/rolandthomasjr' + name = 'mastodon' + url = 'https://mastodon.social/@rolandtjr' [[params.socialIcons]] name = 'github' url = 'https://github.com/rolandtjr' + [[params.socialIcons]] + name = 'codewars' + url = 'https://www.codewars.com/users/rolandtjr' + + [[params.socialIcons]] + name = 'hackerrank' + url = 'https://www.hackerrank.com/roland26' + [[params.socialIcons]] name = 'credly' url = 'https://credly.com/users/roland-thomas-jr' + [[params.socialIcons]] + name = 'goodreads' + url = 'https://www.goodreads.com/rolandthomasjr' + + [[params.socialIcons]] + name = 'email' + url = 'mailto:roland@rtj.dev' + + [[params.socialIcons]] + name = 'Rss' + url = 'index.xml' + + [languages.en] languageName = 'English' weight = 1 @@ -42,7 +74,12 @@ weight = 10 [[languages.en.menu.main]] name = "Tags" url = "tags/" -weight = 1 +weight = 10 + +[[languages.en.menu.main]] +name = "Gitea" +url = "https://git.rtj.dev" +weight = 15 [outputs] home = [ "HTML", "RSS", "JSON" ] \ No newline at end of file diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 4ffdb5f..9c3694c 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -101,6 +101,10 @@ stroke-linecap="round" stroke-linejoin="round"> +{{- else if (eq $icon_name "codewars") -}} + + + {{- else if (eq $icon_name "credly") -}}