Montgat. Biblioteca Tirant lo Blanc - Gènius

Ruta de navegació

Busca llibres, música i cinema al catàleg aladí

Biblioteca

Tirant lo Blanc

Dades generals

Adreça:

Ronda dels Països Catalans, s/n.
08390 Montgat

Com arribar-hi

 

Transport públic:
Rodalies Renfe (parada "Montgat") + autobús TUSGSAL B31 o B32 (parada "Biblioteca")

 

Tel.:
934 690 098
a/e:
b.montgat.tb@diba.cat

Director/a:
Mariona Noè Colomer
Data d'inauguració:

26/01/2003

Xarxes socials:

Horaris:

Estiu:
  • Dilluns De 15.30h a 20.30h
  • Dimarts De 15.30h a 20.30h
  • Dimecres De 15.30h a 20.30h
  • Dijous De 10h a 13.30h i de 15.30h a 20.30h
  • Divendres De 10h a 13.30h
  • Dissabte Tancat

Observacions de l'horari:

La biblioteca romandrà tancada tots els festius oficials del 2026 i, a més a més, tancarà o modificarà el seu horari els següents dies:

  • Dilluns 22 i dimarts 23 de juny
  • Del 3 al 23 d'agost

Hivern
  • Dilluns De 15h a 20h
  • Dimarts De 15h a 20h
  • Dimecres De 15h a 20h
  • Dijous De 10h a 13.30h i de 15h a 20h
  • Divendres De 15h a 20h
  • Dissabte De 10h a 13.30h

Observacions de l'horari:

La biblioteca romandrà tancada tots els festius oficials del 2026 i, a més a més, els següents dies:

  • Dijous 2 i dissabte 4 d'abril (Setmana Santa)
  • Dijous 23 d'abril
  • Dissabte 2 de maig
  • Dilluns 25 de maig
  • Dissabte 10 d'octubre
  • Dissabte 5 i dilluns 7 de desembre
  • Del 23 de desembre al 4 de gener 2027

Agenda

No hi ha resultats per a aquesta cerca

Destacats

No hi ha resultats.

Fons especials

No hi ha resultats.

Guies de lectura

No hi ha resultats.

Publicador de continguts

S'ha produït un error mentre es processava la plantilla.
The following has evaluated to null or missing:
==> saxReaderUtil.createXPath("dynamic-element[@field-reference='url']/dynamic-content").selectSingleNode(rootElement)  [in template "10901#10934#415529031" at line 19, column 26]

----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign url = saxReaderUtil.createXPa...  [in template "10901#10934#415529031" at line 19, column 13]
----
1<#assign DlAppServiceUtil = staticUtil["com.liferay.document.library.kernel.service.DLAppServiceUtil"]/> 
2<#assign JSONFactoryUtil = staticUtil["com.liferay.portal.kernel.json.JSONFactoryUtil"]/> 
3<#assign DLFileEntryLocalServiceUtil = staticUtil["com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil"]/> 
4<#assign DlAppServiceUtil = staticUtil["com.liferay.document.library.kernel.service.DLAppServiceUtil"] /> 
5<#assign portletId = themeDisplay.getPortletDisplay().getId() /> 
6<#assign cont=0> 
7 
8<div class="destacatsSup container radius-container py-4 ${themeDisplay.portletDisplay.id}"> 
9	<div class="row"> 
10        <#list entries as curEntry> 
11            <#assign display=""> 
12            <#assign fila1=""> 
13            <#assign fila2=""> 
14            <#assign assetRenderer=curEntry.getAssetRenderer()/> 
15            <#assign journalArticle=assetRenderer.getAssetObject()/> 
16            <#assign document = saxReaderUtil.read(journalArticle.getContentByLocale(locale))> 
17            <#assign rootElement = document.getRootElement()>  
18            <#assign title=saxReaderUtil.createXPath("dynamic-element[@field-reference='title']/dynamic-content").selectSingleNode(rootElement).getStringValue()> 
19            <#assign url=saxReaderUtil.createXPath("dynamic-element[@field-reference='url']/dynamic-content").selectSingleNode(rootElement).getStringValue()> 
20            <#assign description=saxReaderUtil.createXPath("dynamic-element[@field-reference='description']/dynamic-content").selectSingleNode(rootElement).getStringValue()> 
21            <#assign highlightedType=saxReaderUtil.createXPath("dynamic-element[@field-reference='highlightedType']/dynamic-content").selectSingleNode(rootElement).getStringValue()> 
22            <#if url=""> 
23                <#assign url="/noticies/-/contingut/${groupId}/${journalArticle.getUrlTitle(locale)}"> 
24            </#if> 
25            <#assign imgSrc=""> 
26            <#assign imageFieldSet=saxReaderUtil.createXPath("dynamic-element[@field-reference='imageFieldSet']").selectSingleNode(rootElement)> 
27 
28            <#assign imageFieldSetNode = rootElement.selectSingleNode("dynamic-element[@field-reference='imageFieldSet']")> 
29            <#if imageFieldSetNode??> 
30            	<#assign imageNode = imageFieldSetNode.selectSingleNode("dynamic-element[@field-reference='image']")> 
31            	<#assign urlExternaNode = imageFieldSetNode.selectSingleNode("dynamic-element[@field-reference='urlExterna']")> 
32            	 
33            	<#if imageNode?? && validator.isNotNull(imageNode.getStringValue())> 
34            		<#assign imatgeJson=JSONFactoryUtil.createJSONObject(imageNode.getStringValue())> 
35            	</#if> 
36            	<#if urlExternaNode?? && validator.isNotNull(urlExternaNode.getStringValue())> 
37            		<#assign imgSrc=urlExternaNode.getStringValue()> 
38            	</#if> 
39            </#if> 
40            	 
41            <#if cont gte 8> 
42                <#assign display="d-none"> 
43            </#if> 
44            <#if cont gte 8 && cont lt 12> 
45                <#assign fila1="fila1"> 
46            </#if> 
47            <#if cont gte 12> 
48                <#assign fila2="fila2"> 
49            </#if> 
50            <div class="col-xl-3 col-md-6 col-12 mb-4 ${display} ${fila1} ${fila2}" > 
51                <div class="d-flex flex-column"> 
52                    <div class="imatge mb-2"> 
53                        <#if imgSrc!=""> 
54                            <img class="w-100 h-100" loading="lazy" src="${imgSrc}" alt="Portada ${title}"> 
55                        </#if> 
56                        <#if imatgeJson.has("uuid") && imatgeJson.has("groupId")> 
57                            <#assign imagenDlFile = DLFileEntryLocalServiceUtil.getDLFileEntryByUuidAndGroupId(imatgeJson.getString("uuid")?string,imatgeJson.getLong("groupId")?number)>                     
58                            <@adaptive_media_image["img"]  class="w-100 h-100" fileVersion=DlAppServiceUtil.getFileEntry(imagenDlFile.fileEntryId?number).getFileVersion()/> 
59                        </#if> 
60                    </div> 
61                    <a class="font-weight-bold font-18 mb-1" href="${url}">${title}</a> 
62                    <p class="line-clamp-3 mb-0"> 
63                        ${description} 
64                    </p> 
65                </div> 
66            </div> 
67            <#assign cont++> 
68		</#list> 
69	</div> 
70    <div class="mt-3 d-flex justify-content-end"> 
71        <button type="button" class="botonMesDestacats w-auto"><@liferay.language key="publisher.veuremes" /></button> 
72    </div>	 
73</div> 
74<script> 
75var general=0; 
76$(".destacatsSup.${themeDisplay.portletDisplay.id} .botonMesDestacats").click(function(){ 
77  if (general==0) { 
78    $(".fila1").removeClass("d-none"); 
79    general=general+1; 
80
81  else if(general==1){ 
82    $(".fila2").removeClass("d-none"); 
83    general=general+1; 
84    $(".botonMesDestacats").text("<@liferay.language key="publisher.veuremenys" />"); 
85
86  else { 
87    $(".fila1").addClass("d-none"); 
88    $(".fila2").addClass("d-none"); 
89    general=0; 
90    $(".botonMesDestacats").text("<@liferay.language key="publisher.veuremes" />"); 
91
92}); 
93</script> 
94<style> 
95		#portlet_${portletId} .portlet-content {padding-top: 10px; border-radius:8px;} 
96	 
97    .botonMesDestacats{ 
98        display: block; 
99        font-family: "Lato", sans-serif; 
100        border: 1px solid #811424; 
101        background: #fff; 
102        color: #811424; 
103        padding: 10px; 
104        font-size: 18px; 
105        margin-bottom: 15px; 
106
107    .botonMesDestacats:focus{ 
108        background: #fff; 
109        color: #811424; 
110
111    .botonMesDestacats:hover{ 
112        background: #811424; 
113        color: #fff; 
114        text-decoration: none; 
115
116    @media (min-width: 575.99px) { 
117        .destacatsSup .imatge{height:155px;} 
118
119    .destacatsSup .font-18{font-size:18px;} 
120	.destacatsSup	.line-clamp-3{ 
121		display: -webkit-box; 
122    -webkit-line-clamp: 3; 
123    -webkit-box-orient: vertical; 
124    overflow: hidden; 
125
126	.btn-temporal{ 
127		background: #811424 !important; 
128    color: #fff !important; 
129    text-decoration: none !important; 
130		display: block !important; 
131    font-family: 'Lato',sans-serif !important; 
132    border: 1px solid #811424 !important; 
133    padding: 10px; 
134    font-size: 18px; 
135	}</style>