summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro <alex.mac.fon@gmail.com>2024-08-14 12:42:59 -0600
committerAlejandro <alex.mac.fon@gmail.com>2024-08-14 12:42:59 -0600
commit38c923dacfe2154d5616e60899dd7a266f9ec041 (patch)
tree2877ca0c3762a69b7fa2ce646b11f3067d3d00ca
parent4fbb8fa916baa74e214befcb598db92746abbd3b (diff)
added: listing common subjects shortcode
-rw-r--r--content/es/academia/licenciatura/ingenieria-de-software.md3
-rw-r--r--layouts/shortcodes/list-common-subjects.html6
2 files changed, 9 insertions, 0 deletions
diff --git a/content/es/academia/licenciatura/ingenieria-de-software.md b/content/es/academia/licenciatura/ingenieria-de-software.md
index 06fb723..b2a8b22 100644
--- a/content/es/academia/licenciatura/ingenieria-de-software.md
+++ b/content/es/academia/licenciatura/ingenieria-de-software.md
@@ -32,6 +32,9 @@ El Ingeniero de Software desarrollará sistemas de información que solucionará
# Programa
## Semestre 1
+
+{{< list-common-subjects >}}
+
## Semestre 2
## Semestre 3
## Semestre 4
diff --git a/layouts/shortcodes/list-common-subjects.html b/layouts/shortcodes/list-common-subjects.html
new file mode 100644
index 0000000..23de35f
--- /dev/null
+++ b/layouts/shortcodes/list-common-subjects.html
@@ -0,0 +1,6 @@
+<ul>
+{{ $p := where site.Pages "Params.tags" "intersect" (slice "common-subject") }}
+{{ range $p }}
+<li>{{.Title}}</li>
+{{end}}
+</ul>