Skip to content

Commit

Permalink
Merge pull request #159 from mcruzdev/alias-blog
Browse files Browse the repository at this point in the history
Add aliases blog post
  • Loading branch information
ia3andy authored Oct 9, 2024
2 parents 0781641 + 95d2804 commit 7fae938
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
9 changes: 8 additions & 1 deletion blog/site/_data/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,11 @@ ia3andy:
emailhash: "444d54a22db43a0a622180b1ca11dedb"
job_title: Principal Software Engineer
twitter: "ia3andy"
bio: "I am happy to wake up every day and make the Java world a better place with Quarkus. I am mostly a backend developer but I am not that bad at doing web apps either in my spare time, in fact, you can be the judge of that since Roq is my baby :-)"
bio: "I am happy to wake up every day and make the Java world a better place with Quarkus. I am mostly a backend developer but I am not that bad at doing web apps either in my spare time, in fact, you can be the judge of that since Roq is my baby :-)"
mcruzdev:
name: "Matheus Cruz"
email: "[email protected]"
emailhash: "30e8dc8556f1557346b2ef93daac4b9c"
job_title: Senior Software Engineer
twitter: "mcruzdev"
bio: "I am a passionate learner, open-source enthusiast, and Java developer with a drive for continuous improvement. When I’m not coding, you can find me on the Brazilian Jiu Jitsu mats, playing the guitar, or exploring new challenges. I believe in the power of community, collaboration, and creativity—both in and outside of tech."
41 changes: 41 additions & 0 deletions blog/site/_posts/2024-10-09-aliases.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
layout: post
title: The second Roq plugin is for making your life better!
img: https://images.unsplash.com/photo-1691210781188-b8c69945e620?q=80&w=1899&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D
description: We introduced a way to use a alias for redirecting you to your blog post!
author: mcruzdev
tags: plugin, frontmatter, guide, cool-stuff, short-url
aliases: [aliases-very-cool, aliases-4-ever, aliases-again]
---

In the last post, we saw how easy it is to use Quarkus for static site generator (@ia3andy's was right!). I am excited to share that we now have a new plugin that allows you to set up redirects for your blog posts! For this post, I've created three aliases.

- [aliases-very-cool](/aliases-very-cool)
- [aliases-4-ever](/aliases-4-ever)
- [aliases-again](/aliases-again)

> If you click on at least one alias, you will be redirected here again!
**And how did I work my magic to set this up?**

Step 1: Add the aliases plugin in your dependencies file:

```xml
<dependency>
<groupId>io.quarkiverse.roq</groupId>
<artifactId>quarkus-roq-plugin-aliases</artifactId>
<version>...</version>
</dependency>
```

Step 2: Add a new entry `aliases: [name-of-aliases-here]` in your FM data.

In this blog post I used the following FM:

```markdown
...
aliases: [aliases-very-cool, aliases-4-ever, aliases-again]
...
```

For more info [check out the doc](https://docs.quarkiverse.io/quarkus-roq/dev/quarkus-roq-plugins.html#_roq_plugin_aliases).

0 comments on commit 7fae938

Please sign in to comment.